Seem a bug, file a jira for it. VELO
On Tue, Mar 15, 2011 at 11:41 AM, wlepinski <[email protected]> wrote: > Hi velo, > > I double checked and both folders exists, below the exception: > > [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] > org.apache.maven.lifecycle.LifecycleExecutionException: 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. > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > 217) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > 153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > 145) > at > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java: > 84) > at > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java: > 59) > at > > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java: > 183) > at > > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java: > 161) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: > 319) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: > 156) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > 39) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: > 25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java: > 290) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java: > 230) > at > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java: > 409) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java: > 352) > Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to > generate tester class. > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.buildTest(TestCompilerMojo.java: > 226) > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.execute_aroundBody0(TestCompilerMojo.java: > 295) > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.execute_aroundBody1$advice(TestCompilerMojo.java: > 36) > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.execute_aroundBody2(TestCompilerMojo.java: > 244) > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.execute_aroundBody3$advice(TestCompilerMojo.java: > 14) > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.execute_aroundBody4(TestCompilerMojo.java: > 1) > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.execute_aroundBody5$advice(TestCompilerMojo.java: > 17) > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.execute(TestCompilerMojo.java: > 1) > at > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java: > 101) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > 209) > ... 19 more > Caused by: java.lang.IllegalStateException: basedir D:\workspace > \dclick-framework-flex\core\src\main\locales\{locale} does not exist > at > org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java: > 542) > at > > org.sonatype.flexmojos.plugin.test.scanners.AbstractFlexClassScanner.scan(AbstractFlexClassScanner.java: > 31) > at > > org.sonatype.flexmojos.plugin.test.scanners.AllFlexClassScanner.scan(AllFlexClassScanner.java: > 28) > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.getFlexClassScanner_aroundBody10(TestCompilerMojo.java: > 411) > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.getFlexClassScanner_aroundBody11$advice(TestCompilerMojo.java: > 37) > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.getFlexClassScanner(TestCompilerMojo.java: > 1) > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.getExtraIncludes(TestCompilerMojo.java: > 377) > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.generateTester(TestCompilerMojo.java: > 320) > at > > org.sonatype.flexmojos.plugin.test.TestCompilerMojo.buildTest(TestCompilerMojo.java: > 222) > ... 28 more > > Do you need other information? > > []'s > > On 15 mar, 11:02, Marvin Froeder <[email protected]> wrote: > > 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/ > -- 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/
