royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [royale-asjs] 01/02: for Maven, basic.css becomes BasicTheme.swc
Date Fri, 23 Feb 2018 19:50:10 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit a78edcb19f547809a362247dbe2eda48c70f4709
Author: Alex Harui <aharui@apache.org>
AuthorDate: Fri Feb 23 11:47:23 2018 -0800

    for Maven, basic.css becomes BasicTheme.swc
---
 frameworks/pom.xml                    |  1 +
 frameworks/{ => themes/Basic}/pom.xml | 35 ++++++++++++++++++++++---------
 frameworks/{ => themes}/pom.xml       | 39 ++++++++++++++++++++++++++++++-----
 3 files changed, 60 insertions(+), 15 deletions(-)

diff --git a/frameworks/pom.xml b/frameworks/pom.xml
index 642bd56..c4b9134 100644
--- a/frameworks/pom.xml
+++ b/frameworks/pom.xml
@@ -35,6 +35,7 @@
   <modules>
     <module>fontsrc</module>
     <module>projects</module>
+    <module>themes</module>
   </modules>
 
 </project>
diff --git a/frameworks/pom.xml b/frameworks/themes/Basic/pom.xml
similarity index 63%
copy from frameworks/pom.xml
copy to frameworks/themes/Basic/pom.xml
index 642bd56..5ea7c72 100644
--- a/frameworks/pom.xml
+++ b/frameworks/themes/Basic/pom.xml
@@ -22,19 +22,34 @@
 
   <parent>
     <groupId>org.apache.royale.framework</groupId>
-    <artifactId>royale-framework-parent</artifactId>
+    <artifactId>themes</artifactId>
     <version>0.9.2-SNAPSHOT</version>
   </parent>
 
-  <artifactId>frameworks</artifactId>
+  <artifactId>BasicTheme</artifactId>
   <version>0.9.2-SNAPSHOT</version>
-  <packaging>pom</packaging>
-
-  <name>Apache Royale: Framework</name>
-
-  <modules>
-    <module>fontsrc</module>
-    <module>projects</module>
-  </modules>
+  <packaging>swc</packaging>
+
+  <name>Apache Royale: Framework: Themes: Basic</name>
+
+  <build>
+    <sourceDirectory>.</sourceDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.royale.compiler</groupId>
+        <artifactId>royale-maven-plugin</artifactId>
+        <version>${royale.compiler.version}</version>
+        <extensions>true</extensions>
+        <configuration>
+          <includeFiles>
+            <include-file>
+              <name>basic.css</name>
+              <path>../basic.css</path>
+            </include-file>
+          </includeFiles>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 
 </project>
diff --git a/frameworks/pom.xml b/frameworks/themes/pom.xml
similarity index 52%
copy from frameworks/pom.xml
copy to frameworks/themes/pom.xml
index 642bd56..33ba1d3 100644
--- a/frameworks/pom.xml
+++ b/frameworks/themes/pom.xml
@@ -22,19 +22,48 @@
 
   <parent>
     <groupId>org.apache.royale.framework</groupId>
-    <artifactId>royale-framework-parent</artifactId>
+    <artifactId>frameworks</artifactId>
     <version>0.9.2-SNAPSHOT</version>
   </parent>
 
-  <artifactId>frameworks</artifactId>
+  <artifactId>themes</artifactId>
   <version>0.9.2-SNAPSHOT</version>
   <packaging>pom</packaging>
 
-  <name>Apache Royale: Framework</name>
+  <name>Apache Royale: Framework: Themes</name>
 
   <modules>
-    <module>fontsrc</module>
-    <module>projects</module>
+    <module>Basic</module>
   </modules>
 
+  <dependencies>
+    <dependency>
+      <groupId>com.adobe.air.framework</groupId>
+      <artifactId>airglobal</artifactId>
+      <version>${air.version}</version>
+      <type>swc</type>
+      <scope>provided</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.apache.royale.typedefs</groupId>
+      <artifactId>royale-typedefs-gcl</artifactId>
+      <version>${royale.typedefs.version}</version>
+      <type>swc</type>
+      <classifier>typedefs</classifier>
+    </dependency>
+    <!--
+     By declaring this dependency here, we force the royale-externs-js to be
+     added to the external library path of all modules. Without this it would
+     have gone to the library path.
+     -->
+    <dependency>
+      <groupId>org.apache.royale.typedefs</groupId>
+      <artifactId>royale-typedefs-js</artifactId>
+      <version>${royale.typedefs.version}</version>
+      <type>swc</type>
+      <classifier>typedefs</classifier>
+      <scope>runtime</scope>
+    </dependency>
+  </dependencies>
 </project>

-- 
To stop receiving notification emails like this one, please contact
aharui@apache.org.

Mime
View raw message