diff options
author | Kevin Rushforth <[email protected]> | 2006-12-07 01:56:27 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2006-12-07 01:56:27 +0000 |
commit | 228d7f4f0ace7896102cd2232bafa43d3b555952 (patch) | |
tree | c31da8f3d10ffeafb6f16623d6b99f323ff53de1 /build.xml | |
parent | b0b54fda31ded7bccfcf5396dee68e81c3183825 (diff) |
Added release-final target
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@758 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 91 |
1 files changed, 88 insertions, 3 deletions
@@ -523,7 +523,7 @@ <copy todir="${platformTmpBund}/${release_name}"> <fileset dir="." includes="COPYRIGHT.txt"/> <fileset dir="release-info/pre-release" - includes="LICENSE*.txt README.txt README-unzip.html" + includes="LICENSE*.txt README*.txt README-unzip.html" /> </copy> <zip destfile="${dist}/release/${release_name}.zip"> @@ -598,8 +598,93 @@ </zip> </target> - <target name="release-final" depends="init-release" if="releaseType_final"> - <fail message="release-final not yet implenented"/> + <target name="release-final" depends="init-release,release-zip-bund-final,release-zip-inst-final" if="releaseType_final"> + </target> + + <target name="release-zip-bund-final" if="releaseType_final"> + <mkdir dir="${platformTmpBund}/${release_name}"/> + + <zip destfile="${platformTmpBund}/${release_name}/j3d-jre.zip"> + <fileset dir="${dist}/${platform}" + includes="lib/**" + /> + <fileset dir="${dist}/${platform}" + includes="bin/**" + /> + </zip> + <copy todir="${platformTmpBund}/${release_name}"> + <fileset dir="." includes="COPYRIGHT.txt"/> + <fileset dir="release-info/fcs-${version_base_file}" + includes="LICENSE*.txt README*.txt README-unzip.html" + /> + </copy> + <zip destfile="${dist}/release/${release_name}.zip"> + <fileset dir="${platformTmpBund}" + includes="${release_name}/**" + /> + </zip> + </target> + + <target name="release-zip-inst-final" if="releaseType_final"> + <antcall target="release-zip-inst-final-unix"/> + <antcall target="release-zip-inst-final-windows"/> + </target> + + <target name="release-zip-inst-final-unix" if="isUnix"> + <mkdir dir="${platformTmpInst}/${release_name}"/> + + <copy todir="${platformTmpInst}/${release_name}"> + <fileset dir="${dist}/${platform}" + includes="lib/**"/> + <fileset dir="${dist}/${platform}" + includes="bin/**"/> + </copy> + + <copy tofile="${platformTmpInst}/${release_name}/LICENSE.txt"> + <fileset dir="release-info/fcs-${version_base_file}" + includes="LICENSE*.txt"/> + </copy> + + <chmod dir="${platformTmpInst}/${release_name}" perm="755" + includes="**/*.so"/> + + <copy todir="${platformTmpInst}"> + <fileset dir="${build-tools}/${platformname}" + includes="script*.txt, unzipsfx"/> + </copy> + + <exec dir="${platformTmpInst}/${release_name}" executable="${shell}"> + <arg line="${build-tools}/genzip ${release_name} LICENSE.txt lib"/> + </exec> + + <copy file="${platformTmpInst}/${release_name}.bin" todir="${dist}/release"/> + + <chmod file="${dist}/release/${release_name}.bin" perm="755"/> + </target> + + <target name="release-zip-inst-final-windows" if="isWindows"> + <property name="tmpInstDir" location="${platformTmpInst}/${inst_name}"/> + <mkdir dir="${tmpInstDir}/j3d-binaries"/> + + <copy todir="${tmpInstDir}"> + <fileset dir="release-info/fcs-${version_base_file}" + includes="LICENSE*.rtf README.html"/> + </copy> + + <copy todir="${tmpInstDir}/j3d-binaries"> + <fileset dir="${dist}/${platform}" + includes="lib/**"/> + <fileset dir="${dist}/${platform}" + includes="bin/**"/> + </copy> + + <chmod dir="${tmpInstDir}/j3d-binaries" perm="755" + includes="**/*.dll"/> + + <zip destfile="${dist}/release/${inst_name}.zip"> + <fileset dir="${platformTmpInst}" + includes="${inst_name}/**"/> + </zip> </target> <target name="clean-dist"> |