Hi all,

I use now the new FlexMojo version (4.0), but now I have this
problem : "Error problem finding external stylesheet: xx.css"

> In my main xml, i have this style sheet include :

<fx:Style source="assets/styles/base/componentSkins.css" />
<fx:Style source="assets/styles/base/style.css" />

Folder 'assets' is in under 'resources' folder.

> extract of my Flex POM file :

<sourceDirectory>src/main/flex</sourceDirectory>
                <plugins>
                        <!-- Compile the Flex application -->
                        <plugin>
                                <groupId>org.sonatype.flexmojos</groupId>
                                <artifactId>flexmojos-maven-plugin</artifactId>
                                
<version>${flexmojos-maven-plugin.version}</version>
                                <extensions>true</extensions>

                                <configuration>
                                        <!-- Configuration of various paths 
used by the compiler -->
                                        
<allowSourcePathOverlap>true</allowSourcePathOverlap>

                                        <sourcePaths>
                                                
<path>${project.basedir}/src/main/flex/</path>
                                                
<path>${project.basedir}/src/main/resources/</path>
                                                
<path>${project.basedir}/src/main/resources/locales/{locale}/</
path>
                                        </sourcePaths>

                                        
<sourceFile>ShareHunter.mxml</sourceFile>
                                        
<resourceBundlePath>${project.basedir}/src/main/resources/locales/
{locale}</resourceBundlePath>
                                        
<runtimeLocaleOutputPath>locales/{locale}_Resources.{extension}</
runtimeLocaleOutputPath>

                                        
<services>${project.basedir}/../ShareHunter/src/main/webapp/WEB-
INF/flex-services-config.xml</services>
                                        
<contextRoot>${webapp.contextRoot}</contextRoot>

                                        
<output>${project.basedir}/../ShareHunter/src/main/webapp/$
{project.build.finalName}.swf</output>

                                        <!-- Compilation options -->
                                        <debug>${debug}</debug>
                                        
<targetPlayer>${flashPlayer.targetVersion}</targetPlayer>
                                        <definesDeclaration>
                                                <property>
                                                        
<name>CONFIG::development</name>
                                                        <value>false</value>
                                                </property>
                                        </definesDeclaration>

                                        <!-- Localization configuration -->
                                        <includeResourceBundles>
                                                <bundle>i18n</bundle>
                                        </includeResourceBundles>
                                        <localesCompiled>
                                                <locale>en_US</locale>
                                        </localesCompiled>
                                        <runtimeLocales>
                                                <locale>fr_FR</locale>
                                        </runtimeLocales>

                                        <templateInclusions>
                                                
<String>${project.basedir}/../ShareHunter/src/main/webapp/
*.html</String>
                                                
<String>${project.basedir}/../ShareHunter/src/main/webapp/*.js</
String>
                                        </templateInclusions>

                                </configuration>


COuld you help me ?

Thank you very much !

Anthony

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to