No, if what you are saying is true I have no clue.

BTW, don't use sourcePaths, specially using it wrongly like you are.


VELO

On Sat, May 22, 2010 at 5:03 PM, fiserra <[email protected]> wrote:

>
> I'm getting the following error when using flex-mojos to build a flex
> library
>  Error: unable to resolve '/images2/iconSave.png' for transcoding
>
> Here is the mxml code:
>
> <mx:Button x="315" y="10" paddingTop="2"
>                                                   width="32" height="23"
>
> styleName='extButtonMiniBlue'
>
> icon="@Embed(source='/images2/iconSave.png')" />
> Here is my pom:
>
>                        <plugin>
>                                <groupId>org.sonatype.flexmojos</groupId>
>
>  <artifactId>flexmojos-maven-plugin</artifactId>
>                                <version>${flex-mojos.version}</version>
>                                <extensions>true</extensions>
>                                <configuration>
>                                        <sourcePaths>
>
>  <path>${basedir}/src/main/flex</path>
>
>  <path>${basedir}/src/main/resources</path>
>                                        </sourcePaths>
>
>  <allowSourcePathOverlap>true</allowSourcePathOverlap>
>
>  <resourceBundlePath>${basedir}/src/main/resources/locale/{locale}
> </resourceBundlePath>
>
>  <mergeResourceBundle>true</mergeResourceBundle>
>                                        <compiledLocales>
>                                                <locale>cs_CZ</locale>
>                                                <locale>en_US</locale>
>                                        </compiledLocales>
>
>  <targetPlayer>${flashPayer.version}</targetPlayer>
>                                </configuration>
>                                <dependencies>
>                                        <dependency>
>
>  <groupId>com.adobe.flex</groupId>
>
>  <artifactId>compiler</artifactId>
>
>  <version>${flex.sdk.version}</version>
>                                                <type>pom</type>
>                                        </dependency>
>                                </dependencies>
>                        </plugin>
> the 'image2' folder is placed under src\main\resources\
> Any ideas what I'm doing wrong?
> Thanks in advance!
>
> --
> 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]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>

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