The flexmojos goal "flexbuilder" does not configure the compiler
settings in FlexBuilder/FlashBuilder correctly. To be able to compile
and run the application in the Builder you have to set the compiler
settings similar to this:
-locale=en_US,de_DE -source-path=..\resources\locale\{locale} -allow-source-path-overlap=true
In this example english and german localizations are available and
the locale property files are located in the folder
resources/locale/en_US and resources/locale/de_DE.
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
%USERPROFILE%\.m2\settings.xml
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<profiles>
<profile>
<id>flex-mojos</id>
<repositories>
<!-- Required for regular plugin use until moved over to Maven central repo. -->
<repository>
<id>flex-mojos-repository</id>
<url>http://repository.sonatype.org/content/groups/flexgroup/</url>
<releases> <enabled>true</enabled> </releases>
<snapshots> <enabled>false</enabled> </snapshots>
</repository>
<!-- Required for building plugin from source. -->
<repository>
<id>flex-mojos-internal-repository</id>
<url>http://repository.sonatype.org/content/groups/public/</url>
<releases> <enabled>true</enabled> </releases>
<snapshots> <enabled>true</enabled> </snapshots>
</repository>
</repositories>
<pluginRepositories>
<!-- Required for regular plugin use until moved over to Maven central repo. -->
<pluginRepository>
<id>flex-mojos-plugin-repository</id>
<url>http://repository.sonatype.org/content/groups/flexgroup/</url>
<releases> <enabled>true</enabled> </releases>
<snapshots> <enabled>false</enabled> </snapshots>
</pluginRepository>
<!-- Required for building plugin from source. -->
<pluginRepository>
<id>flex-mojos-internal-plugins-repository</id>
<url>http://repository.sonatype.org/content/groups/public/</url>
<releases> <enabled>true</enabled> </releases>
<snapshots> <enabled>true</enabled> </snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>flex-mojos</activeProfile>
</activeProfiles>
</settings>
分享到:
相关推荐
使用Maven对Flex项目进行构建,无需依赖于FlexBuilder进行编译开发。
Maven构建全栈式Flex、BlazeDS和Spring集成解决方案–第一部分_创建Maven_Flex模块
利用Maven搭建的Java SSH框架后台,利用Flex显示 利用Maven搭建的Java SSH框架后台,利用Flex显示 利用Maven搭建的Java SSH框架后台,利用Flex显示 利用Maven搭建的Java SSH框架后台,利用Flex显示 利用Maven搭建的...
maven-flex2-plugin-1.0.jar
maven-flex2-plugin-support-1.0.jar
maven-flex2-plugin-1.3-sources.jar
用JNI安装tesseract,maven install后生成的local repository
maven-flex2-plugin-support-1.0-sources.jar
<localRepository>D:\Program Files\apache-maven-3.3.3\repository</localRepository> <id>tomcat7 <username>admin <password>admin 3.配置jdk环境(注意是jdk,不能是jre)下载java jdk,并安装java jdk...
maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装maven安装...
maven_local_repositorymaven_local_repositorymaven_local_repositorymaven_local_repositorymaven_local_repositorymaven_local_repositorymaven_local_repositorymaven_local_repositorymaven_local_...
赠送Maven依赖信息文件:transmittable-thread-local-2.12.1.pom; 包含翻译后的API文档:transmittable-thread-local-2.12.1-javadoc-API文档-中文(简体)版.zip; Maven坐标:...
maven中setting阿里云的详细镜像配置,setting的配置细节 maven中setting阿里云的详细镜像配置,setting的配置细节
flex-messaging类包是flex结合JAVA开发通信使用
构建全栈式Flex、BlazeDS和Spring集成解决方案–第一部分 创建Maven Flex模块
Maven 中文简介, 包含Maven 语法, 节点讲解, 使用方法.
maven 实用手册 中文 Maven权威指南中文版 Maven权威指南中文版
Maven构建并管理Flex项目入门.pdf Maven简单实用教程.docx OTNVD_WebLogicServerDevelopment_CN.pdf 《Maven实战》(国内首本Maven著作)(Maven的安装、配置及使用入门) 《Maven权威指南》.pdf.pdf
Flex与Java整合demo Flex Java 整合 demo
赠送Maven依赖信息文件:transmittable-thread-local-2.12.1.pom; 包含翻译后的API文档:transmittable-thread-local-2.12.1-javadoc-API文档-中文(简体)-英语-对照版.zip; Maven坐标:...