Just in case anybody else is searching: here is what you have to do in a
build.xml:
| <taskdef name="jboss-jmx" classname="org.jboss.ant.JMX">
| <classpath>
| <fileset dir="${jboss.home}/client" includes="*.jar"/>
| </classpath>
| </taskdef>
|
| <target name="deploy" depends="setup">
| <!-- Need absolute file name! -->
| <property name="ear-file" location="${jboss-ear}"/>
| <jboss-jmx adapterName="jmx/invoker/RMIAdaptor">
| <invoke target="jboss.system:service=MainDeployer" operation="deploy">
| <parameter type="java.lang.String" arg="file:${ear-file}"/>
| </invoke>
| </jboss-jmx>
| </target>
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860913#3860913
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860913
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user