AW: ANT todir= exception

2005-11-03 Thread Jan.Materne
Hi Chida, check your exact spelling - especially whitespaces: > --^- >/home/app/build.xml:110: java.lang.NullPointerException What is the stacktrace of the NPE? cheers Jan

Re: Problem using ant, subant for Big Projects

2005-11-03 Thread Stefan Bodewig
On Thu, 3 Nov 2005, aubie au <[EMAIL PROTECTED]> wrote: > In main/build.xml, I call the build targets of all > subN using ant task(I tried subant task also). > The problem is, when I run all subN from > main/build.xml, ant creates a separate classloader > (AntClassLoader2) each time i call task.

Re: help to convert makefile to build.xml

2005-11-03 Thread Sethu Prasad G
Hi Steve, Actually I conveyed the same to my team, but am helpless,, its ok, Before thinking of Ant, How to know the functional details of all makefiles in a project without going for any realtime build -- like the available variables, includes, dependencies, etc,, Is there any visual

Problem using ant, subant for Big Projects

2005-11-03 Thread aubie au
This might be a common problem you might have seen. My project structure is like this. main/ build.xml config/common-targets.xml sub1/build.xml ... subN/build.xml In common-targets.xml, I have my own taskdef like this Each subN/build.xml has something like thi

RE: A newbie question: how not to do anything

2005-11-03 Thread Anderson, Rob (Global Trade)
> Most make systems I'm familiar with have a "don't do it; just > tell me what you would do if you were going to do anything." > This is a really useful service when you're debugging a > script, just to see if you've got the logic/parameters right. > I can't find that in Ant. A serious drawback

Re: A newbie question: how not to do anything

2005-11-03 Thread Matt Benson
--- "Marc H. Graham" <[EMAIL PROTECTED]> wrote: > Most make systems I'm familiar with have a "don't do > it; just tell me > what you would do if you were going to do anything." > This is a really > useful service when you're debugging a script, just > to see if you've got > the logic/parameters ri

A newbie question: how not to do anything

2005-11-03 Thread Marc H. Graham
Most make systems I'm familiar with have a "don't do it; just tell me what you would do if you were going to do anything." This is a really useful service when you're debugging a script, just to see if you've got the logic/parameters right. I can't find that in Ant. A serious drawback, I think. Any

Cpptasks help

2005-11-03 Thread Marc H. Graham
Is there a specialized help group/archive for this topic (cc)? No matter what I do, it (cc) always wants to recompile everything in the source file list. In other words, there's no dependency checking. Is there something I'm missing? Marc H. Graham

ANT todir= exception

2005-11-03 Thread Chidananda Jayakeerti
Hello all, I'm new to ANT. I'm trying to generate checksum using the following syntax, throws /home/app/build.xml:110: java.lang.NullPointerException If i remove todir="${build.dest}" parameter, everything compiles. I'm using Ant 1.6.5 on Sun JDK 1.5.0_05. Any suggestions? Thanks, Chida

Re: delta build in ant.

2005-11-03 Thread Antoine Levy-Lambert
Hello, delta builds are tricky. the following factors can make a rebuild necessary : 1) changes in the build tools or environment (Operating System, JDK, ant, external tasks used by your build, ...) 2) change in the APIs of the jars your projects are using, 3) change in the sources of the project

Re: help to convert makefile to build.xml

2005-11-03 Thread Steve Loughran
Sethu Prasad G wrote: Hi Steve, I understand your valuable points,, This working project itself is a migration kind of doing,, already the product uses the make only,, The proposal is -- at the time of migrating the product to a recent version of servers ( ex : J2EE, LDAP, Database etc,, )

RE: ssh issue with ant

2005-11-03 Thread Marcus Zafarano
Also my problem was kinda my fault. In the last arg value I forgot to put the user "dssjava@" in there, so from my dedicated build system which uses the user scm and the env I was deploying to used dssjava, and not scm, it was not pick

RE: ssh issue with ant

2005-11-03 Thread Marcus Zafarano
Here is a code snip, but there are things you have do on the server sides: 1) Setup a user like scm 2) Setup a key on the two systems for that user 3) Setup sudo on the system with that usr 4) Setup ANT 5) Setup Source control system requirements (We use P4, can use CC, StarTeam, etc) 6) Setup .pro

Re: ssh issue with ant

2005-11-03 Thread Bob Noonan
Since I am having similar problems using ssh/scp from within an ant file, I would be grateful if you could elaborate. Thanks, Bob Noonan On Nov 2, 2005, at 5:29 PM, Marcus Zafarano wrote: Well, I found the problem. -Original Message- From: Marcus Zafarano Sent: Wednesday, November

delta build in ant.

2005-11-03 Thread hind.lwahhabi
Hello all, Is there a way to perform delta builds in apache ant?Any real-life experiences over there? Any help/info would be welcome! best regards; Hind Lwahhabi. This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If y

Re: Substring

2005-11-03 Thread Dale Anson
Yes, that is correct. It is mentioned in the task documentation [1]. Dale [1] http://antelope.tigris.org/nonav/docs/manual/bk03ch13.html Rebhan, Gilbert wrote: Hi, Dale, in your example below = Property Prop2 is already set, so if you're able to write = does it mean, that the StringU

AW: exec task problem

2005-11-03 Thread Jan.Materne
Hello Andrei, i did a little bit googling and these could be interesting for you: http://cargo.codehaus.org/ Cargo is a thin wrapper around existing J2EE containers. It provides different APIs to easily manipulate containers. http://www.jboss.org/?module=bb&op=viewtopic&t=66570&start=0 Ryan C

exec task problem

2005-11-03 Thread Andrei
I have an ant task that starts and stops jboss: checkeveryunit="second"> http://localhost:9080/app"/> the problem is that the ant task never finish execution, although the jboss is stopped. I think

Re: help to convert makefile to build.xml

2005-11-03 Thread Sethu Prasad G
Hi Steve, I understand your valuable points,, This working project itself is a migration kind of doing,, already the product uses the make only,, The proposal is -- at the time of migrating the product to a recent version of servers ( ex : J2EE, LDAP, Database etc,, ) we want to do the same

Re: Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-03 Thread Lawrie Gallardo
Hi Steve, From: Steve Loughran <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: Ant Users List Subject: Re: Example Ant 1.6 build files for project with multiple WAR and JAR modules? Date: Thu, 03 Nov 2005 11:33:13 + Lawrie Gallardo wrote: Hi Ron, I have searched through the Apache

Re: help to convert makefile to build.xml

2005-11-03 Thread Steve Loughran
Sethu Prasad G wrote: Jeff, I feel sorry for my mistake, --- the things at my end are like what is the equivlent of make's strip function in Ant and the like --- working on an urgent release --- which makes me to write to this list. first rule of successful projects: never change big things l

Re: Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-03 Thread Steve Loughran
Lawrie Gallardo wrote: Hi Ron, I have searched through the Apache projects, but none of them seem to do anything like I am trying to do with Ant (i.e. project containing multiple WAR and JAR modules awith common build file which the individual module's build files import and override, plus a