Oh. Thanks Marvin... Seth On Apr 14, 2009, at 5:40 PM, seth wrote:
> > In looking at the maven debug output, I think I see that the mojo > plugin is seeing that it should add both 10-3.2.0.3958 player (last > debug line) AND the older 9.x player. > > I noticed then later that the globalplayer is copied to target/ > classes/ > libraries during the build process, and referenced by the flex > compiler. So I checked the globalplayer.swc in target/classes/ > libraries, and indeed it is the 9.x one. > > It's unclear to me how to proceed... > > > INFO] [flexmojos:compile-swf] > [INFO] flexmojos 3.1.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT > file > [WARNING] Source file was not defined, flexmojos will guess one. > [DEBUG] com.lugiron:typo-ria:swf:1.0-SNAPSHOT (selected for null) > [DEBUG] org.sonatype.flexmojos:flexmojos-unittest-support:swc: > 3.1.0:test (selected for test) > [DEBUG] com.adobe.flex.framework:playerglobal:swc: > 9:3.2.0.3958:test (selected for test) > [DEBUG] com.adobe.flex.framework:framework:swc:3.2.0.3958:test > (selected for test) > [DEBUG] com.adobe.flex.framework:framework:rb.swc:3.2.0.3958:test > (selected for test) > [DEBUG] com.adobe.flexunit:flexunit:swc:0.85:test (selected for > test) > [DEBUG] org.funit:funit:swc:0.50.0245:test (selected for test) > [DEBUG] com.swirlyvision:swirly-vision:swc:1.0:test (selected for > test) > [DEBUG] net.digitalprimates:fluint:swc:v1:test (selected for test) > [DEBUG] com.asunit:asunit:swc:20071011:test (selected for test) > [DEBUG] advancedflex:debugger:swc:0.2alpha2:test (selected for > test) > [DEBUG] com.adobe.flex.framework:flex-framework:pom: > 3.2.0.3958:compile (selected for compile) > [DEBUG] com.adobe.flex.framework:flex:swc:3.2.0.3958:compile > (selected for compile) > [DEBUG] com.adobe.flex.framework:framework:swc:3.2.0.3958:test > (setting scope to: compile) > [DEBUG] com.adobe.flex.framework:framework:swc:3.2.0.3958:compile > (selected for compile) > [DEBUG] com.adobe.flex.framework:framework:zip:configs: > 3.2.0.3958:compile (selected for compile) > [DEBUG] com.adobe.flex.framework:rpc:swc:3.2.0.3958:compile > (selected for compile) > [DEBUG] com.adobe.flex.framework:utilities:swc:3.2.0.3958:compile > (selected for compile) > [DEBUG] com.adobe.flex.framework:playerglobal:swc: > 9:3.2.0.3958:test (setting scope to: compile) > [DEBUG] com.adobe.flex.framework:playerglobal:swc: > 9:3.2.0.3958:compile (selected for compile) > [DEBUG] com.adobe.flex.framework:framework:rb.swc:3.2.0.3958:test > (setting scope to: compile) > [DEBUG] com.adobe.flex.framework:framework:rb.swc: > 3.2.0.3958:compile (selected for compile) > [DEBUG] com.adobe.flex.framework:rpc:rb.swc:3.2.0.3958:compile > (selected for compile) > [DEBUG] com.adobe.flex.framework:playerglobal:swc: > 10-3.2.0.3958:compile (selected for compile) > > > On Apr 14, 5:10 pm, seth <[email protected]> wrote: >> Even after trying numerious other examples, I can't build to flash >> player 10 successfully. >> >> I'm setting targetPlayer successfully--I can see that the flex mojo >> plugin correctly reads that as 10.0.0. No problem there. The issue >> is that a 10.x library feature (in this case, Vector), can not be >> found at compile time. I tried to follow this pom (example flex4- >> gumbo pom >> @http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-t...) >> as an example as closely as I could, but still I get the compilation >> error. >> >> <?xml version="1.0" encoding="UTF-8"?> >> <project xmlns="http://maven.apache.org/POM/4.0.0" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance >> " xsi:schemaLocation="http:// >> maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd"> >> <modelVersion>4.0.0</modelVersion> >> >> <groupId>myproj</groupId> >> <artifactId>myapp</artifactId> >> <version>1.0-SNAPSHOT</version> >> <packaging>swf</packaging> >> >> <name>myapp Flex</name> >> >> <build> >> <sourceDirectory>src/main/flex</sourceDirectory> >> <testSourceDirectory>src/test/flex</testSourceDirectory> >> <plugins> >> <plugin> >> <groupId>org.sonatype.flexmojos</groupId> >> <artifactId>flexmojos-maven-plugin</artifactId> >> <version>3.1.0</version> >> <configuration> >> <targetPlayer>10.0.0</targetPlayer> >> </configuration> >> <extensions>true</extensions> >> <dependencies> >> <dependency> >> <groupId>com.adobe.flex</groupId> >> <artifactId>compiler</artifactId> >> <version>3.2.0.3958</version> >> <type>pom</type> >> </dependency> >> </dependencies> >> </plugin> >> </plugins> >> </build> >> >> <dependencies> >> <dependency> >> <groupId>com.adobe.flex.framework</groupId> >> <artifactId>flex-framework</artifactId> >> <version>3.2.0.3958</version> >> <type>pom</type> >> </dependency> >> >> <dependency> >> <groupId>com.adobe.flex.framework</groupId> >> <artifactId>playerglobal</artifactId> >> <version>10-3.2.0.3958</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> >> </project> >> >> error output: >> >> MyClass.as:[1,1] Definition __AS3__.vec:Vector could not be >> found.package blah >> MyClass.as:[1,1] Definition __AS3__.vec:Vector could not be >> found.package blah >> >> Thanks for any 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] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
