RE: Specifying which java/javac to use.

2004-08-31 Thread Vadim Kazakov
What if you specify an env element with JAVA_HOME pointing to whatever version you want to use? -Original Message- From: Shay [mailto:[EMAIL PROTECTED] Sent: August 31, 2004 1:00 PM To: Ant Users List Subject: Specifying which java/javac to use. I have a few systems with multiple java/j

Re: How to move a directory ?

2004-08-31 Thread jfuller
there is an includeEmptyDirs attribute setting for this task http://ant.apache.org/manual/CoreTasks/move.html gl jim fuller - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to move a directory ?

2004-08-31 Thread bhaskar_karambelkar
this may sound a bit silly , but I am at my wits end. I want to move a directory (and all its contents ) from one directory into another directory e.g. Move dir1 (e.g. /src/dir1) into /dest/dest1. i.e. /dest/dest1/dir1 I have tried the following This does indeed create a /dest/des

Specifying which java/javac to use.

2004-08-31 Thread Shay
I have a few systems with multiple java/javac's on them. I need a way to tell Ant which to use but I can't seem to find a way except by creating a java app and using the Ant API, then calling the app with the correct java version. Thanks, Shay Shay Thompson - [EMAIL PROTECTED] Adobe Systems,

Re: FilterChains - LineContains

2004-08-31 Thread Matt Benson
You should be able to use linecontainsregexp with | (or) delimited regular expressions. HTH, Matt --- Joyce Li <[EMAIL PROTECTED]> wrote: > The LineContains filter reports lines that contain > all strings listed. I > want to search through files and find the ones that > contains either > string

FilterChains - LineContains

2004-08-31 Thread Joyce Li
The LineContains filter reports lines that contain all strings listed. I want to search through files and find the ones that contains either string A or string B. Is there a way to accomplish this? Or do I have to write my own filter? Thank you, Joyce ---

Re: Cannot get exclude attribute to work in a dirset.

2004-08-31 Thread Hans Deragon
Dominique Devienne wrote: From: Hans Deragon [mailto:[EMAIL PROTECTED] Dominique Devienne wrote: 's tag is a path to find source dirs, which are fully scanned for Java source files. So it's probably not what you want. Assuming you have a single source dir, which contains some packages which the st

Re: using ant to tag a cvs repository

2004-08-31 Thread mail.laconiadatasystems.com
Mark- A branch is a physical separation of your source from a known point known as the trunk so that anything that you checkin or checkout within the fileset identified as branch will not physically touch any of the files in the trunk..branches are merged into the trunk A tag is To create a snaps

RE: Unexpected element selector while building ant 1.6.2

2004-08-31 Thread Antoine Levy-Lambert
The "selector" element not found message would happen if you are trying to build ant 1.6 while 1) ant 1.5 is installed on your machine and is in the path (happens on some brands of linux), 2) you used "ant" to run the build, and not "build.bat" or "build.sh" Cheers, Antoine > Hi, > > I tried bui

RE: Unexpected element selector while building ant 1.6.2

2004-08-31 Thread Hemlata Kukreja
Hi, I tried building the source on another machine and it worked perfectly fine. Could someone please suggest and tell me what could be the reason for the same, because I have put the same CLASSPATH and PATH values on both the machines and there is no ANT_HOME variable available on any machine. An