qickrooms / flex-mojos

Automatically exported from code.google.com/p/flex-mojos
0 stars 0 forks source link

unable to set -compiler.theme option #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Unpack attached .zip
2. Compile using flexbuilder and mvn
3. Compare results

What is the expected output? What do you see instead?
Button label is red when compiling with flexbuilder, but it remains black
when compiling using flex-mojos. When alalizing output you can see:
[INFO] Flex compiler configurations:
...
-compiler.theme=
...

What version of the product are you using? On what operating system?
flex.version 3.1.0.2710
flex-mojos.version 2.0M5
Windows XP

Please provide any additional information below.
http://groups.google.com/group/flex-mojos/browse_thread/thread/f52380bc43325468

Original issue reported on code.google.com by Sebastia...@gmail.com on 16 Oct 2008 at 3:13

Attachments:

GoogleCodeExporter commented 9 years ago
As commented in the discussion thread I was able to get this to work with flex 
mojos
2.0M7 by using a dependency with a scope of theme (as I discovered by reviewing 
the
source):

    <dependencies>
        <dependency>
            <groupId>com.company.coolapp</groupId>
            <artifactId>coolapp-theme</artifactId>
            <type>swc</type>
            <scope>theme</scope>
            <version>1.1</version>
        </dependency>
   </dependencies>

Original comment by basil.wh...@gmail.com on 17 Nov 2008 at 9:09

GoogleCodeExporter commented 9 years ago
Fixed at revision 910

More there are 2 ways to define themes.
1 - The old one...
 <dependency>
   <groupId>com.acme</groupId>
   <artifactId>acme-theme</artifactId>
   <type>swc</type>
   <scope>theme</scope>
   <version>1.0</version>
 </dependency>

2 - Using themes:
 <themes>
    <theme>css/main.css</theme>
 </themes>

They can be used together.

I suggest using themes when you wanna use css files and use dependency when you 
plan
to use SWC themes.

Original comment by velo...@gmail.com on 23 Nov 2008 at 3:18