RE: Conditional Statement

2003-07-30 Thread Parnell, Giles (AU - Sydney)
I asked the same question a couple of hours ago it appears to be abit of a topic at the moment. Heres the answer i got. Seems to work fine. > Ant-contrib and Antelope both have tasks that do what you want. > There have been several message regarding these external projects today > and yester

Re: How to overwrite only old files?

2003-07-30 Thread Stefan Bodewig
On Thu, 31 Jul 2003, Roman Rytov <[EMAIL PROTECTED]> wrote: > In a command COPY how to specify to overwrite dest. files if they're > older than the source files? This is 's default behavior. Stefan - To unsubscribe, e-mail: [EM

Re: Conditional Statement

2003-07-30 Thread Stefan Bodewig
On Wed, 30 Jul 2003, Matt <[EMAIL PROTECTED]> wrote: > How do we add "if-else" statements in Ant. I need to compare two > variables and execute a task if they are not equal and abort with an > error message if they are equal. property1 and property2 must not be equal. Stefan -

Re: Bug in /?

2003-07-30 Thread Stefan Bodewig
On Wed, 30 Jul 2003, Matthias P. <[EMAIL PROTECTED]> wrote: > > > My knowledge about Windows and cmd.exe is far far far below your average user's knowledge. On a Unix system, if you invoke the shell with -c the rest after this is supposed to be a single argument. This would be something li

Re: Returning a 0 or 1 to a shell script from Ant

2003-07-30 Thread Stefan Bodewig
On Wed, 30 Jul 2003, Billy Bacon <[EMAIL PROTECTED]> wrote: > Am I doing anything wrong here? What do you get with this snippet , | cd $GKECMS | ant deploy.test | echo $? ` Stefan - To unsubscribe, e-mail: [EMAIL PROTE

RE: Using the same targets across multiple platforms

2003-07-30 Thread Parnell, Giles (AU - Sydney)
Thanks for the help I've included the Ant-contrib.jar into my source. I need to keep it separate from the ant lib, so have included the jar in a separate dir to the ant lib dir. I've included the necessary statements into my build script to pick up the new jar: My problem now is th

Re: does not support 'if' attribute

2003-07-30 Thread Billy Bacon
Thanks! On 7/30/03 11:59 AM, "David McTavish" <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > d. > > -Original Message- > From: Billy Bacon [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 30, 2003 1:56 PM > To: Ant Users List > Subject: Re: does not support 'if' attri

RE: does not support 'if' attribute

2003-07-30 Thread David McTavish
d. -Original Message- From: Billy Bacon [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 1:56 PM To: Ant Users List Subject: Re: does not support 'if' attribute Not sure what you mean here EJ :-/ Could you explain a little bit more? What does expressly cre

Re: does not support 'if' attribute

2003-07-30 Thread Billy Bacon
Not sure what you mean here EJ :-/ Could you explain a little bit more? What does expressly create the file mean? Do you mean create a target which contains an 'if' attribute and call the target from my original target? Then the target which contains the 'if' attribute would decide if it executes

Re: Bug in /?

2003-07-30 Thread Antoine Levy-Lambert
cut your command line in single arguments instead of the single I hope it works, otherwise it is a bug, Cheers, Antoine - Original Message - From: "Matthias P." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 30, 2003 5:48 PM Subject: Bug in /? > Hi, > > as wr

Re: optional.jar - why doesn't ant find it in ANT_HOME\lib?

2003-07-30 Thread Wendi Sisson
Some people may not have received my reply because it was too long (I got a notice from the list manager), so here is an abbreviated version (I just removed some of the really verbose logging that came from successful tasks such as deleting directories, compiling, etc.) Wendi I have completely

Re: does not support 'if' attribute

2003-07-30 Thread Billy Bacon
Awesome, thank you for the reply. On 7/30/03 11:25 AM, "peter reilly" <[EMAIL PROTECTED]> wrote: > You can use the task from the ant-contrib project > or from the antelope project. > > http://ant.apache.org/projects.html > > Peter > On Wednesday 30 July 2003 18:04, Billy Bacon wrote: >> Does a

Re: does not support 'if' attribute

2003-07-30 Thread peter reilly
You can use the task from the ant-contrib project or from the antelope project. http://ant.apache.org/projects.html Peter On Wednesday 30 July 2003 18:04, Billy Bacon wrote: > Does anyone have a work-around for this? I want to create a file on the > system 'if' a property has been set within my

Re: Applying a filterset

2003-07-30 Thread Erik Hatcher
Exclude binary files from the filtered copy operation, and copy the binary files in a separate that is unfiltered. That is just how its done. I believe the or docs mention this warning too :) Erik On Wednesday, July 30, 2003, at 12:58 PM, Peter Smith wrote: Hi all, I have a text file

Re: optional.jar - why doesn't ant find it in ANT_HOME\lib?

2003-07-30 Thread Wendi Sisson
I have completely removed the env var "classpath". Below is the new set output and the verbose logging. Thanks, Wendi *** set ALLUSERSPROFILE=C:\Documents and Settings\All Users ANT_HOME=D:\opt\ant APPDATA=C:\Documents and Settings\ws429258\Application Data CommonProgramF