make sure these scripts are executable on mac and linux
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/08f93700 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/08f93700 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/08f93700 Branch: refs/heads/develop Commit: 08f9370071431cc1b0c4be1046878aa576f33a11 Parents: 7378eb5 Author: Alex Harui <[email protected]> Authored: Sat Apr 5 16:14:18 2014 -0700 Committer: Alex Harui <[email protected]> Committed: Sat Apr 5 22:20:49 2014 -0700 ---------------------------------------------------------------------- installer.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/08f93700/installer.xml ---------------------------------------------------------------------- diff --git a/installer.xml b/installer.xml index c278f7d..8240b23 100644 --- a/installer.xml +++ b/installer.xml @@ -214,12 +214,24 @@ <property name="swfobject.donot.ask" value="set"/> </target> + <target name="mac-chmod" description="makes some scripts executable" unless="isWindows"> + <exec executable="chmod" dir="${FLEXJS_HOME}"> + <arg value="+x" /> + <arg value="${FLEXJS_HOME}/js/bin/mxmlc"/> + </exec> + <exec executable="chmod" dir="${FLEXJS_HOME}"> + <arg value="+x" /> + <arg value="${FLEXJS_HOME}/js/bin/compc"/> + </exec> + </target> + <target name="get-falcon" depends="falcon-check,falcon-get" unless="falcon.present" description="downloads and installs Falcon compiler"> <echo>${INFO_UNZIPPING} ${download.dir}/${falcon.url.file}</echo> <unzip src="${download.dir}/${falcon.url.file}" dest="${download.dir}/falcon"/> <ant dir="${download.dir}/falcon" antfile="installer.xml" > </ant> + <antcall target="mac-chmod" /> </target> <target name="falcon-check" description="Checks if Falcon compiler has been downloaded."> <available file="${FLEXJS_HOME}/lib/falcon-mxmlc.jar" property="falcon.present"/>
