I am trying to deployu existing application in JBos5.2 to JBoss7.0 To do that we are using ant build scripts.
In JBoss5.2 we used org.Jboss.Main class to start the server execution passing this as a parameter to the ant script.
How would we do the same thing in Jboss 7? Is there any equivalent class?