mm...testing the main project (swf) outputs following: --- java.lang.Error: Invalid virtual machine status: null - class org.sonatype.flexmojos.test.threads.AsVmControl at org.sonatype.flexmojos.test.threads.AbstractSocketThread.setError(AbstractSocketThread.java:98) at org.sonatype.flexmojos.test.threads.AsVmControl.handleRequest(AsVmControl.java:58) at org.sonatype.flexmojos.test.threads.AbstractSocketThread.run(AbstractSocketThread.java:57) at java.lang.Thread.run(Thread.java:619) ---
On Fri, Jun 5, 2009 at 4:34 PM, Mario Ernst <[email protected]> wrote: > Obviously I can't receive report from flexunit due to a socket write error. > Do I have to specify a port somewhere? Flexmojos 3.2.0 didn't cause any > trouble, anything changed? > Mario > > On Fri, Jun 5, 2009 at 4:16 PM, Marvin Froeder <[email protected]> wrote: > >> No idea.... this exception just tell me you really had an exception =P >> VELO >> >> On Fri, Jun 5, 2009 at 11:14 AM, Mario Ernst <[email protected]>wrote: >> >>> Thanks! >>> Next problem: I get an socket write error, is it just me, or a flexmojos >>> bug? Had this problem never before.... >>> --- >>> [INFO] Error receiving report from flexunit - class >>> org.sonatype.flexmojos.test.threads.AsVmControl >>> Software caused connection abort: socket write error >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Trace >>> java.lang.Error: Error receiving report from flexunit - class >>> org.sonatype.flexmojos.test.threads.AsVmControl >>> at >>> org.sonatype.flexmojos.test.threads.AbstractSocketThread.setError(AbstractSocketThread.java:98) >>> at >>> org.sonatype.flexmojos.test.threads.AbstractSocketThread.run(AbstractSocketThread.java:67) >>> at java.lang.Thread.run(Thread.java:619) >>> Caused by: java.net.SocketException: Software caused connection abort: >>> socket write error >>> at java.net.SocketOutputStream.socketWrite0(Native Method) >>> at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) >>> at java.net.SocketOutputStream.write(SocketOutputStream.java:136) >>> at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202) >>> at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272) >>> at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276) >>> at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122) >>> at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212) >>> at java.io.BufferedWriter.flush(BufferedWriter.java:236) >>> at >>> org.sonatype.flexmojos.test.threads.AsVmControl.handleRequest(AsVmControl.java:45) >>> at >>> org.sonatype.flexmojos.test.threads.AbstractSocketThread.run(AbstractSocketThread.java:57) >>> --- >>> >>> On Fri, Jun 5, 2009 at 3:45 PM, Marvin Froeder <[email protected]>wrote: >>> >>>> No, we only host there artifacts there aren't available anywhere else... >>>> like some SWCs, flex SDK, and this kind of stuff. >>>> GraniteDS can be found on https://maven2-repository.dev.java.net/ >>>> >>>> VELO >>>> >>>> On Fri, Jun 5, 2009 at 10:42 AM, Mario Ernst <[email protected]>wrote: >>>> >>>>> OK, thanks for that! >>>>> But now I am confused... I need following: >>>>> org.graniteds:granite-generator-share:jar:2.0.0.RC1 >>>>> Shouldn't it be available at >>>>> http://repository.sonatype.org:8081/content/groups/flexgroup/org/graniteds/? >>>>> Mario >>>>> >>>>> On Fri, Jun 5, 2009 at 2:49 PM, Marvin Froeder <[email protected]>wrote: >>>>> >>>>>> Dunno what happened... >>>>>> http://repository.sonatype.org:8081/content/groups/flexgroup/org/sonatype/flexmojos/flexmojos-unittest-support/3.3-SNAPSHOT/ >>>>>> >>>>>> I just re-run hudson to redeploy. >>>>>> >>>>>> >>>>>> >>>>>> VELO >>>>>> >>>>>> On Fri, Jun 5, 2009 at 9:35 AM, Mario Ernst <[email protected]>wrote: >>>>>> >>>>>>> Thanks, but cannot find 3.3-SNAPSHOT here: >>>>>>> http://repository.sonatype.org/content/groups/public/org/sonatype/flexmojos/flexmojos-unittest-support/ >>>>>>> Using >>>>>>> http://repository.sonatype.org/content/groups/public/org/sonatype/flexmojos/flexmojos-maven-plugin/3.3-SNAPSHOT/does >>>>>>> fix the problem? >>>>>>> Mario >>>>>>> >>>>>>> On Fri, Jun 5, 2009 at 2:26 PM, Marvin Froeder <[email protected]>wrote: >>>>>>> >>>>>>>> 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 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Mario Ernst >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Mario Ernst >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> -- >>> Mario Ernst >>> >>> >>> >> >> >> >> > > > -- > Mario Ernst > -- 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/ -~----------~----~----~----~------~----~------~--~---
