Flex 4 has RSLs turned on by default. You shouldn't need to do anything and the spark RSL (as well as the rest of the Flex 4 RSLs) should be used by default.
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7add.html Logan On Sun, May 30, 2010 at 11:35 PM, yuanqixun <[email protected]> wrote: > Hi all, > Today, I meeting a problem for the caching scope problem, I use > flexmojos3.6.1+sdk4.0.0.14159, there is only one dependency for my > test project. > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>flex-framework</artifactId> > <version>4.0.0.14159</version> > <type>pom</type> > </dependency> > don't change anything and compile project, the swf can run normally, > but if I add follow dependency for caching spark.swc: > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>spark</artifactId> > <version>4.0.0.14159</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > and also add configureation: > <rslUrls> > <url>rsl/{artifactId}-{version}.{extension}</url> > </rslUrls> > and compile it successfully, but when I put the swf and rsl directory > into tomcat, I can't run it for lacking some class(in the spark.swc) > error. > Why? Anyone know the reason? or any wrong config for me? > Thanks. -- 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/
