Interestingly, if I manually copy a flash10 playerglobal.swc into the target/classes/libraries folder everything works correctly
On 21/04/2009, at 8:33 PM, Marvin Froeder wrote: > But what happened now? > > BTW, you should keep flex-framework dep. > > > VELO > > On Tue, Apr 21, 2009 at 9:54 AM, Adam Boas <[email protected]> > wrote: > Thanks for your help, but still no joy. I have tried adding the > flashplayer 10 as both a project dependency and a plugin dependency. > Same result in both cases. My pom currrently looks like this: > > <build> > <sourceDirectory>src/main/flex</sourceDirectory> > <!--<resources><resource><directory>src/main/resources</ > directory></resource></resources>--> > <plugins> > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <version>3.1.0</version> > <extensions>true</extensions> > <configuration> > <locales> > <locale>en_US</locale> > </locales> > <sourceFile>Kata.mxml</sourceFile> > <targetPlayer>10.0.22</targetPlayer> > </configuration> > <dependencies> > <dependency> > <groupId>com.adobe.flex</groupId> > <artifactId>compiler</artifactId> > <version>${project.flex.version}</version> > <type>pom</type> > </dependency> > </dependencies> > </plugin> > </plugins> > </build> > > <dependencies> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>flex-framework</artifactId> > <version>${project.flex.version}</version> > <type>pom</type> > </dependency> > > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>playerglobal</artifactId> > <version>${project.flex.version}</version> > <classifier>10</classifier> > <type>swc</type> > </dependency> > > <dependency> > <groupId>org.puremvc</groupId> > <artifactId>puremvc</artifactId> > <version>2.0.4</version> > <type>swc</type> > </dependency> > > <!-- flexmojos Unit testing support --> > <!--<dependency>--> > <!--<groupId>org.sonatype.flexmojos</groupId>--> > <!--<artifactId>flexmojos-unittest-support</artifactId>--> > <!--<version>3.1.0</version>--> > <!--<type>swc</type>--> > <!--<scope>test</scope>--> > <!--</dependency>--> > > </dependencies> > > compiler output looks like this: > > -compiler.accessible=false > -compiler.actionscript-file-encoding UTF-8 > -compiler.allow-source-path-overlap=false > -compiler.as3=true > -compiler.debug=false > -compiler.es=false > -compiler.external-library-path /Users/adam/Java/projects/kata/kata- > client/target/classes/libraries/playerglobal.swc > -compiler.fonts.local-fonts-snapshot /Users/adam/Java/projects/kata/ > kata-client/target/classes/fonts.ser > -compiler.headless-server=false > -compiler.include-libraries= > -compiler.keep-all-type-selectors=false > -compiler.keep-generated-actionscript=false > -compiler.library-path /Users/adam/.m2/repository/com/adobe/flex/ > framework/applicationupdater/3.3.0.4852/ > applicationupdater-3.3.0.4852.swc /Users/adam/.m2/repository/com/ > adobe/flex/framework/applicationupdater_ui/3.3.0.4852/ > applicationupdater_ui-3.3.0.4852.swc /Users/adam/.m2/repository/com/ > adobe/flex/framework/flex/3.3.0.4852/flex-3.3.0.4852.swc /Users/ > adam/.m2/repository/com/adobe/flex/framework/framework/3.3.0.4852/ > framework-3.3.0.4852.swc /Users/adam/.m2/repository/com/adobe/flex/ > framework/rpc/3.3.0.4852/rpc-3.3.0.4852.swc /Users/adam/.m2/ > repository/com/adobe/flex/framework/utilities/3.3.0.4852/ > utilities-3.3.0.4852.swc /Users/adam/.m2/repository/org/puremvc/ > puremvc/2.0.4/puremvc-2.0.4.swc /Users/adam/.m2/repository/com/adobe/ > flex/framework/rpc/3.3.0.4852/rpc-3.3.0.4852-en_US.rb.swc /Users/ > adam/.m2/repository/com/adobe/flex/framework/framework/3.3.0.4852/ > framework-3.3.0.4852-en_US.rb.swc > -compiler.locale en_US > -compiler.namespaces.namespace http://www.adobe.com/2006/mxml /Users/ > adam/Java/projects/kata/kata-client/target/classes/configs/mxml- > manifest.xml > -compiler.optimize=true > -compiler.source-path /Users/adam/Java/projects/kata/kata-client/src/ > main/flex > -compiler.strict=true > -compiler.use-resource-bundle-metadata=true > -compiler.verbose-stacktraces=false > -default-background-color 8821927 > -default-frame-rate 24 > -default-script-limits 1000 60 > -default-size 500 375 > -licenses.license flexbuilder3 137740039730199284090423 > -licenses.license flexbuilder3.displayed10DaysLeftMessage true > -licenses.license flexbuilder3.displayed20DaysLeftMessage true > -licenses.license flexbuilder3.displayedFirstLaunchMessage true > -metadata.creator Adam Boas > -metadata.date Tue Apr 21 19:49:57 ICT 2009 > -target-player 10.0.22 > -use-network=true > -verify-digests=true -load-config= > > Any further suggestion would really be appreciated. Again, just to > recap this compiles fine using the adobe 3.3 sdk and IntelliJ. > > Cheers, > > Adam > > On 21/04/2009, at 6:55 PM, Marvin Froeder wrote: > >> <dependency> <groupId>com.adobe.flex.framework</groupId> >> <artifactId>playerglobal</artifactId> <version>3.3.0.4852</ >> version> <classifier>10</classifier> <type>swc</type> </dependency> > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
