Benjamin Tomasini wrote:

There is a way to run the AdminClient using the local option.

The allows the server-config.wsdd to be created in the directory you run
the client from.  Here is an example from my ant script.  I have left
out my classpath, etc...



... Copy over a template file

   <!-- Run admin client to deploy, then copy to WEB-INF -->
   <copy tofile="./server-config.wsdd" overwrite="true"
     file="${server-config.wsdd}"/>

... Undeploy

   <java fork="yes" classname="org.apache.axis.client.AdminClient">
     <arg value="${undeploy.wsdd}"/>
     <arg value="-llocal://"/>
     <classpath refid="classpath.deploy"/>
   </java>

... Deploy

   <java fork="yes" classname="org.apache.axis.client.AdminClient">
     <arg value="${deploy.wsdd}"/>
     <arg value="-llocal://"/>
     <classpath refid="classpath.deploy"/>
   </java>

... List

   <java fork="yes" classname="org.apache.axis.client.AdminClient">
     <arg value="-llocal://"/>
     <arg value="list"/>
     <classpath refid="classpath.deploy"/>
   </java>




Thank you very much. This really helped!
Massimo Barabino



Reply via email to