AW: Generate XML

2009-05-11 Thread Knuplesch, Juergen
Why not use XSLT to create XML out of XML? Or you put some placeholders into your XML and use the replace task... -- Jürgen Knuplesch -Ursprüngliche Nachricht- Von: raghu guru [mailto:raghure...@gmail.com] Gesendet: Montag, 11. Mai 2009 20:30 An: user@ant.apache.org Betreff: Generat

Re: AW: if files have been copied physically, then execute some target

2009-05-11 Thread walki2
thx a lot, I got it working. -- View this message in context: http://www.nabble.com/if-files-have-been-copied-physically%2C-then-execute-some-target-tp23452004p23491324.html Sent from the Ant - Users mailing list archive at Nabble.com. --

Re: Generate XML

2009-05-11 Thread laurent . morissette
--Message d'origine-- De: James Fuller À: Ant Users List Répondre à: Ant Users List Objet: Re: Generate XML Envoyé: 11 mai, 2009 14:52 On Mon, May 11, 2009 at 8:30 PM, raghu guru wrote: > Hi All, > > Is there any task available to generate / edit the xml file. 3rd party xmltask task wil

Re: Generate XML

2009-05-11 Thread James Fuller
On Mon, May 11, 2009 at 8:30 PM, raghu guru wrote: > Hi All, > > Is there any task available to generate / edit the xml file. 3rd party xmltask task will do that hth, Jim Fuller > > This is what i'mt rying to do, while building application i want to put some > information on the fly like, time,

Generate XML

2009-05-11 Thread raghu guru
Hi All, Is there any task available to generate / edit the xml file. This is what i'mt rying to do, while building application i want to put some information on the fly like, time,date,source code baseline being built, deploytime into some xml document. this i want to keep on editing for the life

Re: Running ant programmatically using API

2009-05-11 Thread robert lazarski
On Mon, May 11, 2009 at 11:51 AM, Cole, Derek E wrote: > Hi All. If I am creating an ANT project programmatically with the Java > API, and I want my invoked instance of Ant to have the same classpath as > my system, how can I do this? > > > > I have tried a few different things, but none seem to w

Re: hang up even inputstring=""

2009-05-11 Thread Eric Fetzer
In explaination, psexec OWNS stderr and stdout.  In a psexec command line, you CANNOT redirect stderr or stdout to another file.  Thus you use psexec to call another process that does the redirecting of stdout or stderr. From: Eric Fetzer To: Ant Users List

Re: hang up even inputstring=""

2009-05-11 Thread Eric Fetzer
It looks like you're using a batch file to call psexec and run the process on another machine.  That's pretty much the same thing as running psexec from exec to run the process on the other machine.  If you want your file output redirect to work: 1.  Create a bat file that runs the program you

Re: hang up even inputstring=""

2009-05-11 Thread David Weintraub
The only solution is not to call an that waits for input when that input won't be happening. Otherwise, the task won't time out. I guess the question is what are you trying to do with the task, and is there another way around this without necessarily waiting for input. What does the "radia.bat"

Re: if files have been copied physically, then execute some target

2009-05-11 Thread David Weintraub
Are you willing to use the Ant Contrib's task? This will compare a set of targets vs. a set of sources and run the task only if the sources and targets match. You can also set a property to set if the targets are out of date when compared to the sources. For example: <>

Running ant programmatically using API

2009-05-11 Thread Cole, Derek E
Hi All. If I am creating an ANT project programmatically with the Java API, and I want my invoked instance of Ant to have the same classpath as my system, how can I do this? I have tried a few different things, but none seem to work. If there are any javac tasks in my build.xml files, it seems