How to parse a directory path?

2005-11-05 Thread Dan Finkelstein
Hi -- I have a number of directories on which I wish to run the same ant build file. I implemented something using and which correctly calls a common build file for each directory. The problem is that, when this build file is running, I need to know the name of the directory it is running

RE: Specifiying user properties file

2005-11-05 Thread Jeffrey E Care
You can also use the fact that Ant creates implicit properties from the Java system properties and do something like this: This will load the user's specific properties file from their home directory. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build T

Re: Specifiying user properties file

2005-11-05 Thread Ray Tayek
At 04:42 PM 11/5/2005, you wrote: I'm trying to set up a situation where my users can specify a properties file where they can set properties specific to their machines. ... properties are immutable so something like: ... whoever defines a property

how to get one class file into classpath in ant?

2005-11-05 Thread Ray Tayek
hi, using the following fragment from the ant build file (see below): log file says: r

RE: Specifiying user properties file

2005-11-05 Thread Bill Rich
Ahh, but is even better to take advantage of the fact that properties are immutable. For example, I have a file called user.properties that contains some default property settings. If the user does not want to use them then she just specifies a user name on the command line and the user.properties

RE: Specifiying user properties file

2005-11-05 Thread Lasher, James L
Mark You could either use the condition something like: Ant's immutability of properties will only set the userpropsdefine property to default.properties if user.properties does not exist. Also, if the userpropsdefine property was set within the condition it would not be re-set fo

Specifiying user properties file

2005-11-05 Thread Mark McKay
I'm trying to set up a situation where my users can specify a properties file where they can set properties specific to their machines. I have my main build.xml file checked into my CVS repostiory, and a default.properties file that is also in the CVS repository. I'd like the init task of my

RE: Anyone have a Success task?

2005-11-05 Thread Lasher, James L
Thanks for your reply. Actually what I'm looking for is a task which forces (sends) a build to stop and be reported as successful as the fail task will force a build to stop and report a failure. -jim- -Original Message- From: Rhino [mailto:[EMAIL PROTECTED] Sent: Saturday, November 05,

Re: Anyone have a Success task?

2005-11-05 Thread Rhino
I'm not sure what you mean. I have two directories of .wav files; one directory contains "success sounds" while the other contains "fail sounds". At the start of each Ant build script, I have an import that loads a task; this task plays a "success sound" if the build works or a "fail sound" if i

Anyone have a Success task?

2005-11-05 Thread Lasher, James L
I'm looking for a task to do the opposite of the provided task (end the build with a BUILD SUCCESSFUL). I tried writing a custom task to fire a buildFinished event, but wasn't exactly successful. Thanks. -jim- - To unsubscribe,