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 2019/06/19 16:11:19 UTC

[royale-asjs.wiki] branch master updated: adding info to maven build to a) build all SWCs in maven and b) warn about distribution not working completely (we need to fix that as we get some time)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new dddb0ac  adding info to maven build to a) build all SWCs in maven and b) warn about distribution not working completely (we need to fix that as we get some time)
dddb0ac is described below

commit dddb0acbbb9dbc3a4b9523adc4dd76f5d3f3a37e
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed Jun 19 18:11:18 2019 +0200

    adding info to maven build to a) build all SWCs in maven and b) warn about distribution not working completely (we need to fix that as we get some time)
---
 Build-Apache-Royale-with-Maven.md | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/Build-Apache-Royale-with-Maven.md b/Build-Apache-Royale-with-Maven.md
index 7b2b462..67bdcf5 100644
--- a/Build-Apache-Royale-with-Maven.md
+++ b/Build-Apache-Royale-with-Maven.md
@@ -108,11 +108,25 @@ It also has a feature of **assembling a fully functional Royale distribution** i
    Optional: if something change in helper jars (compiler-build-tools and compiler-jburg-types), you'll need to build the compiler utilities. This happens rarely:
 
     mvn -s settings-template.xml clean install -P utils
-    
+
 Optionaly you can run without test for convenience (-DskipTests)
 
-   ### Build distribution (Royale SDK) with Maven
+### Build All SWCs
+
+To build all SWCs for Maven, you need to use the profiles that create the SWF SWCs. We changed the default to not require the Adobe artifacts. The command line is :
+
+    mvn clean install -P generate-swcs-for-swf,main
+
+Similarly, when building examples, to get the SWF output you have to specify
+
+    mvn clean install -P generate-swf
+
+### Build distribution (Royale SDK) with Maven
+
+Note: distribution is not completely working and needs to be fixed. In the meanwhile you can use ANT to create a SDK from scratch from royale-asjs root folder using `mvn clean install -Pgenerate-swcs-for-swf`. Use `ant super-clean` to ensure the folder doesn't contain any stale files that could make the process fail.
+
    Optionally you can also build the distribution binaries:
+
    ```
    mvn -s settings-template.xml -P build-distribution clean install
    ```