This project is an
Ant
task used to update the
modules.list
and
services.list
in the
Axis2
repository.
See
The Axis2 application server deployment notes
.
It is generaly called before Axis2 is packaged into a war, and after all services (*.aar) and modules (*.mar) are deployed.
The task is defined using the taskdef
task:
<taskdef name="axis2ListUpdate" classname="net.sf.axis2.ant.Axis2ListUpdateTask" classpath="axis2ListUpdate.jar"/>
Attribute | Description | Required |
axis2repositorypath | the Axis2 repository path. modules and services must be subdirectories of this path. |
true |
type | this attribute fix the file to be updated. Possible values are:
|
by default "all" |
<axis2ListUpdate axis2repositorypath="build/webapp/WEB-INF/" />Update the
build/webapp/WEB-INF/modules/modules.list
and the build/webapp/WEB-INF/services/services.list
files.
<axis2ListUpdate axis2repositorypath="build/webapp/WEB-INF/" type="module" />Update the
build/webapp/WEB-INF/modules/modules.list
file.
<axis2ListUpdate axis2repositorypath="build/webapp/WEB-INF/" type="service" />Update the
build/webapp/WEB-INF/services/services.list
file.