Saturday, June 23, 2007

Ant

official and wiki

This is the project build tool.

Ant run plugin in maven.

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
...

Classpath in antrun

<classpath refid="maven.dependency.classpath" />

<classpath>
<pathelement location="${localRepository}/org/apache/axis2/axis2/1.2/axis2-1.2.jar"/>
<path refid="maven.dependency.classpath"/>
</classpath>

<classpath>
<fileset dir="${localRepository}/org/apache/axis2/axis2/1.2/">
<include name="axis2-1.2.jar"/>
</fileset>
</classpath>

<classpath>
<pathelement path="${classpath}" />
<fileset dir="${basedir}/target">
<include name="**/rmi-client-1.6.dir/*.jar" />
</fileset>
</classpath>

Links:

Java parameters

No comments: