You can use "if" from ant-contrib:
http://ant-contrib.sourceforge.net/tasks/tasks/if.html
All possible "if" conditions are here:
http://ant.apache.org/manual/CoreTasks/conditions.html
Hope it helps,
Dmitri.
Cyril Sagan wrote:
Our build script needs to run an arbitrary *group* of ta
Unfortunately 'description' attribute does not allow usage of properties
like ${line.separator}. However, ant files are XML files.
So you can use XML character escapes and parser will put correct
character for you.
For example:
is a new line character. You can add
if you want return
charact
I do not think you want to set this information into a java class, but
into your final jar file using manifest file.
http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html
Hope it helps,
Dmitri.
Frederich, Eric P21322 wrote:
Hello,
Is there an easy way to set final Java Strings at compile tim
Couple ways:
First use patternset
http://ant.apache.org/manual/CoreTypes/patternset.html
And reuse the pattern:
Second create includes/excludes files:
And use includesfile and excludesfile attributes
http://ant.apache.org/manual/CoreTypes/fileset.html
Hope it helps,
Dmitri.