It works at flexbuilder... hrmm, take a look on flexmojos faq. On Jun 15, 10:39 pm, Dan Schultz <[email protected]> wrote: > Hi, > > We have a SWF project setup such that it's using framework caching and > compiling two modules alongside the main SWF. Everything compiles > fine with flexmojos, however, when running the main SWF and loading a > module, the module is throwing an error saying it cannot load a skin > class for one of the list controls. This hints that the framework > SWZs aren't being used by the module file. Does FlexMojos support > this setup? Compiling in FlashBuilder works fine. Here's excerpts > from my POM file: > > <dependencies> > <!-- framework caching dependencies --> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>textLayout</artifactId> > <version>${flex-sdk.version}</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>osmf</artifactId> > <version>${flex-sdk.version}</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>framework</artifactId> > <version>${flex-sdk.version}</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>spark</artifactId> > <version>${flex-sdk.version}</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>sparkskins</artifactId> > <version>${flex-sdk.version}</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>datavisualization</artifactId> > <version>${flex-sdk.version}</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>rpc</artifactId> > <version>${flex-sdk.version}</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > > <!-- theme dependencies --> > <dependency> > <groupId>com.adobe.flex.themes</groupId> > <artifactId>halo</artifactId> > <version>1.0</version> > <type>swc</type> > <scope>theme</scope> > </dependency> > </dependencies> > > <build> > <sourceDirectory>src</sourceDirectory> > <outputDirectory>bin-debug</outputDirectory> > <plugins> > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <version>${flex-mojos.version}</version> > <extensions>true</extensions> > <dependencies> > <dependency> > <groupId>com.adobe.flex</groupId> > <artifactId>compiler</artifactId> > <version>${flex-sdk.version}</version> > <type>pom</type> > </dependency> > </dependencies> > <configuration> > > <configurationReport>true</configurationReport> > <debug>${flex-debug-enabled}</debug> > <sourceFile>previewer.mxml</sourceFile> > <moduleFiles> > > <module>modules/book_previewer_module.mxml</module> > > <module>modules/card_previewer_module.mxml</module> > </moduleFiles> > <rslUrls> > <url>${flex-rsl.templateUrl}</url> > </rslUrls> > </configuration> > </plugin> > </plugins> > </build> > > Dan
-- 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/
