diff options
Diffstat (limited to 'dev-java/odmg/files/build-odmg.xml')
-rw-r--r-- | dev-java/odmg/files/build-odmg.xml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-java/odmg/files/build-odmg.xml b/dev-java/odmg/files/build-odmg.xml new file mode 100644 index 000000000000..f4c76d1fd586 --- /dev/null +++ b/dev-java/odmg/files/build-odmg.xml @@ -0,0 +1,38 @@ +<?xml version='1.0' encoding='UTF-8'?> + +<!-- + Builds the ODMG 3.0 Java Binding from the Apache DB OJB project. + + Written by Daniel Solano. +--> +<project name="ODMG-3.0" default="all" basedir="."> + <property file="build.properties"/> + + <target name="init"> + <ant target="init"/> + </target> + + <target name="clean"> + <ant target="clean"/> + </target> + + <target name="prepare" depends="init"> + <ant target="prepare"/> + </target> + + <target name="compile" depends="prepare"> + <javac srcdir="${build.src}" destdir="${build.dest}"> + <include name="org/odmg/*.java"/> + </javac> + </target> + + <target name="jar" depends="compile"> + <jar destfile="${dist}/odmg.jar" basedir="${build.dest}"/> + </target> + + <target name="javadoc" depends="compile"> + <javadoc destdir="${build.javadoc}"> + <packageset dir="${build.src}" includes="org/odmg"/> + </javadoc> + </target> +</project> |