is is possible to make ant run in a JBoss server ???
take your build.xml, for each target make a JBoss service under the name ant:name=$name where $name is the name of the ant target.
Once this is done treat the dependencies.
Sample :
...
...
...
that give :
ant:name=a
ant:name=b
then you redefine startService() :
protected void startService() throws Exception
{
// execute the ant target
// if an error occurs throw an exception
// that will rollback the state to stop
// and the depending target won't be started
}
mbean attributes can be used to configure the task, there is a need for a context though to have inherited properties and global properties.
julien