aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-test.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-02-23 04:45:47 +0100
committerSven Gothel <[email protected]>2011-02-23 04:45:47 +0100
commit06d6c31e74357d550311795a92733822805a9215 (patch)
tree99ba07315993196ec2234aa3f66a101f573a205a /make/build-test.xml
parent32059c88643fbf34ae05e5615d6b27b3313cafe5 (diff)
Provide task 'archive.7z' and use it instead of zip
Diffstat (limited to 'make/build-test.xml')
-rw-r--r--make/build-test.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/make/build-test.xml b/make/build-test.xml
index 9e30b5b..8f54b68 100644
--- a/make/build-test.xml
+++ b/make/build-test.xml
@@ -7,6 +7,7 @@
<property name="gluegen.root" value=".." />
<import file="gluegen-cpptasks.xml" />
+ <import file="gluegen-archivetasks.xml" />
<condition property="rootrel.build" value="build">
<not>
@@ -173,7 +174,7 @@
<target name="junit.compile.check" depends="init">
<delete quiet="true">
<fileset dir="${build}/test/results" includes="**"/>
- <fileset file="${build}/${test.archive.name}.zip"/>
+ <fileset file="${build}/${test.archive.name}.7z"/>
</delete>
<mkdir dir="${build}/test/results"/>
@@ -366,9 +367,9 @@
<!-- updates / create the test results zip file -->
<target name="test-zip-archive" depends="init">
- <zip destfile="${build}/${test.archive.name}.zip" update="true">
- <zipfileset dir="${build}/test/results" prefix="${archive.name}/test-results"/>
- </zip>
+ <archive.7z destfile="${build}/${test.archive.name}.7z"
+ basedir="${build}/test/results"
+ includes="**" />
</target>
</project>