Havent done this myself before, but here's what i could find which might be helpful:
http://ant.apache.org/manual/OptionalTasks/script.html
It does mention that:
anonymous wrote : Note: This task depends on external libraries not included in the Ant
distribution. See Library Dependencies for more information.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985323#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...