Hi, I'm unable to compile when I have a font in my stylesheet. I remove the font, and it works.
I'm using includeStylesheet. I deployed all the font jars (afe,
aglj32...).
My project structure is:
pom.xml
-src
-main
-flex
standard.css
-resources
font.ttf
Any help would be appreciated.
Here is my pom:
<?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">
<parent>
<groupId>com.mtvi</groupId>
<artifactId>master-flex</artifactId>
<version>19</version>
</parent>
<properties>
<flex.version>3.2.0.3958</flex.version>
</properties>
<version>1.0</version>
<modelVersion>4.0.0</modelVersion>
<groupId>com.mtvnet.player</groupId>
<artifactId>standardcss</artifactId>
<packaging>swc</packaging>
<build>
<finalName>${artifactId}.${version}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<configuration>
<fonts>
<managers>
<manager>
flash.fonts.AFEFontManager
</manager>
</managers>
</fonts>
</configuration>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>flex-fontkit</artifactId>
<version>${flex.version}</version>
</dependency>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>afe</artifactId>
<version>${flex.version}</version>
</dependency>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>aglj32</artifactId>
<version>${flex.version}</version>
</dependency>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>rideau</artifactId>
<version>${flex.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>process-as</id>
<phase>process-resources</phase>
<goals>
<goal>resources</goal>
</goals>
<configuration>
<outputDirectory>
${basedir}/target/generated-as
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>info.flex-mojos</groupId>
<artifactId>flex-compiler-mojo</artifactId>
<configuration>
<sourcePaths>
<path>${project.build.sourceDirectory}</path>
<path>${basedir}/target/generated-as</path>
</sourcePaths>
<includeStylesheet>
<stylesheet>
<path>
${basedir}/src/main/flex/standard.css
</path>
</stylesheet>
</includeStylesheet>
</configuration>
</plugin>
</plugins>
</build>
</project>
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---
