royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [royale-compiler] 01/03: Add ‘wastc.jar’ creation to build script
Date Mon, 13 Nov 2017 16:31:54 GMT
This is an automated email from the ASF dual-hosted git repository.

erikdebruin pushed a commit to branch feature/wast
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git

commit 5b1f858eac947ae16bc25b28d90515dd0af2e4c4
Author: Erik de Bruin <erik@ixsoftware.nl>
AuthorDate: Mon Nov 13 17:28:24 2017 +0100

    Add ‘wastc.jar’ creation to build script
    
    Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>
---
 compiler-jx/build.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/compiler-jx/build.xml b/compiler-jx/build.xml
index df733d9..793bf02 100644
--- a/compiler-jx/build.xml
+++ b/compiler-jx/build.xml
@@ -54,6 +54,7 @@
     <property name="externc.jar" value="${lib}/externc.jar" />
 	<property name="compc.jar" value="${lib}/compc.jar" />
 	<property name="jsc.jar" value="${lib}/jsc.jar" />
+	<property name="wastc.jar" value="${lib}/wastc.jar" />
     <property name="asdoc.jar" value="${lib}/asdoc.jar" />
 
     <!-- env.BUILD_NUMBER is set by Jenkins CI -->
@@ -105,6 +106,22 @@
         <copy file="${basedir}/../LICENSE.base" tofile="${classes.dir}/META-INF/LICENSE"/>
         <copy file="${basedir}/../NOTICE" tofile="${classes.dir}/META-INF/NOTICE"/>
         
+		<echo message="Building ${wastc.jar}" />
+		<jar file="${wastc.jar}" basedir="${classes.dir}"
+         includes="**/*.properties,org/apache/**/*,META-INF/**/*"
+         excludes="" >
+      <include name="META-INF/LICENSE"/>
+      <include name="META-INF/NOTICE"/>
+      <manifest>
+        <attribute name="Sealed" value="${manifest.sealed}"/>
+        <attribute name="Implementation-Title" value="${manifest.Implementation-Title}"/>
+        <attribute name="Implementation-Version" value="${manifest.Implementation-Version}.${build.number}"/>
+        <attribute name="Implementation-Vendor" value="${manifest.Implementation-Vendor}"/>
+				<attribute name="Main-Class" value="org.apache.royale.compiler.clients.WASTC" />
+        <attribute name="Class-Path" value="compiler.jar" />
+      </manifest>
+    </jar>
+
 		<echo message="Building ${jsc.jar}" />
 		<jar file="${jsc.jar}" basedir="${classes.dir}"
             includes="**/*.properties,org/apache/**/*,com/google/**/*,META-INF/**/*"

-- 
To stop receiving notification emails like this one, please contact
"commits@royale.apache.org" <commits@royale.apache.org>.

Mime
View raw message