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 2018/09/09 08:47:56 UTC

[royale-asjs] branch develop updated (9680f26 -> a17847e)

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

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


    from 9680f26  remove files in distribution bin that seems obsolete
     new a02f948  Revert "remove files in distribution bin that seems obsolete"
     new 39655dd  Revert "continue solving differences between ANT and MAVEN build distributions"
     new a17847e  Revert "looking for differences between ANT and MAVEN sdks"

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/resources/{air/adt => bin/acompc}     | 11 +++--
 .../main/resources/{air/adt.bat => bin/acompc.bat} | 10 +++--
 .../src/main/resources/{air/adt => bin/amxmlc}     | 11 +++--
 .../main/resources/{air/adt.bat => bin/amxmlc.bat} | 10 +++--
 .../src/main/resources/bin/compc                   | 21 +++++-----
 .../{js/bin/asjscompc.bat => bin/compc.bat}        |  9 ++--
 .../src/main/resources/bin/mxmlc                   | 17 ++++----
 .../src/main/resources/bin/mxmlc.bat               | 10 +++--
 .../src/main/resources/bin/optimizer               | 24 ++++-------
 .../resources/{air/adt.bat => bin/optimizer.bat}   | 11 +++--
 .../src/main/resources/bin/swcdepends              | 21 +++++-----
 .../src/main/resources/bin/swcdepends.bat          | 12 +++---
 .../src/main/resources/bin/swfdump                 | 22 ++++------
 .../resources/{air/adt.bat => bin/swfdump.bat}     | 10 +++--
 distribution/src/main/resources/js/bin/asjsc       |  2 +-
 distribution/src/main/resources/js/bin/asjsc.bat   |  2 +-
 distribution/src/main/resources/js/bin/asjscnpm    | 49 ----------------------
 distribution/src/main/resources/js/bin/asjscompc   |  2 +-
 .../src/main/resources/js/bin/asjscompc.bat        |  2 +-
 .../src/main/resources/js/bin/asjscompcnpm         | 49 ----------------------
 distribution/src/main/resources/js/bin/asnodec     |  2 +-
 distribution/src/main/resources/js/bin/asnodec.bat |  2 +-
 distribution/src/main/resources/js/bin/asnodecnpm  | 49 ----------------------
 distribution/src/main/resources/js/bin/compc       |  2 +-
 distribution/src/main/resources/js/bin/compc.bat   |  2 +-
 distribution/src/main/resources/js/bin/compcnpm    | 49 ----------------------
 distribution/src/main/resources/js/bin/externc     |  2 +-
 distribution/src/main/resources/js/bin/externc.bat |  2 +-
 distribution/src/main/resources/js/bin/externcnpm  | 49 ----------------------
 distribution/src/main/resources/js/bin/jquery      |  2 +-
 distribution/src/main/resources/js/bin/jquery.bat  |  2 +-
 distribution/src/main/resources/js/bin/mxmlc       |  2 +-
 distribution/src/main/resources/js/bin/mxmlc.bat   |  2 +-
 distribution/src/main/resources/js/bin/mxmlcnpm    | 49 ----------------------
 34 files changed, 125 insertions(+), 396 deletions(-)
 copy distribution/src/main/resources/{air/adt => bin/acompc} (80%)
 mode change 100755 => 100644
 copy distribution/src/main/resources/{air/adt.bat => bin/acompc.bat} (78%)
 copy distribution/src/main/resources/{air/adt => bin/amxmlc} (80%)
 mode change 100755 => 100644
 copy distribution/src/main/resources/{air/adt.bat => bin/amxmlc.bat} (77%)
 copy js/bin/asjscompc => distribution/src/main/resources/bin/compc (76%)
 copy distribution/src/main/resources/{js/bin/asjscompc.bat => bin/compc.bat} (68%)
 copy js/bin/asjscompc => distribution/src/main/resources/bin/mxmlc (81%)
 copy js/bin/externc.bat => distribution/src/main/resources/bin/mxmlc.bat (69%)
 copy js/bin/asjscompc => distribution/src/main/resources/bin/optimizer (70%)
 mode change 100755 => 100644
 copy distribution/src/main/resources/{air/adt.bat => bin/optimizer.bat} (73%)
 copy js/bin/asjscompc => distribution/src/main/resources/bin/swcdepends (75%)
 mode change 100755 => 100644
 copy js/bin/externc.bat => distribution/src/main/resources/bin/swcdepends.bat (59%)
 copy js/bin/asjscompc => distribution/src/main/resources/bin/swfdump (72%)
 mode change 100755 => 100644
 copy distribution/src/main/resources/{air/adt.bat => bin/swfdump.bat} (75%)
 delete mode 100755 distribution/src/main/resources/js/bin/asjscnpm
 delete mode 100755 distribution/src/main/resources/js/bin/asjscompcnpm
 delete mode 100644 distribution/src/main/resources/js/bin/asnodecnpm
 delete mode 100755 distribution/src/main/resources/js/bin/compcnpm
 delete mode 100755 distribution/src/main/resources/js/bin/externcnpm
 delete mode 100755 distribution/src/main/resources/js/bin/mxmlcnpm


[royale-asjs] 02/03: Revert "continue solving differences between ANT and MAVEN build distributions"

Posted by ca...@apache.org.
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

commit 39655dd2e7b96ea0b173ceac48cf94ea9f90cdf4
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Sep 9 10:46:54 2018 +0200

    Revert "continue solving differences between ANT and MAVEN build distributions"
    
    This reverts commit 214ae5d2ddd770b01431fb2e3e30c9708510ecb7.
---
 distribution/src/main/resources/js/bin/asjsc       |  2 +-
 distribution/src/main/resources/js/bin/asjsc.bat   |  2 +-
 distribution/src/main/resources/js/bin/asjscnpm    | 49 ----------------------
 distribution/src/main/resources/js/bin/asjscompc   |  2 +-
 .../src/main/resources/js/bin/asjscompc.bat        |  2 +-
 .../src/main/resources/js/bin/asjscompcnpm         | 49 ----------------------
 distribution/src/main/resources/js/bin/asnodec     |  2 +-
 distribution/src/main/resources/js/bin/asnodec.bat |  2 +-
 distribution/src/main/resources/js/bin/asnodecnpm  | 49 ----------------------
 distribution/src/main/resources/js/bin/compc       |  2 +-
 distribution/src/main/resources/js/bin/compc.bat   |  2 +-
 distribution/src/main/resources/js/bin/compcnpm    | 49 ----------------------
 distribution/src/main/resources/js/bin/externc     |  2 +-
 distribution/src/main/resources/js/bin/externc.bat |  2 +-
 distribution/src/main/resources/js/bin/externcnpm  | 49 ----------------------
 distribution/src/main/resources/js/bin/jquery      |  2 +-
 distribution/src/main/resources/js/bin/jquery.bat  |  2 +-
 distribution/src/main/resources/js/bin/mxmlc       |  2 +-
 distribution/src/main/resources/js/bin/mxmlc.bat   |  2 +-
 distribution/src/main/resources/js/bin/mxmlcnpm    | 49 ----------------------
 20 files changed, 14 insertions(+), 308 deletions(-)

diff --git a/distribution/src/main/resources/js/bin/asjsc b/distribution/src/main/resources/js/bin/asjsc
index 0fedac4..10c3c2c 100755
--- a/distribution/src/main/resources/js/bin/asjsc
+++ b/distribution/src/main/resources/js/bin/asjsc
@@ -67,4 +67,4 @@ fi
 
 VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
 
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalecompiler="$ROYALE_COMPILER_HOME" -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +royalelib="$ROYALE_HOME/frameworks" -js-output-type=jsc +configname=js "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS  -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +royalelib="$ROYALE_HOME/frameworks" -js-output-type=jsc +configname=js "$@"
diff --git a/distribution/src/main/resources/js/bin/asjsc.bat b/distribution/src/main/resources/js/bin/asjsc.bat
index b88b9cc..e3b0e19 100644
--- a/distribution/src/main/resources/js/bin/asjsc.bat
+++ b/distribution/src/main/resources/js/bin/asjsc.bat
@@ -26,4 +26,4 @@ if "x%ROYALE_COMPILER_HOME%"=="x"  (set "ROYALE_COMPILER_HOME=%~dp0..\..") else
 
 if "x%ROYALE_HOME%"=="x" (set "ROYALE_HOME=%~dp0..\..") else echo Using Royale SDK: %ROYALE_HOME%
 
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalecompiler="%ROYALE_COMPILER_HOME%" -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\mxmlc.jar" -js-output-type=jsc +configname=js %*
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m  -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\mxmlc.jar" -js-output-type=jsc +configname=js %*
diff --git a/distribution/src/main/resources/js/bin/asjscnpm b/distribution/src/main/resources/js/bin/asjscnpm
deleted file mode 100755
index 8c9e9f8..0000000
--- a/distribution/src/main/resources/js/bin/asjscnpm
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env node
-
-/*
- *
- *  Licensed to the Apache Software Foundation (ASF) under one or more
- *  contributor license agreements.  See the NOTICE file distributed with
- *  this work for additional information regarding copyright ownership.
- *  The ASF licenses this file to You under the Apache License, Version 2.0
- *  (the "License"); you may not use this file except in compliance with
- *  the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- *
- */
-
-var child_process = require("child_process");
-var path = require("path");
-
-var scriptName = "asjsc";
-if(process.platform === "win32")
-{
-	scriptName += ".bat";
-}
-
-var scriptPath = path.join(__dirname, scriptName);
-try
-{
-	child_process.execFileSync(scriptPath, process.argv.slice(2),
-	{
-		stdio: "inherit",
-		encoding: "utf8"
-	});
-}
-catch(error)
-{
-	if(error.status === null)
-	{
-		console.error("Error executing " + scriptName + " with code: " + error.code);
-		process.exit(1);
-	}
-	process.exit(error.status);
-}
-process.exit(0);
\ No newline at end of file
diff --git a/distribution/src/main/resources/js/bin/asjscompc b/distribution/src/main/resources/js/bin/asjscompc
index a4e01af..4a12639 100755
--- a/distribution/src/main/resources/js/bin/asjscompc
+++ b/distribution/src/main/resources/js/bin/asjscompc
@@ -67,4 +67,4 @@ fi
 
 VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
 
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalecompiler="$ROYALE_COMPILER_HOME" -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +royalelib="$ROYALE_HOME/frameworks" -js-output-type=jsc +configname=js "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS  -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +royalelib="$ROYALE_HOME/frameworks" -js-output-type=jsc +configname=js "$@"
diff --git a/distribution/src/main/resources/js/bin/asjscompc.bat b/distribution/src/main/resources/js/bin/asjscompc.bat
index bb88ab0..41b8a64 100644
--- a/distribution/src/main/resources/js/bin/asjscompc.bat
+++ b/distribution/src/main/resources/js/bin/asjscompc.bat
@@ -26,4 +26,4 @@ if "x%ROYALE_COMPILER_HOME%"=="x"  (set "ROYALE_COMPILER_HOME=%~dp0..\..") else
 
 if "x%ROYALE_HOME%"=="x" (set "ROYALE_HOME=%~dp0..\..") else echo Using Royale SDK: %ROYALE_HOME%
 
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalecompiler="%ROYALE_COMPILER_HOME%" -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\compc.jar" -js-output-type=jsc +configname=js %*
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m  -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\compc.jar" -js-output-type=jsc +configname=js %*
diff --git a/distribution/src/main/resources/js/bin/asjscompcnpm b/distribution/src/main/resources/js/bin/asjscompcnpm
deleted file mode 100755
index 0cc2402..0000000
--- a/distribution/src/main/resources/js/bin/asjscompcnpm
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env node
-
-/*
- *
- *  Licensed to the Apache Software Foundation (ASF) under one or more
- *  contributor license agreements.  See the NOTICE file distributed with
- *  this work for additional information regarding copyright ownership.
- *  The ASF licenses this file to You under the Apache License, Version 2.0
- *  (the "License"); you may not use this file except in compliance with
- *  the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- *
- */
-
-var child_process = require("child_process");
-var path = require("path");
-
-var scriptName = "asjscompc";
-if(process.platform === "win32")
-{
-	scriptName += ".bat";
-}
-
-var scriptPath = path.join(__dirname, scriptName);
-try
-{
-	child_process.execFileSync(scriptPath, process.argv.slice(2),
-	{
-		stdio: "inherit",
-		encoding: "utf8"
-	});
-}
-catch(error)
-{
-	if(error.status === null)
-	{
-		console.error("Error executing " + scriptName + " with code: " + error.code);
-		process.exit(1);
-	}
-	process.exit(error.status);
-}
-process.exit(0);
\ No newline at end of file
diff --git a/distribution/src/main/resources/js/bin/asnodec b/distribution/src/main/resources/js/bin/asnodec
index 58d29fb..4c42764 100755
--- a/distribution/src/main/resources/js/bin/asnodec
+++ b/distribution/src/main/resources/js/bin/asnodec
@@ -67,4 +67,4 @@ fi
 
 VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
 
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalecompiler="$ROYALE_COMPILER_HOME" -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +royalelib="$ROYALE_HOME/frameworks" -js-output-type=node +configname=node "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS  -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +royalelib="$ROYALE_HOME/frameworks" -js-output-type=node +configname=node "$@"
diff --git a/distribution/src/main/resources/js/bin/asnodec.bat b/distribution/src/main/resources/js/bin/asnodec.bat
index be1ef07..5f6a379 100644
--- a/distribution/src/main/resources/js/bin/asnodec.bat
+++ b/distribution/src/main/resources/js/bin/asnodec.bat
@@ -26,4 +26,4 @@ if "x%ROYALE_COMPILER_HOME%"=="x"  (set "ROYALE_COMPILER_HOME=%~dp0..\..") else
 
 if "x%ROYALE_HOME%"=="x" (set "ROYALE_HOME=%~dp0..\..") else echo Using Royale SDK: %ROYALE_HOME%
 
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalecompiler="%ROYALE_COMPILER_HOME%" -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\mxmlc.jar" -js-output-type=node +configname=node %*
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m  -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\mxmlc.jar" -js-output-type=node +configname=node %*
diff --git a/distribution/src/main/resources/js/bin/asnodecnpm b/distribution/src/main/resources/js/bin/asnodecnpm
deleted file mode 100644
index 8654736..0000000
--- a/distribution/src/main/resources/js/bin/asnodecnpm
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env node
-
-/*
- *
- *  Licensed to the Apache Software Foundation (ASF) under one or more
- *  contributor license agreements.  See the NOTICE file distributed with
- *  this work for additional information regarding copyright ownership.
- *  The ASF licenses this file to You under the Apache License, Version 2.0
- *  (the "License"); you may not use this file except in compliance with
- *  the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- *
- */
-
-var child_process = require("child_process");
-var path = require("path");
-
-var scriptName = "asnodec";
-if(process.platform === "win32")
-{
-	scriptName += ".bat";
-}
-
-var scriptPath = path.join(__dirname, scriptName);
-try
-{
-	child_process.execFileSync(scriptPath, process.argv.slice(2),
-	{
-		stdio: "inherit",
-		encoding: "utf8"
-	});
-}
-catch(error)
-{
-	if(error.status === null)
-	{
-		console.error("Error executing " + scriptName + " with code: " + error.code);
-		process.exit(1);
-	}
-	process.exit(error.status);
-}
-process.exit(0);
\ No newline at end of file
diff --git a/distribution/src/main/resources/js/bin/compc b/distribution/src/main/resources/js/bin/compc
index adab071..4063bb1 100755
--- a/distribution/src/main/resources/js/bin/compc
+++ b/distribution/src/main/resources/js/bin/compc
@@ -67,4 +67,4 @@ fi
 
 VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
 
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalecompiler="$ROYALE_COMPILER_HOME" -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +royalelib="$ROYALE_HOME/frameworks"  -sdk-js-lib="$ROYALE_HOME/frameworks/js/Royale/generated-sources" "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS  -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +royalelib="$ROYALE_HOME/frameworks"  -sdk-js-lib="$ROYALE_HOME/frameworks/js/Royale/generated-sources" "$@"
diff --git a/distribution/src/main/resources/js/bin/compc.bat b/distribution/src/main/resources/js/bin/compc.bat
index fe5b69e..ec64b5b 100644
--- a/distribution/src/main/resources/js/bin/compc.bat
+++ b/distribution/src/main/resources/js/bin/compc.bat
@@ -26,4 +26,4 @@ if "x%ROYALE_COMPILER_HOME%"=="x"  (set "ROYALE_COMPILER_HOME=%~dp0..\..") else
 
 if "x%ROYALE_HOME%"=="x" (set "ROYALE_HOME=%~dp0..\..") else echo Using Royale SDK: %ROYALE_HOME%
 
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalecompiler="%ROYALE_COMPILER_HOME%" -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\compc.jar"  -sdk-js-lib="%ROYALE_HOME%\frameworks\js\Royale\generated-sources" %*
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m  -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\compc.jar"  -sdk-js-lib="%ROYALE_HOME%\frameworks\js\Royale\generated-sources" %*
diff --git a/distribution/src/main/resources/js/bin/compcnpm b/distribution/src/main/resources/js/bin/compcnpm
deleted file mode 100755
index e9e22af..0000000
--- a/distribution/src/main/resources/js/bin/compcnpm
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env node
-
-/*
- *
- *  Licensed to the Apache Software Foundation (ASF) under one or more
- *  contributor license agreements.  See the NOTICE file distributed with
- *  this work for additional information regarding copyright ownership.
- *  The ASF licenses this file to You under the Apache License, Version 2.0
- *  (the "License"); you may not use this file except in compliance with
- *  the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- *
- */
-
-var child_process = require("child_process");
-var path = require("path");
-
-var scriptName = "compc";
-if(process.platform === "win32")
-{
-    scriptName += ".bat";
-}
-
-var scriptPath = path.join(__dirname, scriptName);
-try
-{
-    child_process.execFileSync(scriptPath, process.argv.slice(2),
-    {
-        stdio: "inherit",
-        encoding: "utf8"
-    });
-}
-catch(error)
-{
-    if(error.status === null)
-    {
-        console.error("Error executing " + scriptName + " with code: " + error.code);
-        process.exit(1);
-    }
-    process.exit(error.status);
-}
-process.exit(0);
\ No newline at end of file
diff --git a/distribution/src/main/resources/js/bin/externc b/distribution/src/main/resources/js/bin/externc
index 548e25e..03393fa 100755
--- a/distribution/src/main/resources/js/bin/externc
+++ b/distribution/src/main/resources/js/bin/externc
@@ -67,4 +67,4 @@ fi
 
 VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
 
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalecompiler="$ROYALE_COMPILER_HOME" -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/externc.jar" +royalelib="$ROYALE_HOME/frameworks" "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS  -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/externc.jar" +royalelib="$ROYALE_HOME/frameworks" "$@"
diff --git a/distribution/src/main/resources/js/bin/externc.bat b/distribution/src/main/resources/js/bin/externc.bat
index 3004988..c5179318 100644
--- a/distribution/src/main/resources/js/bin/externc.bat
+++ b/distribution/src/main/resources/js/bin/externc.bat
@@ -26,4 +26,4 @@ if "x%ROYALE_COMPILER_HOME%"=="x"  (set "ROYALE_COMPILER_HOME=%~dp0..\..") else
 
 if "x%ROYALE_HOME%"=="x" (set "ROYALE_HOME=%~dp0..\..") else echo Using Royale SDK: %ROYALE_HOME%
 
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalecompiler="%ROYALE_COMPILER_HOME%" -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\externc.jar" %*
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m  -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\externc.jar" %*
diff --git a/distribution/src/main/resources/js/bin/externcnpm b/distribution/src/main/resources/js/bin/externcnpm
deleted file mode 100755
index a6c5c3a..0000000
--- a/distribution/src/main/resources/js/bin/externcnpm
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env node
-
-/*
- *
- *  Licensed to the Apache Software Foundation (ASF) under one or more
- *  contributor license agreements.  See the NOTICE file distributed with
- *  this work for additional information regarding copyright ownership.
- *  The ASF licenses this file to You under the Apache License, Version 2.0
- *  (the "License"); you may not use this file except in compliance with
- *  the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- *
- */
-
-var child_process = require("child_process");
-var path = require("path");
-
-var scriptName = "externc";
-if(process.platform === "win32")
-{
-    scriptName += ".bat";
-}
-
-var scriptPath = path.join(__dirname, scriptName);
-try
-{
-    child_process.execFileSync(scriptPath, process.argv.slice(2),
-    {
-        stdio: "inherit",
-        encoding: "utf8"
-    });
-}
-catch(error)
-{
-    if(error.status === null)
-    {
-        console.error("Error executing " + scriptName + " with code: " + error.code);
-        process.exit(1);
-    }
-    process.exit(error.status);
-}
-process.exit(0);
\ No newline at end of file
diff --git a/distribution/src/main/resources/js/bin/jquery b/distribution/src/main/resources/js/bin/jquery
index edcf903..0c310b3 100755
--- a/distribution/src/main/resources/js/bin/jquery
+++ b/distribution/src/main/resources/js/bin/jquery
@@ -67,4 +67,4 @@ fi
 
 VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
 
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalecompiler="$ROYALE_COMPILER_HOME" -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +royalelib="$ROYALE_HOME/frameworks" -js-output-type=jsc +configname=jquery "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS  -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +royalelib="$ROYALE_HOME/frameworks" -js-output-type=jsc +configname=jquery "$@"
diff --git a/distribution/src/main/resources/js/bin/jquery.bat b/distribution/src/main/resources/js/bin/jquery.bat
index f90ee2b..947b443 100644
--- a/distribution/src/main/resources/js/bin/jquery.bat
+++ b/distribution/src/main/resources/js/bin/jquery.bat
@@ -26,4 +26,4 @@ if "x%ROYALE_COMPILER_HOME%"=="x"  (set "ROYALE_COMPILER_HOME=%~dp0..\..") else
 
 if "x%ROYALE_HOME%"=="x" (set "ROYALE_HOME=%~dp0..\..") else echo Using Royale SDK: %ROYALE_HOME%
 
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalecompiler="%ROYALE_COMPILER_HOME%" -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\mxmlc.jar" -js-output-type=jsc +configname=jquery %*
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m  -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\mxmlc.jar" -js-output-type=jsc +configname=jquery %*
diff --git a/distribution/src/main/resources/js/bin/mxmlc b/distribution/src/main/resources/js/bin/mxmlc
index abb1ca2..aa6ce34 100755
--- a/distribution/src/main/resources/js/bin/mxmlc
+++ b/distribution/src/main/resources/js/bin/mxmlc
@@ -67,4 +67,4 @@ fi
 
 VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
 
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalecompiler="$ROYALE_COMPILER_HOME" -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +royalelib="$ROYALE_HOME/frameworks"  -sdk-js-lib="$ROYALE_HOME/frameworks/js/Royale/generated-sources" "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS  -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +royalelib="$ROYALE_HOME/frameworks"  -sdk-js-lib="$ROYALE_HOME/frameworks/js/Royale/generated-sources" "$@"
diff --git a/distribution/src/main/resources/js/bin/mxmlc.bat b/distribution/src/main/resources/js/bin/mxmlc.bat
index 0bd02da..d7f93f8 100644
--- a/distribution/src/main/resources/js/bin/mxmlc.bat
+++ b/distribution/src/main/resources/js/bin/mxmlc.bat
@@ -26,4 +26,4 @@ if "x%ROYALE_COMPILER_HOME%"=="x"  (set "ROYALE_COMPILER_HOME=%~dp0..\..") else
 
 if "x%ROYALE_HOME%"=="x" (set "ROYALE_HOME=%~dp0..\..") else echo Using Royale SDK: %ROYALE_HOME%
 
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalecompiler="%ROYALE_COMPILER_HOME%" -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\mxmlc.jar"  -sdk-js-lib="%ROYALE_HOME%\frameworks\js\Royale\generated-sources" %*
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m  -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\mxmlc.jar"  -sdk-js-lib="%ROYALE_HOME%\frameworks\js\Royale\generated-sources" %*
diff --git a/distribution/src/main/resources/js/bin/mxmlcnpm b/distribution/src/main/resources/js/bin/mxmlcnpm
deleted file mode 100755
index 5a6c710..0000000
--- a/distribution/src/main/resources/js/bin/mxmlcnpm
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env node
-
-/*
- *
- *  Licensed to the Apache Software Foundation (ASF) under one or more
- *  contributor license agreements.  See the NOTICE file distributed with
- *  this work for additional information regarding copyright ownership.
- *  The ASF licenses this file to You under the Apache License, Version 2.0
- *  (the "License"); you may not use this file except in compliance with
- *  the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- *
- */
-
-var child_process = require("child_process");
-var path = require("path");
-
-var scriptName = "mxmlc";
-if(process.platform === "win32")
-{
-    scriptName += ".bat";
-}
-
-var scriptPath = path.join(__dirname, scriptName);
-try
-{
-    child_process.execFileSync(scriptPath, process.argv.slice(2),
-    {
-        stdio: "inherit",
-        encoding: "utf8"
-    });
-}
-catch(error)
-{
-    if(error.status === null)
-    {
-        console.error("Error executing " + scriptName + " with code: " + error.code);
-        process.exit(1);
-    }
-    process.exit(error.status);
-}
-process.exit(0);
\ No newline at end of file


[royale-asjs] 03/03: Revert "looking for differences between ANT and MAVEN sdks"

Posted by ca...@apache.org.
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

commit a17847e341c729cb09ce823f448e8eb9310b5950
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Sep 9 10:47:20 2018 +0200

    Revert "looking for differences between ANT and MAVEN sdks"
    
    This reverts commit d1bd74416a3a1cd2ef94422a397a75641d08ad81.
---
 distribution/src/main/resources/bin/compc          | 4 ++--
 distribution/src/main/resources/bin/compc.bat      | 2 +-
 distribution/src/main/resources/bin/mxmlc          | 4 ++--
 distribution/src/main/resources/bin/mxmlc.bat      | 2 +-
 distribution/src/main/resources/bin/optimizer      | 2 +-
 distribution/src/main/resources/bin/swcdepends     | 2 +-
 distribution/src/main/resources/bin/swcdepends.bat | 6 +++---
 distribution/src/main/resources/bin/swfdump        | 2 +-
 8 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/distribution/src/main/resources/bin/compc b/distribution/src/main/resources/bin/compc
index 4a37dd8..f3c137c 100755
--- a/distribution/src/main/resources/bin/compc
+++ b/distribution/src/main/resources/bin/compc
@@ -29,7 +29,7 @@ then
     SCRIPT_HOME=`dirname "$0"`
     ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
 else
-    echo Using Royale codebase: $ROYALE_COMPILER_HOME
+    echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
 fi
 
 if [ "x${ROYALE_HOME}" = "x" ]
@@ -68,4 +68,4 @@ fi
 
 VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
 
-java $VMARGS $D32 $SETUP_SH_VMARGS  -Droyalelib="$ROYALE_HOME/frameworks" -jar "${ROYALE_COMPILER_HOME}/lib/compiler-compc.jar" "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalelib="$ROYALE_HOME/frameworks" -jar "${ROYALE_COMPILER_HOME}/lib/compiler-compc.jar" "$@"
diff --git a/distribution/src/main/resources/bin/compc.bat b/distribution/src/main/resources/bin/compc.bat
index 54b9ca3..a70aa3d 100644
--- a/distribution/src/main/resources/bin/compc.bat
+++ b/distribution/src/main/resources/bin/compc.bat
@@ -24,7 +24,7 @@ rem
 
 setlocal
 
-if "x%ROYALE_COMPILER_HOME%"=="x"  (set ROYALE_COMPILER_HOME=%~dp0..) else echo Using Royale codebase: %ROYALE_COMPILER_HOME%
+if "x%ROYALE_COMPILER_HOME%"=="x"  (set ROYALE_COMPILER_HOME=%~dp0..) else echo Using Royale Compiler codebase: %ROYALE_COMPILER_HOME%
 
 if "x%ROYALE_HOME%"=="x" (set ROYALE_HOME=%~dp0..) else echo Using Royale SDK: %ROYALE_HOME%
 
diff --git a/distribution/src/main/resources/bin/mxmlc b/distribution/src/main/resources/bin/mxmlc
index 061cdf4..3ab2ed5 100755
--- a/distribution/src/main/resources/bin/mxmlc
+++ b/distribution/src/main/resources/bin/mxmlc
@@ -29,7 +29,7 @@ then
     SCRIPT_HOME=`dirname "$0"`
     ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
 else
-    echo Using Royale codebase: $ROYALE_COMPILER_HOME
+    echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
 fi
 
 if [ "x${ROYALE_HOME}" = "x" ]
@@ -68,4 +68,4 @@ fi
 
 VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
 
-java $VMARGS $D32 $SETUP_SH_VMARGS  -Droyalelib="$ROYALE_HOME/frameworks" -jar "${ROYALE_COMPILER_HOME}/lib/compiler-mxmlc.jar" "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalelib="$ROYALE_HOME/frameworks" -jar "${ROYALE_COMPILER_HOME}/lib/compiler-mxmlc.jar" "$@"
diff --git a/distribution/src/main/resources/bin/mxmlc.bat b/distribution/src/main/resources/bin/mxmlc.bat
index 37458cf..c5605ed 100644
--- a/distribution/src/main/resources/bin/mxmlc.bat
+++ b/distribution/src/main/resources/bin/mxmlc.bat
@@ -24,7 +24,7 @@ rem
 
 setlocal
 
-if "x%ROYALE_COMPILER_HOME%"=="x"  (set ROYALE_COMPILER_HOME=%~dp0..) else echo Using Royale codebase: %ROYALE_COMPILER_HOME%
+if "x%ROYALE_COMPILER_HOME%"=="x"  (set ROYALE_COMPILER_HOME=%~dp0..) else echo Using Royale Compiler codebase: %ROYALE_COMPILER_HOME%
 
 if "x%ROYALE_HOME%"=="x" (set ROYALE_HOME=%~dp0..) else echo Using Royale SDK: %ROYALE_HOME%
 
diff --git a/distribution/src/main/resources/bin/optimizer b/distribution/src/main/resources/bin/optimizer
index b7c68e7..02446a8 100644
--- a/distribution/src/main/resources/bin/optimizer
+++ b/distribution/src/main/resources/bin/optimizer
@@ -29,7 +29,7 @@ then
     SCRIPT_HOME=`dirname "$0"`
     ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
 else
-    echo Using Royale codebase: $ROYALE_COMPILER_HOME
+    echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
 fi
 
 case `uname` in
diff --git a/distribution/src/main/resources/bin/swcdepends b/distribution/src/main/resources/bin/swcdepends
index 2838227..65c1d91 100644
--- a/distribution/src/main/resources/bin/swcdepends
+++ b/distribution/src/main/resources/bin/swcdepends
@@ -68,4 +68,4 @@ fi
 
 VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
 
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalelib="$ROYALE_HOME/frameworks" -jar "${ROYALE_COMPILER_HOME}/lib/royale-swcdepends.jar" "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalelib="$ROYALE_HOME/frameworks" -jar "${ROYALE_COMPILER_HOME}/lib/compiler-swcdepends.jar" "$@"
diff --git a/distribution/src/main/resources/bin/swcdepends.bat b/distribution/src/main/resources/bin/swcdepends.bat
index b4c7a3e..af325e9 100644
--- a/distribution/src/main/resources/bin/swcdepends.bat
+++ b/distribution/src/main/resources/bin/swcdepends.bat
@@ -18,14 +18,14 @@ rem limitations under the License.
 rem
 
 rem
-rem swcdepends.bat script to launch royale-swcdepends.jar in Windows Command Prompt.
+rem swcdepends.bat script to launch compiler-swcdepends.jar in Windows Command Prompt.
 rem On OSX, Unix, or Cygwin, use the swcdepends shell script instead.
 rem
 
 setlocal
 
-if "x%ROYALE_COMPILER_HOME%"=="x"  (set ROYALE_COMPILER_HOME=%~dp0..) else echo Using Royale codebase: %ROYALE_COMPILER_HOME%
+if "x%ROYALE_COMPILER_HOME%"=="x"  (set ROYALE_COMPILER_HOME=%~dp0..) else echo Using Royale Compiler codebase: %ROYALE_COMPILER_HOME%
 
 if "x%ROYALE_HOME%"=="x" (set ROYALE_HOME=%~dp0..) else echo Using Royale SDK: %ROYALE_HOME%
 
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m  -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\lib\royale-swcdepends.jar" %*
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m  -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\lib\compiler-swcdepends.jar" %*
diff --git a/distribution/src/main/resources/bin/swfdump b/distribution/src/main/resources/bin/swfdump
index e4d6364..55c3ea0 100644
--- a/distribution/src/main/resources/bin/swfdump
+++ b/distribution/src/main/resources/bin/swfdump
@@ -29,7 +29,7 @@ then
     SCRIPT_HOME=`dirname "$0"`
     ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
 else
-    echo Using Royale codebase: $ROYALE_COMPILER_HOME
+    echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
 fi
 
 case `uname` in


[royale-asjs] 01/03: Revert "remove files in distribution bin that seems obsolete"

Posted by ca...@apache.org.
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

commit a02f948e4d44da7a2359a30e0a5b695ffc9a4af8
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Sep 9 10:46:26 2018 +0200

    Revert "remove files in distribution bin that seems obsolete"
    
    This reverts commit 9680f26537bb08d2a9859b3716ff0cd1002502ac.
---
 distribution/src/main/resources/bin/acompc         | 29 +++++++++
 distribution/src/main/resources/bin/acompc.bat     | 26 ++++++++
 distribution/src/main/resources/bin/amxmlc         | 29 +++++++++
 distribution/src/main/resources/bin/amxmlc.bat     | 26 ++++++++
 distribution/src/main/resources/bin/compc          | 71 ++++++++++++++++++++++
 distribution/src/main/resources/bin/compc.bat      | 32 ++++++++++
 distribution/src/main/resources/bin/mxmlc          | 71 ++++++++++++++++++++++
 distribution/src/main/resources/bin/mxmlc.bat      | 33 ++++++++++
 distribution/src/main/resources/bin/optimizer      | 62 +++++++++++++++++++
 distribution/src/main/resources/bin/optimizer.bat  | 27 ++++++++
 distribution/src/main/resources/bin/swcdepends     | 71 ++++++++++++++++++++++
 distribution/src/main/resources/bin/swcdepends.bat | 31 ++++++++++
 distribution/src/main/resources/bin/swfdump        | 62 +++++++++++++++++++
 distribution/src/main/resources/bin/swfdump.bat    | 26 ++++++++
 14 files changed, 596 insertions(+)

diff --git a/distribution/src/main/resources/bin/acompc b/distribution/src/main/resources/bin/acompc
new file mode 100644
index 0000000..767bd7f
--- /dev/null
+++ b/distribution/src/main/resources/bin/acompc
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+################################################################################
+##
+##  Licensed to the Apache Software Foundation (ASF) under one or more
+##  contributor license agreements.  See the NOTICE file distributed with
+##  this work for additional information regarding copyright ownership.
+##  The ASF licenses this file to You under the Apache License, Version 2.0
+##  (the "License"); you may not use this file except in compliance with
+##  the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+##  Unless required by applicable law or agreed to in writing, software
+##  distributed under the License is distributed on an "AS IS" BASIS,
+##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##  See the License for the specific language governing permissions and
+##  limitations under the License.
+##
+################################################################################
+
+#
+# acompc shell script to launch compiler-compc.jar on OSX, Unix, or Cygwin to
+# compile SWC libraries for Adobe AIR.
+# In Windows Command Prompt, use acompc.bat instead.
+#
+
+compc=`dirname "$0"`/compc
+"$compc" +configname=air "$@"
diff --git a/distribution/src/main/resources/bin/acompc.bat b/distribution/src/main/resources/bin/acompc.bat
new file mode 100644
index 0000000..519411d
--- /dev/null
+++ b/distribution/src/main/resources/bin/acompc.bat
@@ -0,0 +1,26 @@
+@echo off
+
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements.  See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License.  You may obtain a copy of the License at
+rem
+rem     http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+rem
+
+rem
+rem acompc.bat script to launch compiler-compc.jar in Windows Command Prompt to
+rem compile SWC libraries for Adobe AIR.
+rem On OSX, Unix, or Cygwin, use the acompc shell script instead.
+rem
+
+"%~dp0compc.bat" +configname=air %*
diff --git a/distribution/src/main/resources/bin/amxmlc b/distribution/src/main/resources/bin/amxmlc
new file mode 100644
index 0000000..f675543
--- /dev/null
+++ b/distribution/src/main/resources/bin/amxmlc
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+################################################################################
+##
+##  Licensed to the Apache Software Foundation (ASF) under one or more
+##  contributor license agreements.  See the NOTICE file distributed with
+##  this work for additional information regarding copyright ownership.
+##  The ASF licenses this file to You under the Apache License, Version 2.0
+##  (the "License"); you may not use this file except in compliance with
+##  the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+##  Unless required by applicable law or agreed to in writing, software
+##  distributed under the License is distributed on an "AS IS" BASIS,
+##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##  See the License for the specific language governing permissions and
+##  limitations under the License.
+##
+################################################################################
+
+#
+# amxmlc shell script to launch compiler-mxmlc.jar on OSX, Unix, or Cygwin to
+# compile SWF applications for Adobe AIR.
+# In Windows Command Prompt, use amxmlc.bat instead.
+#
+
+mxmlc=`dirname "$0"`/mxmlc
+"$mxmlc" +configname=air "$@"
diff --git a/distribution/src/main/resources/bin/amxmlc.bat b/distribution/src/main/resources/bin/amxmlc.bat
new file mode 100644
index 0000000..d476061
--- /dev/null
+++ b/distribution/src/main/resources/bin/amxmlc.bat
@@ -0,0 +1,26 @@
+@echo off
+
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements.  See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License.  You may obtain a copy of the License at
+rem
+rem     http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+rem
+
+rem
+rem amxmlc.bat script to launch compiler-mxmlc.jar in Windows Command Prompt to
+rem compile SWF applications for Adobe AIR.
+rem On OSX, Unix, or Cygwin, use the amxmlc shell script instead.
+rem
+
+"%~dp0mxmlc.bat" +configname=air %*
diff --git a/distribution/src/main/resources/bin/compc b/distribution/src/main/resources/bin/compc
new file mode 100755
index 0000000..4a37dd8
--- /dev/null
+++ b/distribution/src/main/resources/bin/compc
@@ -0,0 +1,71 @@
+#!/bin/sh
+
+################################################################################
+##
+##  Licensed to the Apache Software Foundation (ASF) under one or more
+##  contributor license agreements.  See the NOTICE file distributed with
+##  this work for additional information regarding copyright ownership.
+##  The ASF licenses this file to You under the Apache License, Version 2.0
+##  (the "License"); you may not use this file except in compliance with
+##  the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+##  Unless required by applicable law or agreed to in writing, software
+##  distributed under the License is distributed on an "AS IS" BASIS,
+##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##  See the License for the specific language governing permissions and
+##  limitations under the License.
+##
+################################################################################
+
+#
+# compc shell script to launch compiler-compc.jar on OSX, Unix, or Cygwin.
+# In Windows Command Prompt, use compc.bat instead.
+#
+
+if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
+then
+    SCRIPT_HOME=`dirname "$0"`
+    ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
+else
+    echo Using Royale codebase: $ROYALE_COMPILER_HOME
+fi
+
+if [ "x${ROYALE_HOME}" = "x" ]
+then
+    SCRIPT_HOME=`dirname "$0"`
+    ROYALE_HOME=${SCRIPT_HOME}/..
+else
+    echo Using Royale SDK: $ROYALE_HOME
+fi
+
+case `uname` in
+		CYGWIN*)
+			OS="Windows"
+		;;
+		*)
+			OS=Unix
+esac
+
+D32=''
+
+if [ $OS = "Windows" ]; then
+
+	ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
+	ROYALE_HOME=`cygpath -m $ROYALE_HOME`
+
+elif [ $OS = "Unix" ]; then
+
+    check64="`java -version 2>&1 | grep -i 64-Bit`"
+    isOSX="`uname | grep -i Darwin`"
+    javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
+    
+    if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
+        D32='-d32'
+    fi
+fi
+
+VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
+
+java $VMARGS $D32 $SETUP_SH_VMARGS  -Droyalelib="$ROYALE_HOME/frameworks" -jar "${ROYALE_COMPILER_HOME}/lib/compiler-compc.jar" "$@"
diff --git a/distribution/src/main/resources/bin/compc.bat b/distribution/src/main/resources/bin/compc.bat
new file mode 100644
index 0000000..54b9ca3
--- /dev/null
+++ b/distribution/src/main/resources/bin/compc.bat
@@ -0,0 +1,32 @@
+@echo off
+
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements.  See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License.  You may obtain a copy of the License at
+rem
+rem     http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+rem
+
+rem
+rem compc.bat script to launch compiler-compc.jar in Windows Command Prompt.
+rem On OSX, Unix, or Cygwin, use the compc shell script instead.
+rem
+
+setlocal
+
+if "x%ROYALE_COMPILER_HOME%"=="x"  (set ROYALE_COMPILER_HOME=%~dp0..) else echo Using Royale codebase: %ROYALE_COMPILER_HOME%
+
+if "x%ROYALE_HOME%"=="x" (set ROYALE_HOME=%~dp0..) else echo Using Royale SDK: %ROYALE_HOME%
+
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m  -Droyalelib="%ROYALE_HOME%/frameworks" -jar "%ROYALE_COMPILER_HOME%\lib\compiler-compc.jar" %*
+
diff --git a/distribution/src/main/resources/bin/mxmlc b/distribution/src/main/resources/bin/mxmlc
new file mode 100755
index 0000000..061cdf4
--- /dev/null
+++ b/distribution/src/main/resources/bin/mxmlc
@@ -0,0 +1,71 @@
+#!/bin/sh
+
+################################################################################
+##
+##  Licensed to the Apache Software Foundation (ASF) under one or more
+##  contributor license agreements.  See the NOTICE file distributed with
+##  this work for additional information regarding copyright ownership.
+##  The ASF licenses this file to You under the Apache License, Version 2.0
+##  (the "License"); you may not use this file except in compliance with
+##  the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+##  Unless required by applicable law or agreed to in writing, software
+##  distributed under the License is distributed on an "AS IS" BASIS,
+##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##  See the License for the specific language governing permissions and
+##  limitations under the License.
+##
+################################################################################
+
+#
+# mxmlc shell script to launch compiler-mxmlc.jar on OSX, Unix, or Cygwin.
+# In Windows Command Prompt, use mxmlc.bat instead.
+#
+
+if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
+then
+    SCRIPT_HOME=`dirname "$0"`
+    ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
+else
+    echo Using Royale codebase: $ROYALE_COMPILER_HOME
+fi
+
+if [ "x${ROYALE_HOME}" = "x" ]
+then
+    SCRIPT_HOME=`dirname "$0"`
+    ROYALE_HOME=${SCRIPT_HOME}/..
+else
+    echo Using Royale SDK: $ROYALE_HOME
+fi
+
+case `uname` in
+		CYGWIN*)
+			OS="Windows"
+		;;
+		*)
+			OS=Unix
+esac
+
+D32=''
+
+if [ $OS = "Windows" ]; then
+
+	ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
+	ROYALE_HOME=`cygpath -m $ROYALE_HOME`
+
+elif [ $OS = "Unix" ]; then
+
+    check64="`java -version 2>&1 | grep -i 64-Bit`"
+    isOSX="`uname | grep -i Darwin`"
+    javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
+    
+    if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
+        D32='-d32'
+    fi
+fi
+
+VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
+
+java $VMARGS $D32 $SETUP_SH_VMARGS  -Droyalelib="$ROYALE_HOME/frameworks" -jar "${ROYALE_COMPILER_HOME}/lib/compiler-mxmlc.jar" "$@"
diff --git a/distribution/src/main/resources/bin/mxmlc.bat b/distribution/src/main/resources/bin/mxmlc.bat
new file mode 100644
index 0000000..37458cf
--- /dev/null
+++ b/distribution/src/main/resources/bin/mxmlc.bat
@@ -0,0 +1,33 @@
+@echo off
+
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements.  See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License.  You may obtain a copy of the License at
+rem
+rem     http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+rem
+
+rem
+rem mxmlc.bat script to launch compiler-mxmlc.jar in Windows Command Prompt.
+rem On OSX, Unix, or Cygwin, use the mxmlc shell script instead.
+rem
+
+setlocal
+
+if "x%ROYALE_COMPILER_HOME%"=="x"  (set ROYALE_COMPILER_HOME=%~dp0..) else echo Using Royale codebase: %ROYALE_COMPILER_HOME%
+
+if "x%ROYALE_HOME%"=="x" (set ROYALE_HOME=%~dp0..) else echo Using Royale SDK: %ROYALE_HOME%
+
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m  -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\lib\compiler-mxmlc.jar" %*
+
+
diff --git a/distribution/src/main/resources/bin/optimizer b/distribution/src/main/resources/bin/optimizer
new file mode 100644
index 0000000..b7c68e7
--- /dev/null
+++ b/distribution/src/main/resources/bin/optimizer
@@ -0,0 +1,62 @@
+#!/bin/sh
+
+################################################################################
+##
+##  Licensed to the Apache Software Foundation (ASF) under one or more
+##  contributor license agreements.  See the NOTICE file distributed with
+##  this work for additional information regarding copyright ownership.
+##  The ASF licenses this file to You under the Apache License, Version 2.0
+##  (the "License"); you may not use this file except in compliance with
+##  the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+##  Unless required by applicable law or agreed to in writing, software
+##  distributed under the License is distributed on an "AS IS" BASIS,
+##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##  See the License for the specific language governing permissions and
+##  limitations under the License.
+##
+################################################################################
+
+#
+# foptimizer shell script to launch the optimizer from compiler-optimizer.jar on
+# OSX, Unix, or Cygwin. In Windows Command Prompt, use foptimizer.bat instead.
+#
+
+if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
+then
+    SCRIPT_HOME=`dirname "$0"`
+    ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
+else
+    echo Using Royale codebase: $ROYALE_COMPILER_HOME
+fi
+
+case `uname` in
+		CYGWIN*)
+			OS="Windows"
+		;;
+		*)
+			OS=Unix
+esac
+
+D32=''
+
+if [ $OS = "Windows" ]; then
+
+	ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
+
+elif [ $OS = "Unix" ]; then
+
+    check64="`java -version 2>&1 | grep -i 64-Bit`"
+    isOSX="`uname | grep -i Darwin`"
+    javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
+    
+    if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
+        D32='-d32'
+    fi
+fi
+
+VMARGS="-Xms32m -Xmx512m -Dsun.io.useCanonCaches=false "
+
+java $VMARGS $D32 $SETUP_SH_VMARGS -jar "${ROYALE_COMPILER_HOME}/lib/compiler-optimizer.jar" "$@"
diff --git a/distribution/src/main/resources/bin/optimizer.bat b/distribution/src/main/resources/bin/optimizer.bat
new file mode 100644
index 0000000..1ea9fdf
--- /dev/null
+++ b/distribution/src/main/resources/bin/optimizer.bat
@@ -0,0 +1,27 @@
+@echo off
+
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements.  See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License.  You may obtain a copy of the License at
+rem
+rem     http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+rem
+
+rem
+rem foptimizer.bat script to launch the compiler-optimizer.jar in a Windows
+rem Command Prompt. On OSX, Unix, or Cygwin, use the foptimizer shell script
+rem instead.
+rem
+
+@java -Dsun.io.useCanonCaches=false -Dapplication.home="%~dp0.." -Xms32m -Xmx512m -jar "%~dp0..\lib\compiler-optimizer.jar" %*
+
diff --git a/distribution/src/main/resources/bin/swcdepends b/distribution/src/main/resources/bin/swcdepends
new file mode 100644
index 0000000..2838227
--- /dev/null
+++ b/distribution/src/main/resources/bin/swcdepends
@@ -0,0 +1,71 @@
+#!/bin/sh
+
+################################################################################
+##
+##  Licensed to the Apache Software Foundation (ASF) under one or more
+##  contributor license agreements.  See the NOTICE file distributed with
+##  this work for additional information regarding copyright ownership.
+##  The ASF licenses this file to You under the Apache License, Version 2.0
+##  (the "License"); you may not use this file except in compliance with
+##  the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+##  Unless required by applicable law or agreed to in writing, software
+##  distributed under the License is distributed on an "AS IS" BASIS,
+##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##  See the License for the specific language governing permissions and
+##  limitations under the License.
+##
+################################################################################
+
+#
+# fasc shell script to launch compiler-asc.jar on OSX, Unix, or Cygwin.
+# In Windows Command Prompt, use fasc.bat instead.
+#
+
+if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
+then
+    SCRIPT_HOME=`dirname "$0"`
+    ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
+else
+    echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
+fi
+
+if [ "x${ROYALE_HOME}" = "x" ]
+then
+    SCRIPT_HOME=`dirname "$0"`
+    ROYALE_HOME=${SCRIPT_HOME}/..
+else
+    echo Using Royale SDK: $ROYALE_HOME
+fi
+
+case `uname` in
+		CYGWIN*)
+			OS="Windows"
+		;;
+		*)
+			OS=Unix
+esac
+
+D32=''
+
+if [ $OS = "Windows" ]; then
+
+	ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
+	ROYALE_HOME=`cygpath -m $ROYALE_HOME`
+
+elif [ $OS = "Unix" ]; then
+
+    check64="`java -version 2>&1 | grep -i 64-Bit`"
+    isOSX="`uname | grep -i Darwin`"
+    javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
+    
+    if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
+        D32='-d32'
+    fi
+fi
+
+VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
+
+java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalelib="$ROYALE_HOME/frameworks" -jar "${ROYALE_COMPILER_HOME}/lib/royale-swcdepends.jar" "$@"
diff --git a/distribution/src/main/resources/bin/swcdepends.bat b/distribution/src/main/resources/bin/swcdepends.bat
new file mode 100644
index 0000000..b4c7a3e
--- /dev/null
+++ b/distribution/src/main/resources/bin/swcdepends.bat
@@ -0,0 +1,31 @@
+@echo off
+
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements.  See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License.  You may obtain a copy of the License at
+rem
+rem     http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+rem
+
+rem
+rem swcdepends.bat script to launch royale-swcdepends.jar in Windows Command Prompt.
+rem On OSX, Unix, or Cygwin, use the swcdepends shell script instead.
+rem
+
+setlocal
+
+if "x%ROYALE_COMPILER_HOME%"=="x"  (set ROYALE_COMPILER_HOME=%~dp0..) else echo Using Royale codebase: %ROYALE_COMPILER_HOME%
+
+if "x%ROYALE_HOME%"=="x" (set ROYALE_HOME=%~dp0..) else echo Using Royale SDK: %ROYALE_HOME%
+
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m  -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\lib\royale-swcdepends.jar" %*
diff --git a/distribution/src/main/resources/bin/swfdump b/distribution/src/main/resources/bin/swfdump
new file mode 100644
index 0000000..e4d6364
--- /dev/null
+++ b/distribution/src/main/resources/bin/swfdump
@@ -0,0 +1,62 @@
+#!/bin/sh
+
+################################################################################
+##
+##  Licensed to the Apache Software Foundation (ASF) under one or more
+##  contributor license agreements.  See the NOTICE file distributed with
+##  this work for additional information regarding copyright ownership.
+##  The ASF licenses this file to You under the Apache License, Version 2.0
+##  (the "License"); you may not use this file except in compliance with
+##  the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+##  Unless required by applicable law or agreed to in writing, software
+##  distributed under the License is distributed on an "AS IS" BASIS,
+##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##  See the License for the specific language governing permissions and
+##  limitations under the License.
+##
+################################################################################
+
+#
+# fasc shell script to launch compiler-asc.jar on OSX, Unix, or Cygwin.
+# In Windows Command Prompt, use fasc.bat instead.
+#
+
+if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
+then
+    SCRIPT_HOME=`dirname "$0"`
+    ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
+else
+    echo Using Royale codebase: $ROYALE_COMPILER_HOME
+fi
+
+case `uname` in
+		CYGWIN*)
+			OS="Windows"
+		;;
+		*)
+			OS=Unix
+esac
+
+D32=''
+
+if [ $OS = "Windows" ]; then
+
+	ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
+
+elif [ $OS = "Unix" ]; then
+
+    check64="`java -version 2>&1 | grep -i 64-Bit`"
+    isOSX="`uname | grep -i Darwin`"
+    javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
+    
+    if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
+        D32='-d32'
+    fi
+fi
+
+VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
+
+java $VMARGS $D32 $SETUP_SH_VMARGS -jar "${ROYALE_COMPILER_HOME}/lib/compiler-swfdump.jar" "$@"
diff --git a/distribution/src/main/resources/bin/swfdump.bat b/distribution/src/main/resources/bin/swfdump.bat
new file mode 100644
index 0000000..bc441bb
--- /dev/null
+++ b/distribution/src/main/resources/bin/swfdump.bat
@@ -0,0 +1,26 @@
+@echo off
+
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements.  See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License.  You may obtain a copy of the License at
+rem
+rem     http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+rem
+
+rem
+rem fasc.bat script to launch compiler-asc.jar in Windows Command Prompt.
+rem On OSX, Unix, or Cygwin, use the fasc shell script instead.
+rem
+
+@java -Dsun.io.useCanonCaches=false -Dapplication.home="%~dp0.." -Xms32m -Xmx512m -jar "%~dp0..\lib\compiler-swfdump.jar" %*
+