You are messing flex 3 compiler with flex 4 swcs.... Please refer to https://docs.sonatype.org/display/FLEXMOJOS/FAQ#FAQ-1.2
<https://docs.sonatype.org/display/FLEXMOJOS/FAQ#FAQ-1.2>VELO On Thu, Jun 25, 2009 at 5:26 PM, Kris Hofmans <[email protected]>wrote: > > Hello, > > I am trying to build a flex4 beta 1 project. But as far as I can see > it there is an error in the defaults.css file included with the flex4 > sdk? > > This is my pom.xml: > <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/xsd/maven-4.0.0.xsd"> > > <modelVersion>4.0.0</modelVersion> > > <groupId>be.coconut.client</groupId> > <artifactId>coconut-cookie</artifactId> > <packaging>swf</packaging> > <version>0.0.1-SNAPSHOT</version> > <name>Coconut Cookie</name> > > <repositories> > <repository> > <id>flex-mojos-repository</id> > <url>http://repository.sonatype.org/content/groups/ > flexgroup/</url> > <releases> > <enabled>true</enabled> > </releases> > <snapshots> > <enabled>false</enabled> > </snapshots> > </repository> > </repositories> > > <pluginRepositories> > <pluginRepository> > <id>flex-mojos-repository</id> > <url>http://repository.sonatype.org/content/groups/ > flexgroup/</url> > <releases> > <enabled>true</enabled> > </releases> > <snapshots> > <enabled>false</enabled> > </snapshots> > </pluginRepository> > </pluginRepositories> > > <properties> > <flexmojos-maven-plugin.version>3.2.0</flexmojos-maven- > plugin.version> > </properties> > > <dependencies> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>flex-framework</artifactId> > <version>4.0.0.7219</version> > <type>pom</type> > </dependency> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>playerglobal</artifactId> > <version>4.0.0.7219</version> > <classifier>10</classifier> > <type>swc</type> > </dependency> > </dependencies> > > <build> > <finalName>cookie.swf</finalName> > <sourceDirectory>src/main/flex</sourceDirectory> > <plugins> > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <version>${flexmojos-maven-plugin.version}</version> > <extensions>true</extensions> > <configuration> > <targetPlayer>10.0.0</targetPlayer> > <locales> > <locale>en_US</locale> > </locales> > </configuration> > </plugin> > </plugins> > </build> > > </project> > > and this is what I get during mvn compile: > [ERROR] C:\Documents and Settings\Owner\.m2\repository\com\adobe\flex > \framework\flex4\4.0.0.7219\flex4-4.0.0.7219.swc$defaults.css:[15,-1] > { expected. > [ERROR] C:\Documents and Settings\Owner\.m2\repository\com\adobe\flex > \framework\framework\4.0.0.7219\framework-4.0.0.7219.swc$defaults.css: > [15,-1] { expected. > > Should flex 4 support be considered as usable or will there be lots of > understandable beta issues like this? > > Best regards, > Kris > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
