equal
deleted
inserted
replaced
1 <project name="PackageVerify" default="dist" basedir=".."> |
1 <project name="PackageVerify" default="dist" basedir=".."> |
2 <!-- Requires ant 1.6.1+ and JDK 1.6+--> |
2 <!-- Requires ant 1.6.1+ and JDK 1.7+--> |
3 |
3 |
4 <!-- set global properties for this build --> |
4 <!-- set global properties for this build --> |
5 <property name="src" value="${basedir}/src"/> |
5 <property name="src" value="${basedir}/src"/> |
6 <property name="build" value="${basedir}/build"/> |
6 <property name="build" value="${basedir}/build"/> |
7 <property name="dist" value="${basedir}/dist"/> |
7 <property name="dist" value="${basedir}/dist"/> |
20 </target> |
20 </target> |
21 |
21 |
22 <target name="compile" depends="init"> |
22 <target name="compile" depends="init"> |
23 <!-- Compile the java code from ${src} into ${build} --> |
23 <!-- Compile the java code from ${src} into ${build} --> |
24 <javac |
24 <javac |
25 source="1.6" |
25 source="1.7" |
26 srcdir="${src}" |
26 srcdir="${src}" |
27 destdir="${build}/classes" |
27 destdir="${build}/classes" |
28 verbose="no" |
28 verbose="no" |
29 debug="on" |
29 debug="on" |
30 /> |
30 /> |
31 </target> |
31 </target> |
32 |
32 |
33 <target name="doc" depends="init, compile"> |
33 <target name="doc" depends="init, compile"> |
34 <javadoc |
34 <javadoc |
35 source="1.6" |
35 source="1.7" |
36 sourcepath="${src}" |
36 sourcepath="${src}" |
37 destdir="${api}" |
37 destdir="${api}" |
38 /> |
38 /> |
39 </target> |
39 </target> |
40 <target name="dist" depends="compile, doc"> |
40 <target name="dist" depends="compile, doc"> |