fixup projectdir for cordova builds
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f021c8f7 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f021c8f7 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f021c8f7 Branch: refs/heads/tlf Commit: f021c8f754644d9f917de858bde3360a71be1746 Parents: 34be88f Author: Alex Harui <[email protected]> Authored: Fri Jun 2 00:04:39 2017 -0700 Committer: Alex Harui <[email protected]> Committed: Fri Jun 2 00:04:48 2017 -0700 ---------------------------------------------------------------------- examples/build_example.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f021c8f7/examples/build_example.xml ---------------------------------------------------------------------- diff --git a/examples/build_example.xml b/examples/build_example.xml index 90809a8..d97398a 100644 --- a/examples/build_example.xml +++ b/examples/build_example.xml @@ -385,13 +385,19 @@ <target name="compile.cordova" description="Executes the Cordova build script to run the app on a device." if="has.cordova"> <property name="mobile.platform" value="android" /> - <ant antfile="${FLEXJS_HOME}/cordova-build.xml" target="main" /> - <ant antfile="${FLEXJS_HOME}/cordova-build.xml" target="load-platform.${mobile.platform}" /> + <ant antfile="${FLEXJS_HOME}/cordova-build.xml" target="main" > + <property name="projectdir" value="${basedir}" /> + </ant> + <ant antfile="${FLEXJS_HOME}/cordova-build.xml" target="load-platform.${mobile.platform}" > + <property name="projectdir" value="${basedir}" /> + </ant> </target> <target name="run.cordova" description="Executes the Cordova build script to run the app on a device." if="has.cordova"> <property name="mobile.platform" value="android" /> - <ant antfile="${FLEXJS_HOME}/cordova-build.xml" target="run.${mobile.platform}" /> + <ant antfile="${FLEXJS_HOME}/cordova-build.xml" target="run.${mobile.platform}" > + <property name="projectdir" value="${basedir}" /> + </ant> </target> </project>
