Author: mo.jeff
Date: Mon Mar 30 12:49:54 2009
New Revision: 2961
Modified:
trunk/build.xml
Log:
Modified the OS X tar.gz target so that it sets the '-p' flag when doing
the tar to ensure the executable status of PowerArchitectStub doesn't get
changed. Otherwise, the app bundle is not executable. The thing is, the Ant
tar task doesn't allow passing in arguments like the -p flag, so I had to
call tar directly using the 'exec' Ant task. Thing is, this will probably
break running a dist build on Windows.
Modified: trunk/build.xml
==============================================================================
--- trunk/build.xml (original)
+++ trunk/build.xml Mon Mar 30 12:49:54 2009
@@ -1163,10 +1163,11 @@
</target>
<target name="osx_jdbc_tgz" depends="osx_jdbc_dist" if="isNotMac">
- <tar
destfile="${dist.dir}/Architect-OSX-jdbc-${app.version}.tar.gz"
- compression="gzip">
- <tarfileset dir="${staging.dir}"
includes="Power*Architect*JDBC.app/**"/>
- </tar>
+ <exec executable="tar" dir="${staging.dir}">
+ <arg value="-cpzf" />
+ <arg
value="../${dist.dir}/Architect-OSX-${app.version}.tar.gz"/>
+ <arg value="Power Architect JDBC.app"/>
+ </exec>
</target>
<!-- Build a "generic" (e.g., UNIX) install that users will just un-tar
-->