> > That allows Tomcat ( and other projects) to define normal Beans and still > > be able to script them. > > > > The usage is identical with normal Task-extending Beans. > > Could you please elaborate more on this?
Right now you have to extend Task and implement setters and void execute() throws BuildException With the patch you can use arbitrary objects that implement setters and void execute() throws Exception The change is usefull if you want to write tasks without dependencies on Ant. ( some objects are not only Build-related, but can be used in Ant too). Examples: - GTest object ( used to tomcat, but it can be included in Ant scripts) - Various configuration tasks ( generate Apache and tomcat config ) - usefull for Ant build and install but used in an admin tool too. Costin
