Does ${basedir}/src/main/locales/pt_BR and ${basedir}/src/main/locales/en_US
both exist?

What is the exception?


VELO

On Tue, Mar 15, 2011 at 10:52 AM, wlepinski <[email protected]> wrote:

> I'm trying to compile a swc library using the 4.0-beta-5 version of
> flexmojos but i'm stuck in a error involving locales.
>
> I did the setup of my project using the default localesSourcePath
> (pointing to locales ${basedir}/src/main/locales/{locale} as described
> in docs). My projeto has some test classes and when flexmojos starts
> the process of compile test cases, I'm receiving the following error:
>
> [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
> plugin:4.0-beta-5:test-compile (default-test-compile) on project core:
> Unable to generate tester class. basedir D:\workspace\dclick-framework-
> flex\core\src\main\locales\{locale} does not exist -> [Help 1]
>
> If I comment out the test folder to _test everything "runs" as
> expected but I loose the the flexmojos unit testing feature.
>
> Below is a snippet of my configuration:
>
> Parent pom:
> <configuration>
>        <coverage>true</coverage>
>        <localesCompiled>
>                <locale>pt_BR</locale>
>                <locale>en_US</locale>
>        </localesCompiled>
>        <themes>
>                <theme>${settings.localRepository}/com/adobe/flex/framework/
> framework/${flex.sdk.version}/configs_zip/themes/Spark/spark.css</
> theme>
>        </themes>
>        <fonts>
>                <managers>
>                        <manager>flash.fonts.CFFFontManager</manager>
>                </managers>
>        </fonts>
> </configuration>
>
> Project Pom:
> <configuration>
>        <includeAsClasses>
>                <source>
>                        <directory>src/main/flex</directory>
>                </source>
>        </includeAsClasses>
>        <namespaces>
>                <namespace>
>                        <uri>http://www.dclick.com.br/core</uri>
>                        <manifest>manifest.xml</manifest>
>                </namespace>
>        </namespaces>
>        <includeNamespaces>
>                <namespace>http://www.dclick.com.br/core</namespace>
>        </includeNamespaces>
> </configuration>
>
> I'm doing something wrong?
>
> Thank 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]
> 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