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-test-harness/projects/concept/flex4-gumbo/pom.xml) 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.0 http://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/ -~----------~----~----~----~------~----~------~--~---
