A more useful answer, that will save you hours of dicking around is: Change the name of the css file to defaults.css
I think I posted on this recently. Regards, bryan On Feb 3, 12:07 pm, Marvin Froeder <[email protected]> wrote: > http://flexmojos.sonatype.org/faq.html#9 > > The same principle applies here. > > On Thu, Feb 3, 2011 at 7:42 AM, mob <[email protected]> wrote: > > hey, > > > I try to build a flex theme as a SWC file using flex mojos but I don't > > get a woking result that can be used as a theme. > > > My POM looks as follows... > > > <?xml version="1.0" encoding="UTF-8"?> > > <project > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > >http://maven.apache.org/xsd/maven-4.0.0.xsd" > > xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// > >www.w3.org/2001/XMLSchema-instance"> > > <modelVersion>4.0.0</modelVersion> > > <parent> > > <artifactId>ria-</artifactId> > > <groupId>ria</groupId> > > <version>1.0-SNAPSHOT</version> > > </parent> > > <groupId>ria.portal.style</groupId> > > <artifactId>defaultStyle</artifactId> > > <packaging>swc</packaging> > > <name>defaultStyle</name> > > <build> > > <plugins> > > <plugin> > > <groupId>org.sonatype.flexmojos</groupId> > > > <artifactId>flexmojos-maven-plugin</artifactId> > > <configuration> > > > <includeClasses> > > > <class>skins.BasicSkin</class> > > > <class>.skins.ButtonSkin</class> > > </includeClasses> > > > <includeFiles> > > > <file>${basedir}/src/main/resources/assets/buttonCloseDown.png</ > > file> > > > <file>${basedir}/src/main/resources/assets/buttonCloseOver.png</ > > file> > > </includeFiles> > > > <defaultsCss>${basedir}/src/main/resources/css/myCss.css</ > > defaultsCss> > > > <includeStylesheet> > > <stylesheet> > > <name>myCss</name> > > > <path>${basedir}/src/main/resources/css/myCss.css</path> > > </stylesheet> > > </includeStylesheet> > > > <configurationReport>true</configurationReport> > > > </configuration> > > </plugin> > > </plugins> > > </build> > > <dependencies> > > </dependencies> > > </project> > > > I can create a working theme using a flex-config.file and compiling > > the SWC by "hand" compc -load-config flex-config.xml. > > But I want to have the SWC build by the nightly build. > > > Has anyone an idea what I am missing in the POM file or link or > > something with a working example? > > > Thank you for your help > > > -- > > 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 at > >http://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/
