aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-06-26 23:31:17 +0200
committerSven Gothel <[email protected]>2012-06-26 23:31:17 +0200
commit8599a753ff0a885d3de42c6597d07bdde603b709 (patch)
treea320886b09c01022db6d421c7dbc36eb3de0f435
parent95bf6160c908364fbce2f82df85063d12c9b279c (diff)
Add jocl-java-src.zip generation; Remove obsolete zip files.v2.0-rc10
-rw-r--r--build.xml18
-rw-r--r--scripts/make.jocl.all.linux-x86_64.sh1
2 files changed, 10 insertions, 9 deletions
diff --git a/build.xml b/build.xml
index e63fee49..97d15e52 100644
--- a/build.xml
+++ b/build.xml
@@ -312,6 +312,13 @@
<target name="archive-dist" if="build.archiveon">
+ <!-- source zip -->
+ <zip destfile="${dist.dir}/jocl-java-src.zip" level="0">
+ <fileset dir="${src.dir}"/>
+ <fileset dir="${src.java.dir}"/>
+ <!-- fileset dir="${build.generated.sources.dir}"/-->
+ </zip>
+
<!-- zip distribution -->
<mkdir dir="${dist.dir}/tmp/${dist.zip.name}"/>
@@ -324,7 +331,7 @@
</copy>
<copy todir="${dist.dir}/tmp/${dist.zip.name}">
<fileset dir="." includes="README,LICENSE"/>
- <fileset dir="${dist.dir}" includes="*.properties"/>
+ <fileset dir="${dist.dir}" includes="*.properties,jocl-java-src.zip"/>
</copy>
<!-- native files, TODO: remove when no longer needed -->
@@ -332,8 +339,7 @@
<fileset dir="${basedir}/${rootrel.build}/natives/jocl" excludes="*.xml"/>
</copy>
- <!-- zip/7z it -->
- <zip basedir="${dist.dir}/tmp" destfile="${dist.dir}/${dist.zip.name}.zip"/>
+ <!-- 7z it -->
<archive.7z basedir="${dist.dir}/tmp" destfile="${dist.dir}/${dist.zip.name}.7z" includes="*"/>
<delete dir="${dist.dir}/tmp"/>
@@ -662,9 +668,6 @@
</target>
<target name="archive-javadoc" if="build.archiveon">
- <zip destfile="${dist.dir}/jocl-javadoc.zip">
- <zipfileset dir="${dist.javadoc.dir}" prefix="jocl/javadoc"/>
- </zip>
<archive.7z basedir="${dist.dir}/javadoc" destfile="${dist.dir}/jocl-javadoc.7z" includes="jocl/*"/>
</target>
@@ -703,9 +706,6 @@
<!-- overwrites default target - watch out when build-impl.xml changes -->
<target name="-post-test-run" depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests">
- <zip destfile="${dist.dir}/${dist.zip.name}-test-results-${build.node.name}.zip">
- <zipfileset dir="${build.test.results.dir}" prefix="${dist.zip.name}/test-results"/>
- </zip>
<archive.7z basedir="${build.test.results.dir}" destfile="${dist.dir}/${dist.zip.name}-test-results-${build.node.name}.7z" includes="*"/>
<fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
</target>
diff --git a/scripts/make.jocl.all.linux-x86_64.sh b/scripts/make.jocl.all.linux-x86_64.sh
index b47e8b57..4959833f 100644
--- a/scripts/make.jocl.all.linux-x86_64.sh
+++ b/scripts/make.jocl.all.linux-x86_64.sh
@@ -9,6 +9,7 @@ fi
# -Dtarget.sourcelevel=1.6 \
# -Dtarget.targetlevel=1.6 \
# -Dtarget.rt.jar=/opt-share/jre1.6.0_30/lib/rt.jar \
+# -Dbuild.archiveon=true \
ant \
-Dtarget.sourcelevel=1.6 \