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
${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]
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]
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
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
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
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
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