Hey, Anthony In case helpful, Velo /may/ be referring to this thread of mine...
http://groups.google.com/group/flex-mojos/browse_thread/thread/f512edf088b0443d/d6afab07caf490f8?lnk=gst&q=multiple+directories+Rupert#d6afab07caf490f8 ...and I ended up with this in the POM's build/plugins: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>otherSrc/main/flex</source> </sources> </configuration> </execution> </executions> </plugin> HTH, R. p.s. Hope this was what Velo was referring to! (it'd be nice to be contributing and not leaching here for once ;-) ) On Sep 12, 7:56 am, Marvin Froeder <[email protected]> wrote: > There was a discussion about that a few days ago on group... > > Sent from DROID > > Em 12/09/2010 03:53, "Anthony" <[email protected]>escreveu: > > 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]<flex-mojos%[email protected]> > For more options, visit this group athttp://groups.google.com/group/flex-mojos > > http://flexmojos.sonatype.org/ -- 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/
