Regarding : List the subdirectories in Directory

2007-02-25 Thread Lokesh Jayaraman
Hi , How to get all subdirectories information from base directory using ANT task. if you know anybody ,let me inform. By Lokesh

Regarding compile only valid java files, skipping uncompilable files

2007-02-25 Thread Lokesh Jayaraman
Hi EveryBody, I used ANT script to compile only valid java files and also skip umcompilable files using following script. But in that i faced the problem to compile all java files. *Pro

Versioning

2007-02-25 Thread Erica A Ramsey
Hi, I have the following for my versioning format, 'major.minor.build.patch'. The build number always increments. However, if the major number is changed then minor and patch reset to zero. How can I automate this in ant. At a minimum if I can get the 'build' component of version to automate that w

specifying a URL as a property location [SEC=UNCLASSIFIED]

2007-02-25 Thread Michelle . Bhaal
Hello. We've got a server which holds all our common files. I'd like to be able to reference these files via a URL instead of mapping the network drive to a directory. Specifically, I'd like to do the following: https://tgecld01/ivy/"/> Unfortunately ivy.conf.dir res

Re: Java 1.5.0_10 won't allow SAR in classpath

2007-02-25 Thread Guy Rouillier
Antoine Levy-Lambert wrote: Hello Guy, from what you are writing, this issue comes from the JDK compiler, not from ant. So you should report it to the vendor of the JDK (Sun ?). If you run ant -verbose, I suppose you can see the classpath used by ant for compiling. ant itself will not rejec

Re: Adding optional tasks classpath from build.xml?

2007-02-25 Thread Omry Yadan
Hi Antoine, The task I am trying to use is a 'built-in' optional task, specifically - antlr. to my knowledge, I can't define it using a taskdef directive. Antoine Levy-Lambert wrote: > Hello Omry, > > it is good practice to work the way you envision to do. > > The manual page for junit > http

Re: Adding optional tasks classpath from build.xml?

2007-02-25 Thread Antoine Levy-Lambert
Hello Omry, it is good practice to work the way you envision to do. The manual page for junit http://ant.apache.org/manual/OptionalTasks/ junit.html gives some informations concerning this question. Supposing junit is one of the optional tasks for which you want to use a version stored in t

Re: Java 1.5.0_10 won't allow SAR in classpath

2007-02-25 Thread Antoine Levy-Lambert
Hello Guy, from what you are writing, this issue comes from the JDK compiler, not from ant. So you should report it to the vendor of the JDK (Sun ?). If you run ant -verbose, I suppose you can see the classpath used by ant for compiling. ant itself will not reject any file from the classpa

Java 1.5.0_10 won't allow SAR in classpath

2007-02-25 Thread Guy Rouillier
One of our build.xml files includes a SAR (JBoss server archive) in the classpath, along with a bunch of other JARs. Up until Java JDK 1.5.0_04 at least, this was working fine. I recently upgraded my workstation to 1.5.0_10, and now this no longer works. I added verbose="on" to my javac task, a

Adding optional tasks classpath from build.xml?

2007-02-25 Thread Omry Yadan
is it possible to add the reference to the required jars for an optional task as a part of the build.xml? similar to the way I can add my own tasks and keep them with the build.xml this will make build files much more portable across different machines, because it will be possible to bundle the