Skip to content

Commit 7f89fc0

Browse files
committed
light - noflat - emerald themes
1 parent 0225542 commit 7f89fc0

File tree

25 files changed

+2504
-2
lines changed

25 files changed

+2504
-2
lines changed

examples/royale/JewelExample/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,15 @@
123123
</dependency>
124124
<dependency>
125125
<groupId>org.apache.royale.framework</groupId>
126-
<artifactId>Jewel-Light-NoFlat-Secondary-Blue-Theme</artifactId>
126+
<artifactId>Jewel-Light-NoFlat-Secondary-Topaz-Theme</artifactId>
127127
<version>0.9.3-SNAPSHOT</version>
128128
<type>swc</type>
129129
<scope>theme</scope>
130130
<classifier>js</classifier>
131131
</dependency>
132132
<dependency>
133133
<groupId>org.apache.royale.framework</groupId>
134-
<artifactId>Jewel-Light-NoFlat-Emphasized-Blue-Theme</artifactId>
134+
<artifactId>Jewel-Light-NoFlat-Emphasized-Emerald-Theme</artifactId>
135135
<version>0.9.3-SNAPSHOT</version>
136136
<type>swc</type>
137137
<scope>theme</scope>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
4+
Licensed to the Apache Software Foundation (ASF) under one or more
5+
contributor license agreements. See the NOTICE file distributed with
6+
this work for additional information regarding copyright ownership.
7+
The ASF licenses this file to You under the Apache License, Version 2.0
8+
(the "License"); you may not use this file except in compliance with
9+
the License. You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
19+
-->
20+
21+
22+
<project name="Jewel-Light-NoFlat-Emphasized-Emerald-Theme" default="main" basedir=".">
23+
<property name="ROYALE_HOME" location="../../.."/>
24+
25+
<property file="${ROYALE_HOME}/env.properties"/>
26+
<property environment="env"/>
27+
<property file="${ROYALE_HOME}/build.properties"/>
28+
<property name="ROYALE_HOME" value="${ROYALE_HOME}"/>
29+
30+
<property name="target.name" value="${ant.project.name}.swc" />
31+
32+
<!-- doesn't contain compiled files so only need to compile JS version -->
33+
<target name="main" depends="clean,check-compiler,compile,compile-js,copy-swc,test" description="Full build of ${ant.project.name}.swc">
34+
</target>
35+
36+
<target name="compile-js">
37+
<!-- doesn't contain compiled files so only need to compile JS version
38+
<ant dir="${ROYALE_HOME}/frameworks/js/projects/${ant.project.name}JS/" inheritAll="false" >
39+
<property name="ROYALE_SWF_COMPILER_HOME" value="${ROYALE_SWF_COMPILER_HOME}"/>
40+
<property name="ROYALE_COMPILER_HOME" value="${ROYALE_COMPILER_HOME}"/>
41+
<property name="ROYALE_HOME" value="${ROYALE_HOME}"/>
42+
</ant>
43+
-->
44+
</target>
45+
46+
<target name="copy-swc" if="env.AIR_HOME">
47+
<copy file="${basedir}/target/${target.name}" tofile="${ROYALE_HOME}/frameworks/libs/${target.name}" />
48+
</target>
49+
50+
<target name="check-for-tests" >
51+
<condition property="skip-tests" >
52+
<not>
53+
<available file="${basedir}/src/test/royale/build.xml" />
54+
</not>
55+
</condition>
56+
</target>
57+
58+
<target name="test" depends="check-for-tests" unless="skip-tests">
59+
<ant dir="src/test/royale" />
60+
</target>
61+
62+
<target name="clean">
63+
<delete failonerror="false">
64+
<fileset dir="${ROYALE_HOME}/frameworks/libs">
65+
<include name="${target.name}"/>
66+
</fileset>
67+
</delete>
68+
<delete failonerror="false" includeemptydirs="true">
69+
<fileset dir="${basedir}/target">
70+
<include name="**/**"/>
71+
</fileset>
72+
</delete>
73+
<antcall target="clean-tests" />
74+
</target>
75+
76+
<target name="clean-tests" depends="check-for-tests" unless="skip-tests">
77+
<ant dir="src/test/royale" target="clean"/>
78+
</target>
79+
80+
<target name="compile" description="Compiles .as files into .swc" if="env.AIR_HOME">
81+
<echo message="Compiling libs/${ant.project.name}.swc"/>
82+
<echo message="ROYALE_HOME: ${ROYALE_HOME}"/>
83+
<echo message="ROYALE_SWF_COMPILER_HOME: ${ROYALE_SWF_COMPILER_HOME}"/>
84+
<echo message="ROYALE_COMPILER_HOME: ${ROYALE_COMPILER_HOME}"/>
85+
86+
<java jar="${ROYALE_COMPILER_HOME}/lib/compc.jar" fork="true" >
87+
<jvmarg value="-Xmx384m" />
88+
<jvmarg value="-Dsun.io.useCanonCaches=false" />
89+
<jvmarg value="-Droyalelib=${ROYALE_HOME}/frameworks" />
90+
<arg value="+royalelib=${ROYALE_HOME}/frameworks" />
91+
<arg value="+playerglobal.version=${playerglobal.version}" />
92+
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
93+
<arg value="-compiler.strict-xml=true" />
94+
<arg value="-compiler.targets=SWF,JSRoyale" />
95+
<arg value="-output=${basedir}/target/${target.name}" />
96+
<arg value="-load-config=${basedir}/src/main/config/compile-swf-config.xml" />
97+
<arg value="-js-load-config=${ROYALE_HOME}/frameworks/js-config.xml" />
98+
<arg value="-js-load-config+=${basedir}/../../js/themes/${ant.project.name}JS/src/main/config/compile-js-config.xml" />
99+
</java>
100+
</target>
101+
102+
<target name="check-compiler" depends="check-compiler-home,check-transpiler-home">
103+
<path id="lib.path">
104+
<fileset dir="${ROYALE_COMPILER_HOME}/lib" includes="compiler-royaleTasks.jar"/>
105+
</path>
106+
<taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
107+
</target>
108+
109+
<target name="check-compiler-home"
110+
description="Set ROYALE_SWF_COMPILER_HOME to point at the compiler.">
111+
112+
<available file="${ROYALE_HOME}/lib/compiler-mxmlc.jar"
113+
type="file"
114+
property="ROYALE_SWF_COMPILER_HOME"
115+
value="${ROYALE_HOME}"/>
116+
117+
<fail message="ROYALE_SWF_COMPILER_HOME must be set to a folder with a lib sub-folder containing compiler-mxmlc.jar such as the compiler folder in royale-compiler repo or the root of a Royale SDK"
118+
unless="ROYALE_SWF_COMPILER_HOME"/>
119+
</target>
120+
121+
<target name="check-transpiler-home"
122+
description="Set ROYALE_COMPILER_HOME to point at the cross-compiler.">
123+
124+
<available file="${ROYALE_HOME}/js/lib/jsc.jar"
125+
type="file"
126+
property="ROYALE_COMPILER_HOME"
127+
value="${ROYALE_HOME}/js"/>
128+
129+
<fail message="ROYALE_COMPILER_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in royale-compiler repo or the js folder of a Royale SDK"
130+
unless="ROYALE_COMPILER_HOME"/>
131+
</target>
132+
133+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Licensed to the Apache Software Foundation (ASF) under one or more
5+
contributor license agreements. See the NOTICE file distributed with
6+
this work for additional information regarding copyright ownership.
7+
The ASF licenses this file to You under the Apache License, Version 2.0
8+
(the "License"); you may not use this file except in compliance with
9+
the License. You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
19+
-->
20+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21+
<modelVersion>4.0.0</modelVersion>
22+
23+
<parent>
24+
<groupId>org.apache.royale.framework</groupId>
25+
<artifactId>themes</artifactId>
26+
<version>0.9.3-SNAPSHOT</version>
27+
</parent>
28+
29+
<artifactId>Jewel-Light-NoFlat-Emphasized-Emerald-Theme</artifactId>
30+
<version>0.9.3-SNAPSHOT</version>
31+
<packaging>swc</packaging>
32+
33+
<name>Apache Royale: Framework: Themes: Jewel-Light-NoFlat-Emphasized-Emerald-Theme</name>
34+
35+
<build>
36+
<sourceDirectory>src/main/royale</sourceDirectory>
37+
<plugins>
38+
<plugin>
39+
<groupId>org.apache.royale.compiler</groupId>
40+
<artifactId>royale-maven-plugin</artifactId>
41+
<version>${royale.compiler.version}</version>
42+
<extensions>true</extensions>
43+
<configuration>
44+
<includeFiles>
45+
<include-file>
46+
<name>assets/*</name>
47+
<path>../src/main/resources/assets/*</path>
48+
</include-file>
49+
<include-file>
50+
<name>defaults.css</name>
51+
<path>../src/main/resources/defaults.css</path>
52+
</include-file>
53+
</includeFiles>
54+
</configuration>
55+
</plugin>
56+
</plugins>
57+
</build>
58+
59+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!--
2+
3+
Licensed to the Apache Software Foundation (ASF) under one or more
4+
contributor license agreements. See the NOTICE file distributed with
5+
this work for additional information regarding copyright ownership.
6+
The ASF licenses this file to You under the Apache License, Version 2.0
7+
(the 'License'); you may not use this file except in compliance with
8+
the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an 'AS IS' BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
-->
19+
20+
// This is needed since assets folder must have at least one file

0 commit comments

Comments
 (0)