diff options
author | Kevin Rushforth <[email protected]> | 2006-10-04 23:00:38 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2006-10-04 23:00:38 +0000 |
commit | c82aa7449e2ddd9313d595f0a8be9604e3136582 (patch) | |
tree | 743a6a3be9dd22c8faa8929024473ed3ef44061c | |
parent | 4cea6bc0a5a520de1053e4031bd26f4eb15e81f5 (diff) |
Updates for pre-release builds on windows
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@708 ba19aa83-45c5-6ac9-afd3-db810772062c
-rw-r--r-- | build.xml | 29 |
1 files changed, 26 insertions, 3 deletions
@@ -498,9 +498,11 @@ </target> <target name="init-release"> - <property name="platformTmpBund" location="${dist}/${platform}/tmp/bund"/> - <property name="platformTmpInst" location="${dist}/${platform}/tmp/inst"/> + <property name="platformTmp" location="${dist}/${platform}/tmp"/> + <property name="platformTmpBund" location="${platformTmp}/bund"/> + <property name="platformTmpInst" location="${platformTmp}/inst"/> <property name="release_name" value="java3d-${version_file}-${platformname}"/> + <property name="inst_name" value="j3d-instfiles-${version_file}-${platformname}"/> <mkdir dir="${dist}/release"/> </target> @@ -572,7 +574,28 @@ </target> <target name="release-zip-inst-pre-windows" if="isWindows"> - <echo message="EXECUTE: release-zip-inst-pre-windows"/> + <property name="tmpInstDir" location="${platformTmpInst}/${inst_name}"/> + <mkdir dir="${tmpInstDir}/j3d-binaries"/> + + <copy todir="${tmpInstDir}"> + <fileset dir="release-info/pre-release" + 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="release-final" depends="init-release" if="releaseType_final"> |