You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2019/07/25 10:31:10 UTC

[royale-asjs] branch develop updated: Added default File model

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

harbs 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 fc874bf  Added default File model
fc874bf is described below

commit fc874bf7bf0ed54c56e3d18f885114c00ceb6cb3
Author: Harbs <ha...@in-tools.com>
AuthorDate: Thu Jul 25 13:30:57 2019 +0300

    Added default File model
---
 .../js/projects/NetworkJS/src/main/config/compile-js-config.xml    | 2 ++
 frameworks/projects/Network/pom.xml                                | 6 ++++++
 frameworks/projects/Network/src/main/config/compile-swf-config.xml | 7 ++++++-
 frameworks/projects/Network/src/main/resources/defaults.css        | 5 +++++
 4 files changed, 19 insertions(+), 1 deletion(-)

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 dab603c..e5456a1 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
@@ -77,6 +77,8 @@
     </compiler>
     
     <include-file>
+        <name>defaults.css</name>
+        <path>../../../../../../projects/Network/src/main/resources/defaults.css</path>
     </include-file>
 
     <include-sources>
diff --git a/frameworks/projects/Network/pom.xml b/frameworks/projects/Network/pom.xml
index 75a58b1..a26049c 100644
--- a/frameworks/projects/Network/pom.xml
+++ b/frameworks/projects/Network/pom.xml
@@ -50,6 +50,12 @@
           <includeClasses>
             <includeClass>NetworkClasses</includeClass>
           </includeClasses>
+          <includeFiles>
+            <include-file>
+              <name>defaults.css</name>
+              <path>../src/main/resources/defaults.css</path>
+            </include-file>
+          </includeFiles>
           <skipExtern>true</skipExtern>
           <skipAS>${royale.skipAS}</skipAS>
           <additionalCompilerOptions>${project.compiler.options};-warn-instance-of-changes=false</additionalCompilerOptions>
diff --git a/frameworks/projects/Network/src/main/config/compile-swf-config.xml b/frameworks/projects/Network/src/main/config/compile-swf-config.xml
index bff1d6a..4ddadd9 100644
--- a/frameworks/projects/Network/src/main/config/compile-swf-config.xml
+++ b/frameworks/projects/Network/src/main/config/compile-swf-config.xml
@@ -75,7 +75,12 @@
         
         <warn-no-constructor>false</warn-no-constructor>
     </compiler>
-    
+
+    <include-file>
+        <name>defaults.css</name>
+        <path>../resources/defaults.css</path>
+    </include-file>
+
     <include-classes>
         <class>NetworkClasses</class>
     </include-classes>
diff --git a/frameworks/projects/Network/src/main/resources/defaults.css b/frameworks/projects/Network/src/main/resources/defaults.css
new file mode 100644
index 0000000..f1d3a90
--- /dev/null
+++ b/frameworks/projects/Network/src/main/resources/defaults.css
@@ -0,0 +1,5 @@
+@namespace "library://ns.apache.org/royale/basic";
+FileProxy
+{
+	IBeadModel: ClassReference("org.apache.royale.file.beads.FileModel");
+}
\ No newline at end of file