return status problem in ant.bat

2007-02-16 Thread Jose Antonio Pla Rodriguez
Hello list: I am programming a java application than execute a shell command and gets the return status, with this value I can know if the process success (return status equals 0) or failed (return status not equals 0). The problem is that every time I run the ant program by a call to ant.bat

How to prevent processing of with the whitespace compression task using ReplaceRegExp

2007-02-16 Thread Rashmi Rubdi
Hello, I'm using white space compression as illustrated here : http://ant.apache.org/manual/OptionalTasks/replaceregexp.html , with Ant 1.6.5 , my original purpose for using whitespace compression was to reduce the size of the WAR file so that it could be uploaded faster to a production enviro

Re: Issues with ANT 1.7 and Linux???

2007-02-16 Thread Andrew Close
On 2/16/07, James Abley <[EMAIL PROTECTED]> wrote: Sorry, I thought Antoine had answered this, but just to be explicit: Paths are (always in my experience with the filesystems I've used) case-sensitive under Linux. Have you tried: ls -l /home/scm/CC_BUILD/projects/RSA/build.properties [EMAIL

Jar contains the latest classes

2007-02-16 Thread Mikael Petterson (KI/EAB)
Hi, In my ant build file I have to check if a streamer.jar ( my project depends on streamer.jar ) contains the latest of classes. If not I have to update the jar file. How can I do that in ant. I have acess to source for streamer too. All hints are very much welcome! Cheers, //mikael

Re: RE: Exclude list of files with fileset

2007-02-16 Thread Antoine Levy-Lambert
Hello Mikael, Original-Nachricht Datum: Fri, 16 Feb 2007 14:40:22 +0100 Von: "Mikael Petterson \\(KI/EAB\\)" <[EMAIL PROTECTED]> An: "Ant Users List" CC: Betreff: RE: Exclude list of files with fileset > Hi, > > I need to exclude specific file names since these are clearcase

Re: Issues with ANT 1.7 and Linux???

2007-02-16 Thread Andrew Close
Steve, thanks for the reply. On 2/16/07, Steve Loughran <[EMAIL PROTECTED]> wrote: Andrew Close wrote: > so when i run ANT in debug mode i see the following: > > [property] Loading /home/scm/CC_BUILD/projects/RSA/build.properties > [property] Unable to find property file: > /home/scm/CC_BUILD/

Re: Issues with ANT 1.7 and Linux???

2007-02-16 Thread James Abley
Sorry, I thought Antoine had answered this, but just to be explicit: Paths are (always in my experience with the filesystems I've used) case-sensitive under Linux. Have you tried: ls -l /home/scm/CC_BUILD/projects/RSA/build.properties and ls -l /home/scm/CC_Build/projects/RSA/build.properti

RE: load name value pairs in file as tokens

2007-02-16 Thread Burgess, Benjamin
The Property task's file attribute will load the values as ant properties. Ben -Original Message- From: Ninju Bohra [mailto:[EMAIL PROTECTED] Sent: Friday, February 16, 2007 8:19 AM To: Ant Users List Subject: Re: load name value pairs in file as tokens Have you looked at the task...it

Re: Issues with ANT 1.7 and Linux???

2007-02-16 Thread Steve Loughran
Andrew Close wrote: so when i run ANT in debug mode i see the following: [property] Loading /home/scm/CC_BUILD/projects/RSA/build.properties [property] Unable to find property file: /home/scm/CC_BUILD/projects/RSA/build.properties obviously ANT was able to translate the ${dev.root} property co

RE: Exclude list of files with fileset

2007-02-16 Thread Mikael Petterson (KI/EAB)
Hi, I need to exclude specific file names since these are clearcase elements and cannot ( should not ) be removed. I don't want the error message to show so I thought excluding them from the fileset would do it.

Re: Issues with ANT 1.7 and Linux???

2007-02-16 Thread Andrew Close
On 2/15/07, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: From your log file, may be your property file should be loaded from > /home/scm/CC_Build/projects/RSA/build.properties not from > /home/scm/CC_BUILD/projects/RSA/build.properties Best regards, Antoine, thanks for your reply. the

Re: load name value pairs in file as tokens

2007-02-16 Thread Ninju Bohra
Have you looked at the task...it has a replacefilterfile attribute Hope that helps, Ninju - Original Message From: kkmca <[EMAIL PROTECTED]> To: user@ant.apache.org Sent: Thursday, February 15, 2007 7:18:13 PM Subject: load name value pairs in file as tokens I have a setup file t

AW: helping to compil a logiciel with ant

2007-02-16 Thread Jan.Materne
Have a look at the output and you'll see the errors: > [java] Exception in thread "main" java.lang.NoClassDefFoundError: > junit/framework/TestSuite >[javac] import lrg.memoria.core.DataAbstraction; >[javac] ^ >[javac] /home/elekis/Documents/Memoire/Parse

AW: Retrieve Command Line

2007-02-16 Thread Jan.Materne
No. You could write your own wrapper script (bat|sh) which stores the command line as property. Something like call ant %* -Dcommandline="%*" Jan >-Ursprüngliche Nachricht- >Von: jason heddings [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 15. Februar 2007 18:45 >An: 'Ant Users

helping to compil a logiciel with ant

2007-02-16 Thread elekis
hi all I try to compil http://www.iam.unibe.ch/~scg/Research/Moose/download/iPlasma-2006-06-08.zip but when I tape cd iPlasma/build/ [EMAIL PROTECTED]:~/Documents/Memoire/Parser/IPLASMA/iPlasma- 2006-06-08.zip_FILES/iPlasma/build$ ant all I have that , the prob is I have no idea why (it's not m

Re: Exclude list of files with fileset

2007-02-16 Thread Kevin Jackson
Hi, Is this the way to exclude the a list of files ( I have more names that I need to exclude)? Shall I use ';' or the regular ',' ? If you check the manual online : http://ant.apache.org/manual/CoreTypes/fileset.html You'll see that the the excludesfile is actually a text file of exclude pa

Exclude list of files with fileset

2007-02-16 Thread Mikael Petterson (KI/EAB)
Hi, Is this the way to exclude the a list of files ( I have more names that I need to exclude)? Shall I use ';' or the regular ',' ? Cheers, //mikael