if then

2005-09-25 Thread Kai Hendry
I want to do something quite simple, but with Ant it seems really difficult. I want to check a property BAR exists. If it is not set, then set it to another property called FOO. In shell: FOO="blah" if [ ! $BAR ]; then BAR=$FOO ; fi echo $BAR $FOO Right now I think I have to setup a separate

Editing properties

2005-08-11 Thread Kai Hendry
${s} I've had a quick look around and I am stuck. How do I remove ABCDE- from the string s? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Sticky Tag

2005-08-09 Thread Kai Hendry
I would like to get the CVS sticky tag of the source I am compiling. Anyone have a recipe to do that? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Manifestations

2005-07-12 Thread Kai Hendry
8 Jul 2005 17:37:53 +1000, Kai Hendry wrote: Seems easy enough. use and a filter to load the ear manifest EXCEPT the first line ( I think). btw, you could also load this easy manifest file as a property file, giving you a "class-path" property in memory. then use a 2nd filter

Re: Manifestations

2005-07-08 Thread Kai Hendry
Juergen Hermann wrote: On Fri, 08 Jul 2005 16:23:49 +1000, Kai Hendry wrote: Is there a way in ant to merge the content of two manifest files? Maybe by some (complex) filterchains, depends on what exactly you want to merge. Those two: Something specific to EAR [EMAIL

Re: Manifestations

2005-07-07 Thread Kai Hendry
Rainer -----Original Message- From: Kai Hendry [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 7:13 AM To: Ant Users List Subject: Manifestations I'm tracking a project using a manifest in the basedir. Then in each subproject I am adding manife

Manifestations

2005-06-29 Thread Kai Hendry
I'm tracking a project using a manifest in the basedir. Then in each subproject I am adding manifest="${build.basedir}/MANIFEST.MF" to the jar tasks. So far so good. Though how does one quickly check the manifest from Windows or any platform for that matter? E

Comparing classpaths

2005-06-09 Thread Kai Hendry
I wrote a Web app to aid people who are moving their ANT builds over to a Unix type platform. http://classpath.dabase.com/ I am new to Ant. I found the way it showed the classpath sucked. It is also could do a better job of uniforming paths between Windows and Unix for comparison. It took m