Re: How to iterate in Ant?

2003-07-29 Thread Antoine Levy-Lambert
Have a look at the task of ant-contrib. Cheers, Antoine - Original Message - From: "Roman Rytov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 29, 2003 9:57 PM Subject: How to iterate in Ant? Is there any way to iterate a collection? Let's say I wanna call a task fo

Re: ftp task

2003-07-29 Thread Antoine Levy-Lambert
- Original Message - From: "Blanchet Samuel" <[EMAIL PROTECTED]> Sent: Tuesday, July 29, 2003 3:17 PM > I'm not able to get file with the FTP task. > > java.lang.NoSuchMethodError > at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles( You need to have a look in the a

RE: [Propertyfile task] How to not escape :

2003-07-29 Thread Iwan
That works, thanks. Iwan > -Original Message- > From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] > Sent: Monday, July 28, 2003 2:18 PM > To: Ant Users List > Subject: Re: [Propertyfile task] How to not escape : > > > You can try alternatively the task > > property1=${myurl} > ...

RE: how to start jboss in the ant

2003-07-29 Thread Iwan
Here's how I did it using the spawn-task that was posted recently. +-+ | | | S T A R T I N G J B O S S | | | +---

RE: question regarding WSAD specific ant tasks

2003-07-29 Thread Lopez, William
Matthias: Not sure if you have your answer... We do the same: PVCS get, build, deploy (except using WSAD 4.0.3)...because of the behind the scenes manipulation that the deploy tool does we had to add an extra step for the developer to do. We created an extra folder in PVCS for them to place the WA

Re: How to iterate in Ant?

2003-07-29 Thread Sebastien Blanc
Hi Roman. basename and associated dirname tasks shd do that. FYI I usally use xmlproperty task to read in the XML file the xslt sheet to use for transformation. seb. Roman Rytov wrote: > > > Btw, ant-contrib works Ok for such a simple task and I'm fine > > with it (unless there is no 'standard' s

RE: How to iterate in Ant?

2003-07-29 Thread Roman Rytov
> Btw, ant-contrib works Ok for such a simple task and I'm fine > with it (unless there is no 'standard' solution). > But I met another problem. There is no kind of substring funtion so I can't take off just a file name out of the full path, can I?

Re: problem getting junit task to find classes

2003-07-29 Thread Antoine Levy-Lambert
try to add a fork="true" attribute for your junit class. Also, if problems persist, run ant -verbose or ant -debug to find out more. You can send us the output of ant -verbose to have a look at. Cheers, Antoine - Original Message - From: "James Black" <[EMAIL PROTECTED]> To: "'Ant Users Lis

Returning a 0 or 1 to a shell script from Ant

2003-07-29 Thread Billy Bacon
Is this possible? I have a crontab that executes a shell script (nightly build) and in my shell script I make a few calls to Ant targets. I've set up my build to fail if my unit tests do not pass successfully but how do I tell the shell script not to continue to WAR up the application and deploy