Please file it here:
https://issues.sonatype.org/browse/FLEXMOJOS

I will address once I get back.


VELO

On Dec 28, 7:47 pm, Eric <[email protected]> wrote:
> There is a bug in the sign-air mojo when you have an AIR application
> descriptor file that includes a reference to an icon PNG.
>
> If your descriptor file contains a block like:
>
> <icon>
>        <image128x128>my128.png</image128x128>
>     </icon>
>
> and you build the project with maven you will get this error even
> though the icon is present:
>
> error 303: Icon adchemy128.png is missing from package
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error generating AIR package 12
>
> This is because in the SignAirMojo.java class's getAirDescriptor()
> method it only adds SWC and SWF dependencies to the AIR package,
> omitting any other assets like PNGs. Here's the block of code in
> question:
>
> Set<Artifact> deps = project.getDependencyArtifacts();
>             for ( Artifact artifact : deps )
>             {
>                 if ( SWF.equals( artifact.getType() ) || SWC.equals
> ( artifact.getType() ) )
>                 {
>                     output = artifact.getFile();
>                     break;
>                 }
>             }
>
> Where can this be filed as a bug for the flex-mojos project?
>
> Thanks,
>
> Eric Anderson
> UI Engineer at Adchemy, Inc.

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

Reply via email to