Evening everyone, I've found a few previous threads on this topic, but I'm not sure of a definitive answer. Can I add an execution to the flexmojos-maven- plugin where compile-swf is the intended goal to compile a css file to a swf? For example:
<plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <configuration> <defaultLocale>en_US</defaultLocale> <runtimeLocales> <locale>en_US</locale> </runtimeLocales> <sourceFile>Main.mxml</sourceFile> </configuration> <executions> <execution> <id>compile-css-to-swf</id> <phase>compile</phase> <goals> <goal>compile-swf</goal> </goals> <configuration> <sourcePaths> <path>src/main/resources/styles</path> </sourcePaths> <sourceFile>src/main/resources/styles/styles.css</ sourceFile> <output>${project.build.directory}/styles/$ {project.build.finalName}_style.swf</output> </configuration> </execution> </executions> </plugin> I've had no luck getting this to work and effective-pom doesn't show me inheriting any configuration options into this execution, so my only guess is that flex-mojos doesn't support this currently, or that I'm completely misconfiguring something. I really want my css to live with my project (I don't want to create another project just for the css). Is there a configuration option I'm missing that will allow me to handle css files as resource bundles are handled? Are there anything new in 3.3-SNAPSHOT I can use? Should I just stick with the theme configuration option for now and embed, or should I start digging into the maven-ant-run plugin and the flex ant tasks? Thanks in advance for any clarification you can offer on top of previous discussions. -Brian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---