You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/06/20 09:07:50 UTC

[4/5] git commit: [flex-falcon] [refs/heads/develop] - build externc.jar

build externc.jar


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/09dd9ad1
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/09dd9ad1
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/09dd9ad1

Branch: refs/heads/develop
Commit: 09dd9ad1738eca75df22b2f47ce7e3ea0800e886
Parents: 513a9b3
Author: Alex Harui <ah...@apache.org>
Authored: Fri Jun 19 23:15:09 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Jun 20 00:06:17 2015 -0700

----------------------------------------------------------------------
 compiler.jx/build.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/09dd9ad1/compiler.jx/build.xml
----------------------------------------------------------------------
diff --git a/compiler.jx/build.xml b/compiler.jx/build.xml
index 13deeff..bcc0286 100644
--- a/compiler.jx/build.xml
+++ b/compiler.jx/build.xml
@@ -34,6 +34,7 @@
 	<property name="classes.dir" value="${build.output}/classes" />
 	
 	<property name="mxmlc.jar" value="${build.lib.dir}/mxmlc.jar" />
+    <property name="externc.jar" value="${build.lib.dir}/externc.jar" />
 	<property name="compc.jar" value="${build.lib.dir}/compc.jar" />
 	<property name="jsc.jar" value="${build.lib.dir}/jsc.jar" />
 
@@ -126,10 +127,21 @@
 			</manifest>
 		</jar>
 
+        <echo message="Building ${externc.jar}" />
+        <jar file="${externc.jar}" basedir="${classes.dir}">
+            <include name="META-INF/LICENSE"/>
+            <include name="META-INF/NOTICE"/>
+            <manifest>
+                <attribute name="Main-Class" value="org.apache.flex.compiler.clients.EXTERNC" />
+                <attribute name="Class-Path" value="jsc.jar" />
+            </manifest>
+        </jar>
+
 		<echo message="Copying jars to ${lib}" />
         <copy todir="${lib}">
 			<filelist dir="${build.lib.dir}">
 				<file name="compc.jar" />
+                <file name="externc.jar" />
 				<file name="mxmlc.jar" />
 				<file name="jsc.jar" />
 			</filelist>