diff options
author | Jani Laakso <jani.laakso@itmill.com> | 2007-12-03 12:08:51 +0000 |
---|---|---|
committer | Jani Laakso <jani.laakso@itmill.com> | 2007-12-03 12:08:51 +0000 |
commit | 9b05ec79bc308ad6acd788e9d0b3cef80116ca4d (patch) | |
tree | a9aba40f4b9b77aede6c1c8ae19f7d7a5d84959b | |
parent | a2df7d72d16d0895504c65f1680dcb97267f65a0 (diff) | |
download | vaadin-framework-9b05ec79bc308ad6acd788e9d0b3cef80116ca4d.tar.gz vaadin-framework-9b05ec79bc308ad6acd788e9d0b3cef80116ca4d.zip |
packaging fixes
svn changeset:3112/svn branch:trunk
-rw-r--r-- | build/build.xml | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/build/build.xml b/build/build.xml index c65b17bdf0..bf6061780a 100644 --- a/build/build.xml +++ b/build/build.xml @@ -306,7 +306,15 @@ <include name="build-widgetsets.xml" /> </fileset> </delete> - <copy file="build/package/${package-platform}-readme.txt" tofile="${output-dir}/readme.txt" /> + <copy file="build/package/${package-platform}-readme.txt" tofile="${output-dir}/readme.txt"> + <filterchain> + <expandproperties /> + <replacetokens begintoken="<" endtoken=">"> + <token key="version" value="${version}" /> + <token key="/version" value="" /> + </replacetokens> + </filterchain> + </copy> <copy todir="${output-dir}"> <filterchain> <expandproperties /> @@ -378,13 +386,14 @@ </fileset> </copy> <!-- must be done in native way, otherwise fails --> - <!-- but again, ant just fails with any * or other special characters --> - <!-- <exec executable="cp" failonerror="true"> <arg line="-r" /> - <arg line="build/package/Start*.app" /> + <arg line="build/package/Start.app" /> <arg line="${output-dir}" /> </exec> + <!-- but again, ant just fails with any * or other special characters --> + <!-- package icon or folder background image / icon placements not in use --> + <!-- <exec executable="cp" failonerror="true"> <arg line="build/package/Icon*" /> <arg line="${output-dir}" /> @@ -393,9 +402,8 @@ <arg line="build/package/mac-DS_Store" /> <arg line="${output-dir}/.DS_Store" /> </exec> - --> - <!-- <copy file="build/package/mac-DS_Store" tofile="${output-dir}/.DS_Store" /> --> <copy file="build/package/mac-VolumeIcon.icns" tofile="${output-dir}/.VolumeIcon.icns" /> + --> <chmod file="${output-dir}/start.sh" perm="ugo+x" /> </then> </if> |