flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject [2/4] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - add some targets to build apps from the repos
Date Thu, 10 Nov 2016 08:11:17 GMT
add some targets to build apps from the repos


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8af90ac4
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8af90ac4
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8af90ac4

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 8af90ac4a0dc006c295614017d5582be2432815a
Parents: 8e29ae4
Author: Alex Harui <aharui@apache.org>
Authored: Wed Nov 9 21:51:13 2016 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Wed Nov 9 21:52:32 2016 -0800

----------------------------------------------------------------------
 build.xml | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8af90ac4/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 18a583b..15af666 100644
--- a/build.xml
+++ b/build.xml
@@ -1863,4 +1863,43 @@
         <echo>Please change directory to ${base.folder.name}/flex-asjs and run ant
to complete build</echo>
     </target>
 
+    <target name="compile" depends="check-flex-home,check-falcon-home,load-task" description="compile
for SWF">
+        
+        <property name="FLEX_HOME" value="${basedir}" />
+        <mxmlc fork="true" debug="true"
+            file="${file}">
+            <jvmarg line="${mxmlc.jvm.args}"/>
+        </mxmlc>
+    </target>
+    
+    <target name="compile-js" depends="check-flex-home,check-falcon-home,check-falconjx-home,check-goog-home"
description="compile for JS">
+        <property name="FLEX_HOME" value="${basedir}" />
+        <java jar="${FALCONJX_HOME}/lib/mxmlc.jar"
+            fork="true">
+            <jvmarg line="${mxmlc.jvm.args}"/>
+            <jvmarg line="-Dflexlib=${FLEXJS_HOME}/frameworks}"/>
+            <arg value="+flexlib=${FLEXJS_HOME}/frameworks" />
+            <arg value="-debug" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+            <arg value="-js-output-type=FLEXJS" />
+            <arg value="-closure-lib=${GOOG_HOME}" />
+            <arg value="${file}" />
+        </java>
+    </target>
+    
+    <target name="compile-js-release" depends="check-flex-home,check-falcon-home,check-falconjx-home,check-goog-home"
description="compile for JS">
+        <property name="FLEX_HOME" value="${basedir}" />
+        <java jar="${FALCONJX_HOME}/lib/mxmlc.jar"
+            fork="true">
+            <jvmarg line="${mxmlc.jvm.args}"/>
+            <jvmarg line="-Dflexlib=${FLEXJS_HOME}/frameworks}"/>
+            <arg value="+flexlib=${FLEXJS_HOME}/frameworks" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+            <arg value="-js-output-type=FLEXJS" />
+            <arg value="-closure-lib=${GOOG_HOME}" />
+            <arg value="${file}" />
+        </java>
+    </target>
 </project>


Mime
View raw message