You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by cd...@apache.org on 2021/03/22 10:50:12 UTC

[royale-asjs] branch develop updated: - Added the closure-compiler to the distribution and added it to the classpath of the js version of mxmlc and compc

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new ab87b6a  - Added the closure-compiler to the distribution and added it to the classpath of the js version of mxmlc and compc
ab87b6a is described below

commit ab87b6a7aae22a043f13adb7cae85f201671a79b
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Mon Mar 22 11:48:24 2021 +0100

    - Added the closure-compiler to the distribution and added it to the classpath of the js version of mxmlc and compc
---
 distribution/jars/compiler-compjsc/pom.xml          | 2 +-
 distribution/jars/compiler-mxmljsc/pom.xml          | 2 +-
 distribution/src/main/assembly/component-royale.xml | 2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/distribution/jars/compiler-compjsc/pom.xml b/distribution/jars/compiler-compjsc/pom.xml
index cc5831f..3944b82 100644
--- a/distribution/jars/compiler-compjsc/pom.xml
+++ b/distribution/jars/compiler-compjsc/pom.xml
@@ -43,7 +43,7 @@
             </manifest>
             <manifestEntries>
               <!-- These paths are all defined the way the layout will be in the distribution -->
-              <Class-Path>jsc.jar</Class-Path>
+              <Class-Path>jsc.jar closure-compiler.jar</Class-Path>
             </manifestEntries>
           </archive>
         </configuration>
diff --git a/distribution/jars/compiler-mxmljsc/pom.xml b/distribution/jars/compiler-mxmljsc/pom.xml
index b4deb5c..cead286 100644
--- a/distribution/jars/compiler-mxmljsc/pom.xml
+++ b/distribution/jars/compiler-mxmljsc/pom.xml
@@ -43,7 +43,7 @@
             </manifest>
             <manifestEntries>
               <!-- These paths are all defined the way the layout will be in the distribution -->
-              <Class-Path>args4j.jar jsc.jar</Class-Path>
+              <Class-Path>args4j.jar jsc.jar closure-compiler.jar</Class-Path>
             </manifestEntries>
           </archive>
         </configuration>
diff --git a/distribution/src/main/assembly/component-royale.xml b/distribution/src/main/assembly/component-royale.xml
index 06a20f9..4bab695 100644
--- a/distribution/src/main/assembly/component-royale.xml
+++ b/distribution/src/main/assembly/component-royale.xml
@@ -88,6 +88,8 @@
             <includes>
                 <include>*:args4j:jar</include>
                 <include>*:asdoc:*</include><!-- missing -->
+                <include>*:closure-compiler:jar</include>
+                <include>*:closure-compiler-externs:jar</include>
                 <include>*:commons-io:*</include>
                 <include>org.apache.royale.compiler:compiler-playerglobalc:jar</include>
                 <include>*:dom4j:*</include>