don't check FLEX_HOME unless doing release packaging
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7c149ed9 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7c149ed9 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7c149ed9 Branch: refs/heads/master Commit: 7c149ed9e0bd0d590ffcdf558528eccca035803b Parents: 8b968ec Author: Alex Harui <[email protected]> Authored: Tue Oct 13 12:32:24 2015 -0700 Committer: Alex Harui <[email protected]> Committed: Tue Oct 13 12:33:19 2015 -0700 ---------------------------------------------------------------------- build.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7c149ed9/build.xml ---------------------------------------------------------------------- diff --git a/build.xml b/build.xml index c6b6c4a..f5a58b7 100644 --- a/build.xml +++ b/build.xml @@ -184,7 +184,7 @@ <target name="prebuild" depends="check-compile-env,thirdparty-downloads,create-description,create-config" description="Stuff that needs to be done before any builds." unless="airsdk.found"/> - <target name="check-compile-env" depends="check-playerglobal-home,check-air-home,check-flex-home,check-falcon-home,check-falconjx-home" unless="airsdk.found" + <target name="check-compile-env" depends="check-playerglobal-home,check-air-home,check-falcon-home,check-falconjx-home" unless="airsdk.found" description="Check for the required environment variables for compilation."> <echo>OS: ${os.name} / ${os.version} / ${os.arch}</echo> <echo>VM: ${java.vm.name} / ${java.vm.version}</echo> @@ -524,7 +524,7 @@ <antcall target="stage-scripts"/> </target> - <target name="stage-source-no-scripts" > + <target name="stage-source-no-scripts" depends="check-flex-home" > <antcall target="clean-temp"/> <copy todir="${basedir}/temp" includeEmptyDirs="false"> @@ -1268,7 +1268,7 @@ <taskdef resource="flexTasks.tasks" classpath="${FALCON_HOME}/lib/falcon-flexTasks.jar"/> </target> - <target name="basictests" depends="load-task" description="run basic tests using mustella"> + <target name="basictests" depends="check-flex-home,load-task" description="run basic tests using mustella"> <property name="FLEX_HOME" value="${basedir}" /> <mxmlc fork="true" debug="true"
