10 Replies Latest reply on Sep 28, 2005 11:10 AM by ryan.campbell

    Ant Tasks for controlling server instances

    ryan.campbell Expert

      I've checked in some ant tasks to give us better control over jboss instances. The basic usage is like this:

       <server:config javaHome="${env.JAVA_HOME}" jbossHome="${jboss.dist}">
       <server name="myserver" config="default" host="${node0}">
       <jvmarg value="${jpda.cmdline}" />
       <arg line="someArgument"/>
       <server name="myserver2" config="all" host="${node1}"/>
       <server:start name="myserver"/>
       ...some tests...
       <server:stop name="myserver"/>