开发者

How can I set a swc theme in Maven?

开发者 https://www.devze.com 2023-01-23 02:44 出处:网络
I can\'t set my custom theme in Maven like I do it in Eclipse by changing theme in project properties.

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

精彩评论

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