summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.properties2
-rw-r--r--build.xml12
2 files changed, 11 insertions, 3 deletions
diff --git a/build.properties b/build.properties
index 865565b..0cbeba0 100644
--- a/build.properties
+++ b/build.properties
@@ -1,3 +1,5 @@
project.name=ant-contrib
project.version=dev
ivy.deliver.revision=${project.version}
+jdk.source=1.4
+jdk.target=1.4
diff --git a/build.xml b/build.xml
index 535a12d..7c48866 100644
--- a/build.xml
+++ b/build.xml
@@ -55,6 +55,8 @@
destdir="${target.classes.dir}"
debug="true"
classpathref="compile.classpath"
+ source="${jdk.source}"
+ target="${jdk.target}"
/>
<copy todir="${target.classes.dir}">
@@ -67,7 +69,9 @@
<mkdir dir="${target.test-classes.dir}" />
<javac srcdir="${test.src.dir}"
destdir="${target.test-classes.dir}"
- debug="true">
+ debug="true"
+ source="${jdk.source}"
+ target="${jdk.target}">
<classpath>
<path refid="test.classpath" />
<pathelement location="${target.classes.dir}" />
@@ -102,6 +106,7 @@
<target name="clean">
<delete includeemptydirs="true">
<fileset dir="${target.dir}" includes="**/*" />
+ <fileset dir="${dist.dir}" includes="**/*" />
</delete>
</target>
@@ -196,7 +201,8 @@
<checksum fileext=".md5">
<fileset dir="${dist.dir}">
<include name="*.zip"/>
- <include name="*.tar.*"/>
+ <include name="*.tar.bz2"/>
+ <include name="*.tar.gz"/>
</fileset>
</checksum>
</target>
@@ -243,4 +249,4 @@
<target name="test" depends="gump-safe-test"/>
-</project> \ No newline at end of file
+</project>