Ow... bug on 3.2...
Run with -X parameter, already fixed on 3.3

On Fri, Jun 5, 2009 at 9:25 AM, Mario Ernst <[email protected]> wrote:

> Unfortunately not.
> The only sentences with 'error' are:
> - "+ Error stacktraces are turned on."
> - "[ERROR] BUILD ERROR"
> - "[INFO] Error compiling!"
> The lines before the stack trace:
> ---
> [INFO] [resources:testResources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] [flexmojos:test-compile]
> [INFO] flexmojos 3.2.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> [INFO] Compiling test class: [Ljava.lang.String;@ba718e
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error compiling!
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> ---
> ?
>
> On Fri, Jun 5, 2009 at 2:19 PM, Marvin Froeder <[email protected]> wrote:
>
>> Some error log should be printed before that.
>> VELO
>>
>> On Fri, Jun 5, 2009 at 9:16 AM, Mario <[email protected]> wrote:
>>
>>>
>>> Hi,
>>>
>>> I got following exception (flexmojos 3.2.0):
>>> ---
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Error compiling!
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Trace
>>> org.apache.maven.lifecycle.LifecycleExecutionException: Error
>>> compiling!
>>>        at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
>>> (DefaultLifecycleExecutor.java:703)
>>>        at
>>>
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
>>> (DefaultLifecycleExecutor.java:540)
>>>        at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
>>> (DefaultLifecycleExecutor.java:519)
>>>        at
>>>
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
>>> (DefaultLifecycleExecutor.java:371)
>>>        at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
>>> (DefaultLifecycleExecutor.java:332)
>>>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
>>> (DefaultLifecycleExecutor.java:181)
>>>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
>>> 356)
>>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
>>> 137)
>>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>>>        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.classworlds.Launcher.launchEnhanced
>>> (Launcher.java:315)
>>>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>        at org.codehaus.classworlds.Launcher.mainWithExitCode
>>> (Launcher.java:430)
>>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>> Caused by: org.apache.maven.plugin.MojoExecutionException: Error
>>> compiling!
>>>        at
>>> org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.build
>>> (AbstractFlexCompilerMojo.java:2264)
>>>        at org.sonatype.flexmojos.compiler.TestCompilerMojo.buildTest
>>> (TestCompilerMojo.java:415)
>>>        at org.sonatype.flexmojos.compiler.TestCompilerMojo.run
>>> (TestCompilerMojo.java:365)
>>>        at org.sonatype.flexmojos.compiler.TestCompilerMojo.execute
>>> (TestCompilerMojo.java:126)
>>>        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
>>> (DefaultPluginManager.java:483)
>>>        at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
>>> (DefaultLifecycleExecutor.java:678)
>>> ---
>>>
>>> This has something to do with the tests and probably the resources.
>>> Unfortunately I don't get an error report (except of the exception).
>>>
>>> Part of the pom:
>>> ---
>>>        <build>
>>>                <finalName>${project.artifactId}</finalName>
>>>                <sourceDirectory>src/main/flex</sourceDirectory>
>>>                <testSourceDirectory>src/test/flex</testSourceDirectory>
>>>                <plugins>
>>>                        <plugin>
>>>                                <groupId>org.sonatype.flexmojos</groupId>
>>>
>>>  <artifactId>flexmojos-maven-plugin</artifactId>
>>>                                <version>${flexmojos.version}</version>
>>>                                <extensions>true</extensions>
>>>
>>>                                <configuration>
>>>          <resourceBundlePath>${basedir}/src/main/resources/locale/
>>> {locale}</resourceBundlePath>
>>>          <compiledLocales>
>>>            <locale>en_US</locale>
>>>            <locale>de_DE</locale>
>>>          </compiledLocales>
>>>                                </configuration>
>>>
>>>                        </plugin>
>>>                </plugins>
>>>        </build>
>>> ---
>>>
>>> Actually I did copy all the locale resources from src/main/resources
>>> to src/test/resources (Is this really necessary?).
>>>
>>> Any help would be appreciated.
>>> Mario
>>>
>>>
>>
>>
>>
>
>
> --
> Mario Ernst
>
>
> >
>

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