|
|
<!-- Compile the sources --> | <!-- Compile the sources --> |
<target name="compile" depends="init"> | <target name="compile" depends="init"> |
<mkdir dir="${build.dest}"/> | <mkdir dir="${build.dest}"/> |
<javac srcdir="${src.dir}" destdir="${build.dest}" classpath="${class.path}" debug="true"/> |
<javac srcdir="${src.dir}" |
|
destdir="${build.dest}" |
|
classpath="${class.path}" |
|
debug="off" |
|
target="1.4" |
|
source="1.4"> |
|
<classpath> |
|
<pathelement path="${regexp.jar}"/> |
|
</classpath> |
|
</javac> |
</target> | </target> |
| |
<!-- Just an alias --> | <!-- Just an alias --> |
<target name="build" depends="compile"/> | <target name="build" depends="compile"/> |
| |
<!-- Jar the library --> | <!-- Jar the library --> |
<target name="jar" depends="examples"> |
<target name="jar" depends="compile"> |
<jar jarfile="${build.dir}/${name}.jar" | <jar jarfile="${build.dir}/${name}.jar" |
basedir="${build.dest}" | basedir="${build.dest}" |
manifest="${basedir}/manifest.txt" |
|
includes="org/**,listclass.class" | includes="org/**,listclass.class" |
/> | /> |
</target> | </target> |
| |
<!-- Compile the examples --> | <!-- Compile the examples --> |
<target name="examples" depends="compile"> | <target name="examples" depends="compile"> |
<javac srcdir="${examples.dir}" destdir="${build.dest}" classpath="${class.path}" /> |
<javac srcdir="${examples.dir}" destdir="${build.dest}" classpath="${class.path}" target="1.4" source="1.4"/> |
</target> | </target> |
| |
<!-- Creates the API documentation --> | <!-- Creates the API documentation --> |