maven.cfg is only make/populated on unit test SWF, I'm did understand if that is your scenario. If yes, I should be generated.
Did you change updateSecuritySandbox to true: http://docs.flex-mojos.info/flex-compiler-mojo/test-run-mojo.html#updateSecuritySandbox Anyway, as far I remember, RSL (SWF and SWZ) are switched to merged (or included) scope on tests. But I'm not sure and can't go to sources right now. VELO On Thu, Oct 9, 2008 at 3:27 AM, Marc Speck <[EMAIL PROTECTED]> wrote: > Hey Velo, because you are fixing my bugs (e.g. 117) so quickly, I thought I > could come up with an other issue :) > > 1. I have just updated to Flex 3.1.2710 and got an error Error #2048: > Security sandbox violation: > file:///C|/blabla/target/test-classes/TestRunner.swf cannot load data from > https://example.com/datavisualization_3.1.0.2710.swz." when the first test > started. Is http://code.google.com/p/flex-mojos/issues/detail?id=69 still > working because I can't find a maven.cfg . > > 2. I added a maven.cfg manually and I got "'Error #2046: The loaded file > did not have a valid signature". pom.xml looks something like: > > </plugin> > </configuration> > <rslUrls> > <url> > https://example.com/framework/{artifactId}_{version}.{extension}<https://example.com/framework/%7BartifactId%7D_%7Bversion%7D.%7Bextension%7D> > </url> > </rslUrls> > </configuration> > </plugin> > > <dependency> > <groupId>com.adobe.flex.sdk</groupId> > <artifactId>framework</artifactId> > <version>3.1.0.2710</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > <dependency> > <groupId>com.adobe.flex.sdk</groupId> > <artifactId>datavisualization</artifactId> > <version>3.1.0.2710</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > <dependency> > <groupId>com.adobe.flex.sdk</groupId> > <artifactId>rpc</artifactId> > <version>3.1.0.2710</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > > Note that I load the swz from the internet with a suitable crossdomain.xml. > All runs in Flash Player 9.0.124.0. > > 3. When I disallow Flash Player in the settings manager any caching, I get > the same result. > > 4. Then I found out that the set up above is a perfect description of your > bug http://bugs.adobe.com/jira/browse/SDK-15784. The swz-dependencies lie > in my super-pom, meaning that all sub-projects have it. As you described in > Jira, I moved the dependencies into the sub-project poms and removed > unnecessary dependencies (rpc and/or datavisualtion) and it sails smoothly! > > Here my questions: > - Is maven.cfg still created? > - If so, how do you test the swz integration? Do you disable Flash Player > caching on your test server and when it fails, there is something fishy? > > Regards, > Marc > > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
