I've been working for two days now to get an AIR app building with
Flex 3.2 and any version of Flex Mojos.  I am referencing icons in my
app.xml file and sign-air is failing with "Icon assets/images/xxx.png
is missing from the package".

I've done lots of searching and discovered that this is an old issue
that was fixed in FlexMojos 4 but I cannot get it to work.  Since I
have to use Flex 3 with my application, I am using the flexmojos-flex3-
compatibility-layer.  I am wondering if this combination is the source
of my problem.  My plugin configuration is below...

${flexmojos.version} has been 3.8, 4.0-RC2, and 4.1-beta.
${flex.version} is 3.2.0.3958

I've tried using includeFileSets but I may have used it incorrectly
because I could not find examples just like mine.

<plugin>
  <groupId>org.sonatype.flexmojos</groupId>
  <artifactId>flexmojos-maven-plugin</artifactId>
  <version>${flexmojos.version}</version>
  <extensions>true</extensions>
  <configuration>
    <sourceFile>${application.name}.mxml</sourceFile>
    <descriptorTemplate>${basedir}/src/main/resources/$
{application.name}-app.xml</descriptorTemplate>
    <flexBuilderCompatibility>true</flexBuilderCompatibility>
    <storepass>[removed]</storepass>
  </configuration>
  <dependencies>
    <dependency>
      <groupId>org.sonatype.flexmojos</groupId>
      <artifactId>flexmojos-flex3-compatibility-layer</artifactId>
      <version>${flexmojos.version}</version>
    </dependency>

    <dependency>
      <groupId>com.adobe.flex</groupId>
      <artifactId>compiler</artifactId>
      <version>${flex.version}</version>
      <type>pom</type>
    </dependency>

    <dependency>
      <groupId>com.adobe.flex</groupId>
      <artifactId>adt</artifactId>
      <version>${flex.version}</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
</plugin>

-- 
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/

Reply via email to