[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 4.2 ANT start/stop tasks

jaikiran do-not-reply at jboss.com
Fri Apr 4 02:43:24 EDT 2008

Normally, you start/stop JBoss using bat file on Windows (or the corresponding sh files for other OS). I haven't tried this myself, but, Ant provides a way to invoke the bat/script files through ant tasks http://ant.apache.org/faq.html#batch-shell-execute. Probably, you could just create a ant task to execute the bat file, in which case, all you have to do is set the JAVA_HOME properly. Rest of the classpath will be taken care by the bat file.

P.S: If you are starting JBoss as a service, there's a different way to start/stop the service through Ant

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141563#4141563

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141563

More information about the jboss-user mailing list