Ok, here we go:
1. With 3.3-SNAPSHOT, maven could not resolve org.graniteds:granite-
generator-share:jar:2.0.0.RC1 .
2. In debug mode, got first an outOfMemory
3. Two compile errors in my AS code due to Flex 4
4. The message below poped up. Is this related to
https://bugs.adobe.com/jira/browse/SDK-21102 ?

Marc



DEBUG] maven.cfg location: C:\Users\Marc\AppData\Roaming\Macromedia
\Flash Player\#Security\FlashPlayerTrust\maven.cfg
[DEBUG] Already trust on C:\devl\workspace_client\EditImage\target
\test-classes\TestRunner.swf
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An error has ocurried while recording config-report

Embedded error: Error on line 1: Premature end of file.
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An error has
ocurried while recording config-report
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:584)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:500)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:479)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:331)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(DefaultLifecycleExecutor.java:292)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        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: An error
has ocurried while recording config-report
        at
org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.writeReport
(AbstractFlexCompilerMojo.java:2188)
        at
org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.writeConfigurationReport
(AbstractFlexCompilerMojo.java:2150)
        at org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.tearDown
(AbstractFlexCompilerMojo.java:1957)
        at org.sonatype.flexmojos.compiler.ApplicationMojo.tearDown
(ApplicationMojo.java:205)
        at org.sonatype.flexmojos.compiler.TestCompilerMojo.execute
(TestCompilerMojo.java:127)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
(DefaultPluginManager.java:453)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:559)
        ... 16 more
Caused by: org.jdom.input.JDOMParseException: Error on line 1:
Premature end of file.
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468)
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:851)
        at org.sonatype.flexmojos.compiler.FlexConfigBuilder.parse
(FlexConfigBuilder.java:59)
        at org.sonatype.flexmojos.compiler.FlexConfigBuilder.<init>
(FlexConfigBuilder.java:43)
        at
org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.writeReport
(AbstractFlexCompilerMojo.java:2179)
        ... 22 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
        ... 26 more


On Jun 9, 3:13 pm, Marvin Froeder <[email protected]> wrote:
> Run in debug mode (mvn -X) or use 3.3-SNAPSHOT to see the error log.
> VELO
>
> On Tue, Jun 9, 2009 at 10:03 AM, Marc <[email protected]> wrote:
>
> > Compiling the app works well. But I cannot get it to run unit tests,
> > see trace at the end. It generates the correct TestRunner.mxml but
> > fails to compile the TestRunner.swf . I use
>
> >                <dependency>
> >                        <groupId>org.sonatype.flexmojos</groupId>
> >                        <artifactId>flexmojos-unittest-support</artifactId>
> >                        <version>3.2.0</version>
> >                        <type>swc</type>
> >                        <scope>test</scope>
> >                </dependency>
>
> > Is that the problem?
> > Marc
>
> > ...
> > [INFO] [flexmojos:test-compile]
> > [INFO] flexmojos 3.2.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT
> > file
> > [INFO] Compiling test class: [Ljava.lang.String;@179bf17
> > [INFO]
> > ------------------------------------------------------------------------
> > [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:584)
> >        at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > (DefaultLifecycleExecutor.java:500)
> >        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> > (DefaultLifecycleExecutor.java:479)
> >        at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > (DefaultLifecycleExecutor.java:331)
> >        at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > (DefaultLifecycleExecutor.java:292)
> >        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > (DefaultLifecycleExecutor.java:142)
> >        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> >        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> >        at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >        at java.lang.reflect.Method.invoke(Unknown Source)
> >        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:453)
> >        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > (DefaultLifecycleExecutor.java:559)
> >        ... 16 more
>
> > On Jun 9, 4:38 am, Marvin Froeder <[email protected]> wrote:
> > > Ok done.
> > > VELO
>
> > > On Mon, Jun 8, 2009 at 11:58 AM, Marc <[email protected]> wrote:
>
> > > > Hey Velo, you've been doing a great job for ages!
> > > > Thanks,
> > > > Marc
>
> > > > On Jun 8, 4:44 pm, Marvin Froeder <[email protected]> wrote:
> > > > > Well, usually I only released flex 3 milestones.... but I think is a
> > nice
> > > > > idea release flex 4 beta 1.
> > > > > I will check what changed and update my xmls....  will try to get it
> > in
> > > > > tonight.
>
> > > > > VELO
>
> > > > > On Mon, Jun 8, 2009 at 11:28 AM, Marc <[email protected]> wrote:
>
> > > > > > If I understand former discussions correctly, installing Flex SDKs
> > is
> > > > > > not recommended anymore. Hence the question whether you plan to add
> > > > > > Flex 4beta1 to sonatypes repository?
> > > > > > Thanks for any hints,
> > > > > > Marc
--~--~---------~--~----~------------~-------~--~----~
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