Add top-level imagegen to build, javadoc, and licenses

Fix zxing build from top
This commit is contained in:
zzz
2016-01-22 20:11:58 +00:00
parent 48d32943b2
commit 5004626d7a
4 changed files with 84 additions and 5 deletions

54
apps/imagegen/build.xml Normal file
View File

@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="all" name="identicon">
<target name="all" depends="clean, build" />
<target name="build">
<ant dir="identicon" target="build" />
<ant dir="zxing" target="build" />
<ant dir="imagegen" target="build" />
</target>
<target name="compile">
<ant dir="identicon" target="compile" />
<ant dir="zxing" target="compile" />
<ant dir="imagegen" target="compile" />
</target>
<target name="compileTest">
<ant dir="identicon" target="compileTest" />
<ant dir="zxing" target="compileTest" />
</target>
<target name="jarTest">
<ant dir="identicon" target="jarTest" />
<ant dir="zxing" target="jarTest" />
</target>
<!-- not used, war bundles the classes -->
<target name="jar">
<ant dir="identicon" target="jar" />
<ant dir="zxing" target="jar" />
</target>
<target name="war" depends="compile">
<ant dir="imagegen" target="war" />
</target>
<target name="javadoc">
<ant dir="identicon" target="javadoc" />
<ant dir="zxing" target="javadoc" />
<ant dir="imagegen" target="javadoc" />
</target>
<target name="clean">
<ant dir="identicon" target="clean" />
<ant dir="zxing" target="clean" />
<ant dir="imagegen" target="clean" />
</target>
<target name="distclean">
<ant dir="identicon" target="distclean" />
<ant dir="zxing" target="distclean" />
<ant dir="imagegen" target="distclean" />
</target>
</project>

View File

@@ -17,7 +17,7 @@
</target>
<!-- only used if not set by a higher build.xml -->
<property name="javac.compilerargs" value="" />
<property name="javac.compilerargs7" value="" />
<target name="compile" depends="depend">
<mkdir dir="./build" />
@@ -25,12 +25,12 @@
<javac srcdir="./core/src/main/java" debug="true" deprecation="on" source="1.7" target="1.7"
includeAntRuntime="false"
destdir="./build/obj" >
<compilerarg line="${javac.compilerargs}" />
<compilerarg line="${javac.compilerargs7}" />
</javac>
<javac srcdir="./javase/src/main/java" debug="true" deprecation="on" source="1.7" target="1.7"
includeAntRuntime="false"
destdir="./build/obj" classpath="./build/obj" >
<compilerarg line="${javac.compilerargs}" />
<compilerarg line="${javac.compilerargs7}" />
</javac>
</target>
@@ -43,7 +43,7 @@
includeAntRuntime="false"
destdir="./buildTest/obj"
classpath="./build/zxing.jar" >
<compilerarg line="${javac.compilerargs}" />
<compilerarg line="${javac.compilerargs7}" />
</javac>
</target>