building custom task

2004-11-01 Thread Carter, Scott
I have a really easy question about building a custom task. Within my custom task I am getting and setting ant properties. I.E. I have code like the following : String test = getProject().getProperty("ant.home"); My simple question is, what do I need in my classpath to compile this cod

Setting a property in a custom task

2004-09-22 Thread Carter, Scott
I have a custom task that determines a build label. In the custom task this is just a String. Is there a way to set an ant property in the custom task. For example, I would like to have a property called build.label that can be used by other tasks, whose value was set in my custom task. Thanks -