Hi there,
I'm trying to use Flex 4, with Spring 3.0 using Spring-Flex 1.5.0 M1
and Flex-Mojos to build it, targeting Flash Player 10.1.
I'm trying to use Flex-Mojos 3.7.1 with the 4.1 flex compiler as you
can see below (I had to work around the playerglobal issue reported in
other threads on this group). I couldn't get the Flex-Mojos 4 version
working either. Oh, and I've got the flex-group repository set up in
my 'repositories' section too.
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>3.7.1</version>
<extensions>true</extensions>
<configuration>
<output>${basedir}/../Prototype/src/main/webapp/$
{project.build.finalName}/${project.build.finalName}.swf</output>
<services>${basedir}/../Prototype/src/main/webapp/WEB-INF/flex/
services-config.xml</services>
<contextRoot>/Prototype</contextRoot>
<locales>
<locale>en_UK</locale>
</locales>
<source>1.5</source>
<target>1.5</target>
<encoding>${project.build.sourceEncoding}</encoding>
<debug>true</debug>
</configuration>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>4.1.0.16248</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.compiler</groupId>
<artifactId>asdoc</artifactId>
<version>4.1.0.16248</version>
<classifier>template</classifier>
<type>zip</type>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>3.7.1</version>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>framework</artifactId>
<version>4.1.0.16248</version>
<type>pom</type>
<exclusions>
<exclusion>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>playerglobal</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>playerglobal</artifactId>
<classifier>10.1</classifier>
<version>4.1.0.16248</version>
<type>swc</type>
</dependency>
</dependencies>
The problem is that I get "Could not resolve <s:Application>" when I
try to compile my simple test app, and no matter how I configure it, I
get this issue. So I guess my question is, what dependencies and
configuration do I need to get this all working? Is it even possible?
(I was able to get Flex 3 compiling so maybe that's the best option
for the time-being?)
Any help would be appreciated!!
Regards,
Paul
--
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/