如何在 Maven 中设置 swc 主题?

发布于 2024-09-29 16:17:34 字数 127 浏览 0 评论 0原文

我无法像在 Eclipse 中那样通过更改项目属性中的主题来在 Maven 中设置自定义主题。

我注意到依赖项中的主题 swc ,编译器找到了它,但主题没有改变。

谁知道如何在 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.

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

忆伤 2024-10-06 16:17:34

使用范围“主题”作为主题 SWC 的依赖项。例如,要使用 Spark 主题,请指定此依赖项:

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

然后您将在输出中看到此编译器选项:

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

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 
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文