diff options
Diffstat (limited to 'dev-java/shared-objects/files/build.xml')
-rw-r--r-- | dev-java/shared-objects/files/build.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-java/shared-objects/files/build.xml b/dev-java/shared-objects/files/build.xml new file mode 100644 index 000000000000..77d8d8db8c1e --- /dev/null +++ b/dev-java/shared-objects/files/build.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" standalone="yes"?> +<project basedir="." default="jar"> + <target name="compile"> + <mkdir dir="bin"/> + <mkdir dir="lib"/> + <javac srcdir="shared" destdir="bin"> + <include name="**/*.java"/> + <classpath> + <fileset dir="lib"> + <include name="**/*.jar"/> + </fileset> + </classpath> + </javac> + </target> + <target name="jar" depends="compile"> + <jar destfile="shared-objects.jar"> + <zipfileset dir="bin"/> + </jar> + </target> +</project> |