You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/01/21 10:31:55 UTC

[royale-asjs] branch develop updated: maven-distribution: make dummy jars be renamed to "mxmlc.jar" and "compc.jar" so IDEs can find them and use. This fixes maven distribution SDK finaly

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

carlosrovira 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 5065dbf  maven-distribution: make dummy jars be renamed to "mxmlc.jar" and "compc.jar" so IDEs can find them and use. This fixes maven distribution SDK finaly
5065dbf is described below

commit 5065dbf985f1f0009925426bcd59ed25e83ccef5
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue Jan 21 11:31:43 2020 +0100

    maven-distribution: make dummy jars be renamed to "mxmlc.jar" and "compc.jar" so IDEs can find them and use. This fixes maven distribution SDK finaly
---
 distribution/src/main/assembly/component.xml | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/distribution/src/main/assembly/component.xml b/distribution/src/main/assembly/component.xml
index d8f3d2b..b21d76a 100644
--- a/distribution/src/main/assembly/component.xml
+++ b/distribution/src/main/assembly/component.xml
@@ -34,8 +34,6 @@ under the License.
         <include>org.apache.royale.framework.distribution:*:jar</include>
       </includes>
       <excludes>
-        <exclude>org.apache.royale.framework.distribution:compiler-compjsc:jar</exclude>
-        <exclude>org.apache.royale.framework.distribution:compiler-mxmljsc:jar</exclude>
         <exclude>org.apache.royale.compiler:compiler-jx:jar</exclude>
       </excludes>
     </dependencySet>
@@ -86,8 +84,6 @@ under the License.
       <useProjectArtifact>false</useProjectArtifact>
       <outputDirectory>js/lib</outputDirectory>
       <includes>
-        <include>org.apache.royale.framework.distribution:compiler-compjsc:jar</include>
-        <include>org.apache.royale.framework.distribution:compiler-mxmljsc:jar</include>
         <include>org.apache.royale.compiler:compiler-jx:jar</include>
         <include>*:args4j:jar</include>
         <include>*:commons-io:*</include>
@@ -211,6 +207,18 @@ under the License.
   </fileSets>
 
   <files>
+    <!-- Rename main js dummy jar artifacts to "mxmlc.jar" and "compc.jar" that is what an IDE expects to find -->
+    <file>
+      <source>jars/compiler-mxmljsc/target/compiler-mxmljsc-0.9.7-SNAPSHOT.jar</source>
+      <outputDirectory>js/lib</outputDirectory>
+      <destName>mxmlc.jar</destName>
+    </file>
+    <file>
+      <source>jars/compiler-compjsc/target/compiler-compjsc-0.9.7-SNAPSHOT.jar</source>
+      <outputDirectory>js/lib</outputDirectory>
+      <destName>compc.jar</destName>
+    </file>
+
     <!-- Copy the manifests -->
     <file>
       <source>../frameworks/projects/Binding/src/main/resources/basic-manifest.xml</source>