Friday, May 22, 2009

Beanshell and Ant

forget about doing anything fancy in Ant.
you MUST use:
- if and foreach tasks from ant/contrib project
- beanshell for scripting

From beanshell, you can set a Ant property by doing:

antProjectName.setProperty("myproperty", myvalue);


With these tools, you MIGHT have some chance of getting anything done with Ant. Still, I believe all this is really pathetic, we are in 2009 and we are using pre-WWII technologies.

No comments: