flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject AW: Problem Compiling with FlexMojos 7.0.1
Date Wed, 22 Apr 2015 11:58:42 GMT
Hi Lyn,

to me it looks as if you got your plugin configuration messed up a little. Parts of the flexmojos
plugin configuration is located in the lifecycle-mapping config so it is not available to
maven (just to the M2Eclipse plugin). The threadlocaltoolkit is a plugin dependency so it
should be added in parallel to the compiler artifact.

How did you create the Mavenized FDK? Did you use the flex-sdk-converter (aka Mavenizer)?
A lot of things have changed here ... as I can see you seem to be doing font-releated stuff,
with the latest mavenizer you would also need a dependency to "com.adobe:fontkit:1.0:jar"
in parallel to the compiler too and the version of the FDK would be "1.14.1" without the build
number in fourth position.

Chris


________________________________________
Von: lynwall <lyn.wall@kbmg.com>
Gesendet: Dienstag, 21. April 2015 23:50
An: users@flex.apache.org
Betreff: Problem Compiling with FlexMojos 7.0.1

I'd appreciate any help compiling my project. I get these errors every time I
compile:

Error: Unable to resolve resource bundle "skins" for locale "en_US".
Error: Unable to resolve resource bundle "effects" for locale "en_US".
Error: Unable to resolve resource bundle "modules" for locale "en_US".
Error: Unable to resolve resource bundle "controls" for locale "en_US".
Error: Unable to resolve resource bundle "validators" for locale "en_US".
Error: Unable to resolve resource bundle "controls" for locale "en_US".
Error: Unable to resolve resource bundle "controls" for locale "en_US".
Error: Unable to resolve resource bundle "controls" for locale "en_US".
Error: Unable to resolve resource bundle "SharedResources" for locale
"en_US".
Error: Unable to resolve resource bundle "controls" for locale "en_US".
Error: Unable to resolve resource bundle "SharedResources" for locale
"en_US".
Error: Unable to resolve resource bundle "controls" for locale "en_US".
Error: Unable to resolve resource bundle "controls" for locale "en_US".
Error: Unable to resolve resource bundle "skins" for locale "en_US".

My POM:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>com.mycompany.project</groupId>
        <artifactId>MyProject</artifactId>
        <version>4.0.1-SNAPSHOT</version>
        <packaging>swf</packaging>
        <properties>
                <flexmojos.version>7.0.1</flexmojos.version>
                <flex.version>4.14.1.20150325</flex.version>
                <flash.version>16.0</flash.version>
        </properties>
        <build>
                <sourceDirectory>src/main/flex</sourceDirectory>
                <plugins>
                        <plugin>
                                <groupId>net.flexmojos.oss</groupId>
                                <artifactId>flexmojos-maven-plugin</artifactId>
                                <version>${flexmojos.version}</version>
                                <extensions>true</extensions>
                                 <configuration>
                    <locales>
                        <locale>en_US</locale>
                    </locales>
                </configuration>
                                <dependencies>
                                        <dependency>
                                                <groupId>net.flexmojos.oss</groupId>
                                                <artifactId>flexmojos-maven-plugin</artifactId>
                                                <version>${flexmojos.version}</version>
                                        </dependency>
                                        <dependency>
                                                <groupId>org.apache.flex</groupId>
                                                <artifactId>compiler</artifactId>
                                                <version>${flex.version}</version>
                                                <type>pom</type>
                                        </dependency>
                                </dependencies>
                        </plugin>
                </plugins>
                <pluginManagement>
                        <plugins>

                                <plugin>
                                        <groupId>org.eclipse.m2e</groupId>
                                        <artifactId>lifecycle-mapping</artifactId>
                                        <version>1.0.0</version>
                                        <configuration>
                                                <sourceFile>MyApp.mxml</sourceFile>
                                                <compiledLocales>
                                                <locale>en_US</locale>

                                        </compiledLocales>
                                                <fonts>
                                                        <managers>
                                                                <manager>flash.fonts.JREFontManager</manager>
                                                                <manager>flash.fonts.AFEFontManager</manager>
                                                                <manager>flash.fonts.BatikFontManager</manager>
                                                                <manager>flash.fonts.CFFFontManager</manager>
                                                        </managers>
                                                </fonts>
                                                <lifecycleMappingMetadata>
                                                        <pluginExecutions>
                                                                <pluginExecution>
                                                                        <pluginExecutionFilter>
                                                                                <groupId>net.flexmojos.oss</groupId>
                                                                                <artifactId>
                                                                                        flexmojos-maven-plugin
                                                                                </artifactId>
                                                                                <versionRange>[7.0.0,)</versionRange>
                                                                                <goals>
                                                                                        <goal>test-compile</goal>
                                                                                        <goal>compile-swf</goal>
                                                                                </goals>
                                                                        </pluginExecutionFilter>
                                                                        <action>
                                                                                <ignore></ignore>
                                                                        </action>
                                                                </pluginExecution>
                                                        </pluginExecutions>
                                                </lifecycleMappingMetadata>
                    <locales>
                        <locale>en_US</locale>
                    </locales>
                                        </configuration>
                                </plugin>
                        </plugins>
                </pluginManagement>
        </build>
        <dependencies>
                <dependency>
                        <groupId>org.apache.flex.framework</groupId>
                        <artifactId>flex-framework</artifactId>
                        <version>${flex.version}</version>

                        <type>pom</type>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flash.framework</groupId>
                        <artifactId>playerglobal</artifactId>
                        <version>${flash.version}</version>
                        <type>swc</type>
                </dependency>
                <dependency>
                        <groupId>net.flexmojos.oss</groupId>
                        <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
                        <version>${flexmojos.version}</version>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flash</groupId>
                        <artifactId>playerglobal</artifactId>
                        <version>${flash.version}</version>
                        <type>pom</type>
                </dependency>
                <dependency>
                        <groupId>com.sparkTree</groupId>
                        <artifactId>SparkTree</artifactId>
                        <version>4.5</version>
                        <type>swc</type>
                </dependency>
                <dependency>
                        <groupId>com.mycompany.project</groupId>
                        <artifactId>myComponents</artifactId>
                        <version>4.0.1-SNAPSHOT</version>
                        <type>swc</type>
                </dependency>
                <dependency>
                        <groupId>com.mycompany.project</groupId>
                        <artifactId>MyTheme</artifactId>
                        <version>4.0.1-SNAPSHOT</version>
                        <type>swc</type>
                </dependency>
        </dependencies>


</project>



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-Compiling-with-FlexMojos-7-0-1-tp10141.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Mime
View raw message