Re: Re :Re: Building Dependent targets

2007-05-28 Thread David Weintraub
It was a bit hard to read your email. Please set your email to send only text formated emails to this list. Otherwise, they get munged and it's hard to see what you're doing. I've reformatted your email below to help make it clear what you were showing as an example: In your example, you use the

Re :Re: Building Dependent targets

2007-05-28 Thread query
To avoid rebuilding of targets if they occur as dependent targets for many targets, I tried using task.My requirement is that I am having different targets in all build files for copying source,compiling java files and creating jar files. Each build file will be having all the above

Re: how to get a process id from a spawned task?

2007-05-28 Thread Prashant Reddy
If you are OK with using JDK 1.5, you could use 'jps' command that is shipped with every JDK. See : http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jps.html Output of jps on my computer : $ ~/programs/java/jdk1.5.0_10/bin/jps 20608 Jps 6550 Main You could perhaps use ANT's task to run this c

how to get a process id from a spawned task?

2007-05-28 Thread Jay Dickon Glanville
Hello all. Is there a way to get the process id (I'm dealing with a windows system here, but I believe the question could be asked of both windows an UNIX families) of a task that is spawned? I have a java task: and I'd like to be able to echo the process id to the user (so that they can kill

Re :Re: Building Dependent targets

2007-05-28 Thread query
To avoid rebuilding of targets if they occur as dependent targets for many targets, I tried using task.My requirement is that I am having different targets in all build files for copying source,compiling java files and creating jar files. Each build file will be having all the above