You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2019/07/15 18:52:01 UTC

[royale-asjs] branch develop updated: Updated JS libraries to properly use external-library-path instead of library-path for dependencies

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

joshtynjala 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 f2a37a8  Updated JS libraries to properly use external-library-path instead of library-path for dependencies
f2a37a8 is described below

commit f2a37a8ed6ca06fcf0ca10b2c2e46be1ae621d22
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Mon Jul 15 11:35:41 2019 -0700

    Updated JS libraries to properly use external-library-path instead of library-path for dependencies
    
    This fixes the issue where CSS was added to app from libraries that were not actually used
---
 frameworks/ace-config-template.xml                        |  2 +-
 frameworks/air-config-template.xml                        |  1 +
 frameworks/createjs-config-template.xml                   |  3 ++-
 frameworks/flex-config-template.xml                       |  1 +
 frameworks/jquery-config-template.xml                     |  4 ++--
 frameworks/js-config-template.xml                         |  4 ++--
 .../projects/AceJS/src/main/config/compile-js-config.xml  | 10 +++-------
 .../BasicJS/src/main/config/compile-js-config.xml         | 10 +++-------
 .../BindingJS/src/main/config/compile-js-config.xml       | 10 +++-------
 .../ChartsJS/src/main/config/compile-js-config.xml        | 11 ++++-------
 .../CollectionsJS/src/main/config/compile-js-config.xml   | 10 +++-------
 .../projects/CoreJS/src/main/config/compile-js-config.xml |  7 +++----
 .../CreateJSJS/src/main/config/compile-js-config.xml      |  8 ++------
 .../DragDropJS/src/main/config/compile-js-config.xml      | 12 +++++-------
 .../EffectsJS/src/main/config/compile-js-config.xml       | 12 ++++--------
 .../ExpressJS/src/main/config/compile-js-config.xml       | 10 +++-------
 .../projects/FlatJS/src/main/config/compile-js-config.xml | 10 +++-------
 .../FontAwesomeJS/src/main/config/compile-js-config.xml   | 10 +++-------
 .../FormattersJS/src/main/config/compile-js-config.xml    | 10 +++-------
 .../GoogleMapsJS/src/main/config/compile-js-config.xml    | 15 ++++-----------
 .../GraphicsJS/src/main/config/compile-js-config.xml      | 10 +++-------
 .../HTML5JS/src/main/config/compile-js-config.xml         | 10 +++-------
 .../projects/HTMLJS/src/main/config/compile-js-config.xml | 10 +++-------
 .../IconsJS/src/main/config/compile-js-config.xml         | 10 +++-------
 .../JQueryJS/src/main/config/compile-js-config.xml        | 10 +++-------
 .../JewelJS/src/main/config/compile-js-config.xml         | 10 +++-------
 .../LanguageJS/src/main/config/compile-js-config.xml      |  6 ++----
 .../MXRoyaleJS/src/main/config/compile-js-config.xml      | 10 +++-------
 .../src/main/config/compile-js-config.xml                 |  5 +++--
 .../MobileJS/src/main/config/compile-js-config.xml        | 15 ++++-----------
 .../NetworkJS/src/main/config/compile-js-config.xml       | 10 +++-------
 .../ReflectionJS/src/main/config/compile-js-config.xml    | 11 +++--------
 .../RoyaleSiteJS/src/main/config/compile-js-config.xml    | 10 +++-------
 .../RoyaleUnitJS/src/main/config/compile-js-config.xml    |  8 ++------
 .../SparkRoyaleJS/src/main/config/compile-js-config.xml   | 10 +++-------
 .../StorageJS/src/main/config/compile-js-config.xml       | 15 ++++-----------
 .../projects/TLFJS/src/main/config/compile-js-config.xml  | 14 +++-----------
 .../projects/TextJS/src/main/config/compile-js-config.xml | 14 +++-----------
 .../projects/XMLJS/src/main/config/compile-js-config.xml  |  9 ++-------
 frameworks/node-config-template.xml                       |  4 ++--
 .../src/test/royale/FlexUnitRoyaleApplication-config.xml  |  1 +
 .../src/test/royale/FlexUnitRoyaleApplication-config.xml  |  1 +
 .../src/test/royale/FlexUnitRoyaleApplication-config.xml  |  1 +
 frameworks/royale-config-template.xml                     |  1 +
 44 files changed, 117 insertions(+), 248 deletions(-)

diff --git a/frameworks/ace-config-template.xml b/frameworks/ace-config-template.xml
index eb1b412..830df5c 100644
--- a/frameworks/ace-config-template.xml
+++ b/frameworks/ace-config-template.xml
@@ -58,6 +58,7 @@
       <!-- linking.                                                             -->
       <external-library-path>
           <path-element>../js/libs/js.swc</path-element>
+          <path-element>../js/libs/GCL.swc</path-element>
           <path-element>../js/libs/ace-1.2.3.swc</path-element>
       </external-library-path>
 
@@ -76,7 +77,6 @@
       <!-- List of SWC files or directories that contain SWC files. -->
       <library-path>
          <path-element>js/libs/LanguageJS.swc</path-element>
-         <path-element>../js/libs/GCL.swc</path-element>
       </library-path>
 
       <allow-subclass-overrides>true</allow-subclass-overrides>
diff --git a/frameworks/air-config-template.xml b/frameworks/air-config-template.xml
index b966740..f7d0a28 100644
--- a/frameworks/air-config-template.xml
+++ b/frameworks/air-config-template.xml
@@ -76,6 +76,7 @@
       <!-- linking.                                                             -->
       <js-external-library-path>
           <path-element>../js/libs/js.swc</path-element>
+          <path-element>../js/libs/GCL.swc</path-element>
       </js-external-library-path>
       
       <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
diff --git a/frameworks/createjs-config-template.xml b/frameworks/createjs-config-template.xml
index ec65c34..2c42d4e 100644
--- a/frameworks/createjs-config-template.xml
+++ b/frameworks/createjs-config-template.xml
@@ -59,6 +59,7 @@
       <!-- linking.                                                             -->
       <external-library-path>
           <path-element>../js/libs/js.swc</path-element>
+          <path-element>../js/libs/GCL.swc</path-element>
           <path-element>../js/libs/createjs.swc</path-element>
       </external-library-path>
 
@@ -76,7 +77,7 @@
 
       <!-- List of SWC files or directories that contain SWC files. -->
       <library-path>
-         <path-element>../js/libs/GCL.swc</path-element>
+          <path-element>js/libs/LanguageJS.swc</path-element>
       </library-path>
 
       <allow-subclass-overrides>true</allow-subclass-overrides>
diff --git a/frameworks/flex-config-template.xml b/frameworks/flex-config-template.xml
index 18b45b1..626a1f2 100644
--- a/frameworks/flex-config-template.xml
+++ b/frameworks/flex-config-template.xml
@@ -77,6 +77,7 @@
       <!-- linking.                                                             -->
       <js-external-library-path>
           <path-element>../js/libs/js.swc</path-element>
+          <path-element>../js/libs/GCL.swc</path-element>
       </js-external-library-path>
 
       <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
diff --git a/frameworks/jquery-config-template.xml b/frameworks/jquery-config-template.xml
index 4f2a600..f720064 100644
--- a/frameworks/jquery-config-template.xml
+++ b/frameworks/jquery-config-template.xml
@@ -58,6 +58,7 @@
       <!-- linking.                                                             -->
       <external-library-path>
           <path-element>../js/libs/js.swc</path-element>
+          <path-element>../js/libs/GCL.swc</path-element>
           <path-element>../js/libs/jquery.swc</path-element>
       </external-library-path>
 
@@ -75,8 +76,7 @@
 
       <!-- List of SWC files or directories that contain SWC files. -->
       <library-path>
-         <path-element>js/libs/LanguageJS.swc</path-element>
-         <path-element>../js/libs/GCL.swc</path-element>
+          <path-element>js/libs/LanguageJS.swc</path-element>
       </library-path>
 
       <allow-subclass-overrides>true</allow-subclass-overrides>
diff --git a/frameworks/js-config-template.xml b/frameworks/js-config-template.xml
index 971b79d..ceefa59 100644
--- a/frameworks/js-config-template.xml
+++ b/frameworks/js-config-template.xml
@@ -58,6 +58,7 @@
       <!-- linking.                                                             -->
       <external-library-path>
           <path-element>../js/libs/js.swc</path-element>
+          <path-element>../js/libs/GCL.swc</path-element>
       </external-library-path>
 
       <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
@@ -74,8 +75,7 @@
 
       <!-- List of SWC files or directories that contain SWC files. -->
       <library-path>
-         <path-element>js/libs/LanguageJS.swc</path-element>
-         <path-element>../js/libs/GCL.swc</path-element>
+          <path-element>js/libs/LanguageJS.swc</path-element>
       </library-path>
 
       <mxml>
diff --git a/frameworks/js/projects/AceJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/AceJS/src/main/config/compile-js-config.xml
index 3a6a286..1a00aa6 100644
--- a/frameworks/js/projects/AceJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/AceJS/src/main/config/compile-js-config.xml
@@ -54,17 +54,13 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/BindingJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/CollectionsJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/BasicJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/BasicJS/src/main/config/compile-js-config.xml
index ba95ad1..3027f11 100644
--- a/frameworks/js/projects/BasicJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/BasicJS/src/main/config/compile-js-config.xml
@@ -54,17 +54,13 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/BindingJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/GraphicsJS.swc</path-element>
             <path-element>../../../../../libs/CollectionsJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/BindingJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/BindingJS/src/main/config/compile-js-config.xml
index fd428ce..6d49555 100644
--- a/frameworks/js/projects/BindingJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/BindingJS/src/main/config/compile-js-config.xml
@@ -54,14 +54,10 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-             if these swcs are on the external-library-path then their requires
-             will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/ChartsJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/ChartsJS/src/main/config/compile-js-config.xml
index 16d93d5..0e4cc9c 100644
--- a/frameworks/js/projects/ChartsJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/ChartsJS/src/main/config/compile-js-config.xml
@@ -55,16 +55,13 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-             if these swcs are on the external-library-path then their requires
-             will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/GraphicsJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
-        </library-path>
+            <path-element>../../../../../libs/CollectionsJS.swc</path-element>
+        </external-library-path>
 
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/CollectionsJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/CollectionsJS/src/main/config/compile-js-config.xml
index 688f9b4..528ecd8 100644
--- a/frameworks/js/projects/CollectionsJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/CollectionsJS/src/main/config/compile-js-config.xml
@@ -54,14 +54,10 @@
 
         <locale/>
 
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-             if these swcs are on the external-library-path then their requires
-             will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
-        </library-path>
+        </external-library-path>
 
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/CoreJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/CoreJS/src/main/config/compile-js-config.xml
index 075aba7..f76433e 100644
--- a/frameworks/js/projects/CoreJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/CoreJS/src/main/config/compile-js-config.xml
@@ -61,10 +61,9 @@
             </namespace>
         </namespaces>
 
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-          <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-        </library-path>
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
+        </external-library-path>
         
         <source-path>
             <path-element>../../../../../../projects/Core/src/main/royale</path-element>
diff --git a/frameworks/js/projects/CreateJSJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/CreateJSJS/src/main/config/compile-js-config.xml
index 0bc94a6..4b0b850 100644
--- a/frameworks/js/projects/CreateJSJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/CreateJSJS/src/main/config/compile-js-config.xml
@@ -28,10 +28,6 @@
         </targets>
         <strict-xml>true</strict-xml>
 
-        <external-library-path append="true">
-            <path-element>../../../../../../../js/libs/createjs.swc</path-element>
-        </external-library-path>
-
 		<mxml>
 			<children-as-data>true</children-as-data>
 		</mxml>
@@ -69,11 +65,11 @@
             <path-element>../../../../../../projects/CreateJS/src/main/royale</path-element>
         </source-path>
         
-        <library-path>
+        <external-library-path append="true">
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
             <path-element>../../../../../libs/GraphicsJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <warn-no-constructor>false</warn-no-constructor>
     </compiler>
diff --git a/frameworks/js/projects/DragDropJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/DragDropJS/src/main/config/compile-js-config.xml
index 167c800..89fe58f 100644
--- a/frameworks/js/projects/DragDropJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/DragDropJS/src/main/config/compile-js-config.xml
@@ -54,15 +54,13 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-             if these swcs are on the external-library-path then their requires
-             will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
-        </library-path>
+            <path-element>../../../../../libs/CollectionsJS.swc</path-element>
+            <path-element>../../../../../libs/GraphicsJS.swc</path-element>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/EffectsJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/EffectsJS/src/main/config/compile-js-config.xml
index f9ccf29..79b44af 100644
--- a/frameworks/js/projects/EffectsJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/EffectsJS/src/main/config/compile-js-config.xml
@@ -54,15 +54,11 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-             if these swcs are on the external-library-path then their requires
-             will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
-			<path-element>../../../../../libs/BasicJS.swc</path-element>
-        </library-path>
+            <path-element>../../../../../libs/BasicJS.swc</path-element>
+        </external-library-path>
         
         <source-path>
             <path-element>../../../../../../projects/Effects/src/main/royale</path-element>
diff --git a/frameworks/js/projects/ExpressJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/ExpressJS/src/main/config/compile-js-config.xml
index 76ae536..4c47ee8 100644
--- a/frameworks/js/projects/ExpressJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/ExpressJS/src/main/config/compile-js-config.xml
@@ -54,19 +54,15 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/BindingJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/GraphicsJS.swc</path-element>
             <path-element>../../../../../libs/CollectionsJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
             <path-element>../../../../../libs/DragDropJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/FlatJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/FlatJS/src/main/config/compile-js-config.xml
index 2130a75..7378e55 100644
--- a/frameworks/js/projects/FlatJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/FlatJS/src/main/config/compile-js-config.xml
@@ -54,15 +54,11 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-             if these swcs are on the external-library-path then their requires
-             will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/FontAwesomeJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/FontAwesomeJS/src/main/config/compile-js-config.xml
index a9b4a3c..4b123ff 100644
--- a/frameworks/js/projects/FontAwesomeJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/FontAwesomeJS/src/main/config/compile-js-config.xml
@@ -54,15 +54,11 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-             if these swcs are on the external-library-path then their requires
-             will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/FormattersJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/FormattersJS/src/main/config/compile-js-config.xml
index 8d43f14..b290dab 100644
--- a/frameworks/js/projects/FormattersJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/FormattersJS/src/main/config/compile-js-config.xml
@@ -54,15 +54,11 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-             if these swcs are on the external-library-path then their requires
-             will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/GoogleMapsJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/GoogleMapsJS/src/main/config/compile-js-config.xml
index d5ef575..b790494 100644
--- a/frameworks/js/projects/GoogleMapsJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/GoogleMapsJS/src/main/config/compile-js-config.xml
@@ -28,10 +28,6 @@
         </targets>
         <strict-xml>true</strict-xml>
 
-        <external-library-path append="true">
-            <path-element>../../../../../../../js/libs/google_maps.swc</path-element>
-        </external-library-path>
-
 		<mxml>
 			<children-as-data>true</children-as-data>
 		</mxml>
@@ -58,15 +54,12 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-             if these swcs are on the external-library-path then their requires
-             will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../../../js/libs/google_maps.swc</path-element>
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/GraphicsJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/GraphicsJS/src/main/config/compile-js-config.xml
index 2e34366..9191ff2 100644
--- a/frameworks/js/projects/GraphicsJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/GraphicsJS/src/main/config/compile-js-config.xml
@@ -54,14 +54,10 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/HTML5JS/src/main/config/compile-js-config.xml b/frameworks/js/projects/HTML5JS/src/main/config/compile-js-config.xml
index ca9fcce..1b361d5 100644
--- a/frameworks/js/projects/HTML5JS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/HTML5JS/src/main/config/compile-js-config.xml
@@ -54,15 +54,11 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-             if these swcs are on the external-library-path then their requires
-             will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/HTMLJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/HTMLJS/src/main/config/compile-js-config.xml
index 5c75026..7e394ea 100644
--- a/frameworks/js/projects/HTMLJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/HTMLJS/src/main/config/compile-js-config.xml
@@ -54,18 +54,14 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/BindingJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/GraphicsJS.swc</path-element>
             <path-element>../../../../../libs/CollectionsJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/IconsJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/IconsJS/src/main/config/compile-js-config.xml
index 828d687..2ea92f8 100644
--- a/frameworks/js/projects/IconsJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/IconsJS/src/main/config/compile-js-config.xml
@@ -54,15 +54,11 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
-        </library-path>
+        </external-library-path>
 
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/JQueryJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/JQueryJS/src/main/config/compile-js-config.xml
index e3f2cdc..a5e0823 100644
--- a/frameworks/js/projects/JQueryJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/JQueryJS/src/main/config/compile-js-config.xml
@@ -54,18 +54,14 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/BindingJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/GraphicsJS.swc</path-element>
             <path-element>../../../../../libs/CollectionsJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/JewelJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/JewelJS/src/main/config/compile-js-config.xml
index 508b8e2..ed85254 100644
--- a/frameworks/js/projects/JewelJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/JewelJS/src/main/config/compile-js-config.xml
@@ -54,12 +54,8 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/BindingJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/GraphicsJS.swc</path-element>
@@ -67,7 +63,7 @@
             <path-element>../../../../../libs/BasicJS.swc</path-element>
             <path-element>../../../../../libs/HTMLJS.swc</path-element>
             <path-element>../../../../../libs/FormattersJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/LanguageJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/LanguageJS/src/main/config/compile-js-config.xml
index bd8fc2e..e00d663 100644
--- a/frameworks/js/projects/LanguageJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/LanguageJS/src/main/config/compile-js-config.xml
@@ -54,10 +54,8 @@
 	  
         <locale/>
 
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-          <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-        </library-path>
+        <!-- clear the default library-path because it contains this library -->
+        <library-path />
         
         <source-path>
           <path-element>../../../../../../projects/Language/src/main/royale</path-element>
diff --git a/frameworks/js/projects/MXRoyaleJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/MXRoyaleJS/src/main/config/compile-js-config.xml
index a5fd3dd..1b48205 100644
--- a/frameworks/js/projects/MXRoyaleJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/MXRoyaleJS/src/main/config/compile-js-config.xml
@@ -56,12 +56,8 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-             if these swcs are on the external-library-path then their requires
-             will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/BindingJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
@@ -73,7 +69,7 @@
 	          <path-element>../../../../../libs/NetworkJS.swc</path-element>
             <path-element>../../../../../libs/ReflectionJS.swc</path-element>
             <path-element>../../../../../libs/XMLJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/MaterialDesignLiteJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/MaterialDesignLiteJS/src/main/config/compile-js-config.xml
index b85808c..2f7fa77 100644
--- a/frameworks/js/projects/MaterialDesignLiteJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/MaterialDesignLiteJS/src/main/config/compile-js-config.xml
@@ -54,14 +54,15 @@
         <manifest>../../../../../../projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml</manifest>
       </namespace>
     </namespaces>
-    <library-path>
+    <external-library-path append="true">
+      <path-element>../../../../../libs/LanguageJS.swc</path-element>
       <path-element>../../../../../libs/CoreJS.swc</path-element>
       <path-element>../../../../../libs/BindingJS.swc</path-element>
       <path-element>../../../../../libs/GraphicsJS.swc</path-element>
       <path-element>../../../../../libs/CollectionsJS.swc</path-element>
       <path-element>../../../../../libs/HTMLJS.swc</path-element>
       <path-element>../../../../../libs/BasicJS.swc</path-element>
-    </library-path>
+    </external-library-path>
     <source-path>
       <path-element>../../../../../../projects/MaterialDesignLite/src/main/royale</path-element>
     </source-path>
diff --git a/frameworks/js/projects/MobileJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/MobileJS/src/main/config/compile-js-config.xml
index ae99374..3d14002 100644
--- a/frameworks/js/projects/MobileJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/MobileJS/src/main/config/compile-js-config.xml
@@ -27,10 +27,6 @@
             <target>JSRoyale</target>
         </targets>
         <strict-xml>true</strict-xml>
-
-        <external-library-path append="true">
-            <path-element>../../../../../../../js/libs/cordova.swc</path-element>
-        </external-library-path>
         
 		<mxml>
 			<children-as-data>true</children-as-data>
@@ -59,16 +55,13 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../../../js/libs/cordova.swc</path-element>
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/GraphicsJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/NetworkJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/NetworkJS/src/main/config/compile-js-config.xml
index fe77e09..dab603c 100644
--- a/frameworks/js/projects/NetworkJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/NetworkJS/src/main/config/compile-js-config.xml
@@ -54,15 +54,11 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/ReflectionJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/ReflectionJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/ReflectionJS/src/main/config/compile-js-config.xml
index cb2ab8d..aab62ed 100644
--- a/frameworks/js/projects/ReflectionJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/ReflectionJS/src/main/config/compile-js-config.xml
@@ -54,15 +54,10 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
-            <path-element>../../../../../libs/CoreJS.swc</path-element>
+        <external-library-path append="true">
             <path-element>../../../../../libs/LanguageJS.swc</path-element>
-        </library-path>
+            <path-element>../../../../../libs/CoreJS.swc</path-element>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/RoyaleSiteJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/RoyaleSiteJS/src/main/config/compile-js-config.xml
index ff7aa0f..3af44e9 100644
--- a/frameworks/js/projects/RoyaleSiteJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/RoyaleSiteJS/src/main/config/compile-js-config.xml
@@ -55,16 +55,12 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
             <path-element>../../../../../libs/HTMLJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/RoyaleUnitJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/RoyaleUnitJS/src/main/config/compile-js-config.xml
index 5b0629e..cf103d4 100644
--- a/frameworks/js/projects/RoyaleUnitJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/RoyaleUnitJS/src/main/config/compile-js-config.xml
@@ -64,15 +64,11 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
             <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/ReflectionJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <source-path>
             <path-element>../../../../../../projects/RoyaleUnit/src/main/royale</path-element>
diff --git a/frameworks/js/projects/SparkRoyaleJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/SparkRoyaleJS/src/main/config/compile-js-config.xml
index f19bafd..3328d7e 100644
--- a/frameworks/js/projects/SparkRoyaleJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/SparkRoyaleJS/src/main/config/compile-js-config.xml
@@ -56,12 +56,8 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-             if these swcs are on the external-library-path then their requires
-             will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/BindingJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
@@ -76,7 +72,7 @@
             <path-element>../../../../../libs/TextJS.swc</path-element>
             <path-element>../../../../../libs/TLFJS.swc</path-element>
             <path-element>../../../../../libs/XMLJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/StorageJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/StorageJS/src/main/config/compile-js-config.xml
index e25ecba..dc0c90c 100644
--- a/frameworks/js/projects/StorageJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/StorageJS/src/main/config/compile-js-config.xml
@@ -27,10 +27,6 @@
             <target>JSRoyale</target>
         </targets>
         <strict-xml>true</strict-xml>
-
-        <external-library-path append="true">
-            <path-element>../../../../../../../js/libs/cordova.swc</path-element>
-        </external-library-path>
         
 		<mxml>
 			<children-as-data>true</children-as-data>
@@ -58,14 +54,11 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../../../js/libs/cordova.swc</path-element>
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/TLFJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/TLFJS/src/main/config/compile-js-config.xml
index 8191d19..04cebde 100644
--- a/frameworks/js/projects/TLFJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/TLFJS/src/main/config/compile-js-config.xml
@@ -20,9 +20,6 @@
 
     <compiler>
         <accessible>false</accessible>
-                
-        <external-library-path append="true">
-        </external-library-path>
         
 		<mxml>
 			<children-as-data>true</children-as-data>
@@ -58,13 +55,8 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!--<path-element>../../../../../../libs/GCL.swc</path-element>-->
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/GraphicsJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
@@ -73,7 +65,7 @@
             <path-element>../../../../../libs/ReflectionJS.swc</path-element>
             <path-element>../../../../../libs/XMLJS.swc</path-element>
             <path-element>../../../../../libs/TextJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/TextJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/TextJS/src/main/config/compile-js-config.xml
index 2ce62c3..c7ee114 100644
--- a/frameworks/js/projects/TextJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/TextJS/src/main/config/compile-js-config.xml
@@ -27,9 +27,6 @@
             <target>JSRoyale</target>
         </targets>
         <strict-xml>true</strict-xml>
-
-        <external-library-path append="true">
-        </external-library-path>
         
 		<mxml>
 			<children-as-data>true</children-as-data>
@@ -57,17 +54,12 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!--<path-element>../../../../../../libs/GCL.swc</path-element>-->
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-                 if these swcs are on the external-library-path then their requires
-                 will not be listed -->
+        <external-library-path append="true">
+            <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
             <path-element>../../../../../libs/HTMLJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/js/projects/XMLJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/XMLJS/src/main/config/compile-js-config.xml
index 6bce515..325c62c 100644
--- a/frameworks/js/projects/XMLJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/XMLJS/src/main/config/compile-js-config.xml
@@ -54,15 +54,10 @@
 	  
         <locale/>
         
-        <!-- overwrite the default library-path setting -->
-        <library-path>
-            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
-            <!-- asjscompc won't 'link' these classes in, but will list their requires
-             if these swcs are on the external-library-path then their requires
-             will not be listed -->
+        <external-library-path append="true">
             <path-element>../../../../../libs/LanguageJS.swc</path-element>
             <path-element>../../../../../libs/CoreJS.swc</path-element>
-        </library-path>
+        </external-library-path>
         
         <namespaces>
             <namespace>
diff --git a/frameworks/node-config-template.xml b/frameworks/node-config-template.xml
index 71ad53e..be6f281 100644
--- a/frameworks/node-config-template.xml
+++ b/frameworks/node-config-template.xml
@@ -58,6 +58,7 @@
       <!-- linking.                                                             -->
       <external-library-path>
           <path-element>../js/libs/js.swc</path-element>
+          <path-element>../js/libs/GCL.swc</path-element>
           <path-element>../js/libs/node.swc</path-element>
       </external-library-path>
 
@@ -75,8 +76,7 @@
 
       <!-- List of SWC files or directories that contain SWC files. -->
       <library-path>
-         <path-element>js/libs/LanguageJS.swc</path-element>
-         <path-element>../js/libs/GCL.swc</path-element>
+          <path-element>js/libs/LanguageJS.swc</path-element>
       </library-path>
 
       <mxml>
diff --git a/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication-config.xml b/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication-config.xml
index c50250a..42cbd0a 100644
--- a/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication-config.xml
+++ b/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication-config.xml
@@ -32,6 +32,7 @@
         
         <js-external-library-path>
             <path-element>../../../../../../js/libs/js.swc</path-element>
+            <path-element>../../../../../../js/libs/gcl.swc</path-element>
         </js-external-library-path>
         
         <library-path>
diff --git a/frameworks/projects/Core/src/test/royale/FlexUnitRoyaleApplication-config.xml b/frameworks/projects/Core/src/test/royale/FlexUnitRoyaleApplication-config.xml
index 8027f99..6d2a736 100644
--- a/frameworks/projects/Core/src/test/royale/FlexUnitRoyaleApplication-config.xml
+++ b/frameworks/projects/Core/src/test/royale/FlexUnitRoyaleApplication-config.xml
@@ -32,6 +32,7 @@
         
         <js-external-library-path>
             <path-element>../../../../../../js/libs/js.swc</path-element>
+            <path-element>../../../../../../js/libs/gcl.swc</path-element>
         </js-external-library-path>
         
         <library-path>
diff --git a/frameworks/projects/RoyaleUnit/src/test/royale/FlexUnitRoyaleApplication-config.xml b/frameworks/projects/RoyaleUnit/src/test/royale/FlexUnitRoyaleApplication-config.xml
index a74b668..c42f5ac 100644
--- a/frameworks/projects/RoyaleUnit/src/test/royale/FlexUnitRoyaleApplication-config.xml
+++ b/frameworks/projects/RoyaleUnit/src/test/royale/FlexUnitRoyaleApplication-config.xml
@@ -32,6 +32,7 @@
         
         <js-external-library-path>
             <path-element>../../../../../../js/libs/js.swc</path-element>
+            <path-element>../../../../../../js/libs/gcl.swc</path-element>
         </js-external-library-path>
         
         <library-path>
diff --git a/frameworks/royale-config-template.xml b/frameworks/royale-config-template.xml
index 6eb1195..7b246fa 100644
--- a/frameworks/royale-config-template.xml
+++ b/frameworks/royale-config-template.xml
@@ -77,6 +77,7 @@
       <!-- linking.                                                             -->
       <js-external-library-path>
           <path-element>../js/libs/js.swc</path-element>
+          <path-element>../js/libs/GCL.swc</path-element>
       </js-external-library-path>
 
       <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->