Description

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.

Task description

The task is defined using the taskdef task:

<taskdef name="axis2ListUpdate" classname="net.sf.axis2.ant.Axis2ListUpdateTask" classpath="axis2ListUpdate.jar"/>

Parrameters

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:

  • module to update ${axis2repositorypath}/modules/modules.list
  • service to update ${axis2repositorypath}/services/services.list
  • all to update both the ${axis2repositorypath}/modules/modules.list and the ${axis2repositorypath}/services/services.list
by default "all"

Examples

    		<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.