开发者

How can I set a swc theme in Maven?

I can't set my custom theme in Maven like I do it in Eclipse by changing theme in project properties.

I note the theme swc in dependencies, the compiler founds it but the theme doesn't change.

开发者_JAVA百科

Who knows how can I set a custom theme in Maven?


Use the scope 'theme' for the dependency of the theme swc. E.g. to use the Spark theme specify this dependency:

<dependency>
  <groupId>com.adobe.flex.framework</groupId>
  <artifactId>spark</artifactId>
  <type>swc</type>
  <scope>theme</scope>
</dependency>

Then you'll see this compiler option in the output:

-compiler.theme /home/cschlipf/.m2/repository/com/adobe/flex/framework/spark/4.1.0.16248/spark-4.1.0.16248.swc 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜