Is there something wrong with this:
target name=init
... set some properties ...
/target
target name=compile depends=init
... some tasks ...
/target
as opposed to doing the init tasks outside of any target, which is what most
examples seem to do? I moved all that stuff to an init
Best Practices page/site would be great. Also repository for
user-contributed tasks...
I'd be willing to help...
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
After reading this:
Extending Ant to support interactive builds
http://www-106.ibm.com/developerworks/java/library/j-antbuild/
I wrote a little task that does the same thing (prompt the user for input
and put it in a property), but pops up a Swing-based dialog box instead of a
text prompt.
Don't know if this will help you, but are you aware that you can use to
string together commands onto one line... this is at least true on Windows
2000, not sure about NT.
From the command reference:
The ampersand () separates multiple commands on one command line.
The parentheses groups