ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Poodump <pood...@gmail.com>
Subject ant axis-admin multiple wsdd files
Date Fri, 20 Feb 2009 08:15:35 GMT
I'm trying to use ant to generate my server-config.wsdd file. What I'm 
looking to do is provide multiple Deploy.wsdd files to this task, but I 
can't figure out a compact way of doing this. Here's what I have

<property name="axis.home" value="/opt/tomcat/webapps/axis/" />
<path id="axis.classpath">
<fileset dir="${axis.home}/WEB-INF/lib" >
<include name="**/*.jar" />
</fileset>
<fileset dir="${libs.home}" >
<include name="activation.jar" />
<include name="mail.jar" />
</fileset>
</path>
<taskdef resource="axis-tasks.properties" classpathref="axis.classpath" />

<target name="wsdl" description="Generates the wsdl file">
<axis-admin
             debug = "true"
             port="8080"
             hostname="localhost"
             servletpath="axis/services/AdminService"
             xmlfile="${src.endpoints}/${wsdd.path}/${wsdd.service}"
>
</axis-admin>
</target>

Our source is arranged like so:
com/endpoints/users/Users-Deploy.wsdd
com/endpoints/groups/Groups-Deploy.wsdd
etc...
We have about 20 endpoints, and I'd prefer to not have to list a 
seperate axis-admin task for each one.

Any suggestions as to how to go about this?

Thanks in advance,
P

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message