surefire 2.4.2 fixes manifest issue (was Re: [ANN] Maven Surefire Plugin 2.4.1 for Maven 2 Released)
On Feb 7 at 6:01pm, DF=Dan Fabulich [EMAIL PROTECTED] wrote: DF [..snip..] DF DF Ah, hearing that makes me strongly suspect that this is SUREFIRE-445 and DF SUREFIRE-451. DF DF http://jira.codehaus.org/browse/SUREFIRE-445 DF http://jira.codehaus.org/browse/SUREFIRE-451 DF DF Thanks for doing this research; I've moved these bugs into the upcoming DF 2.4.2 release. DF DF -Dan DF Hi Dan, I can report that my earlier reported problems with jdk 1.6 and surefire 2.4.1 and errors with the manifest have now been fixed with surefire 2.4.2. Running under cruisecontrol with surefire 2.4.2 and the jdk 1.6, I no longer get the manifest related errors. Regards, -- Haroon Rafique [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Surefire Plugin 2.4.1 for Maven 2 Released
Hi, Will: http://jira.codehaus.org/browse/SUREFIRE-452 be fixed for 2.4.2. Any time estimation for this release? Thanks, Erez. On Fri, Feb 8, 2008 at 4:01 AM, Dan Fabulich [EMAIL PROTECTED] wrote: Haroon Rafique wrote: For me when the error about Failed to load Main-Class manifest attribute from /tmp/surefirebooter???.jar appeared, I re-ran the tests with mvn -X and then opened up the /tmp/surefirebooter???.jar file. It is a .jar file with only one entry META-INF/MANIFEST.MF. Inside the MANIFEST.MF there are 2 entries. Class-Path and Main-Class. Sure enough, the file was in tact, yet surefirebooter would say it can't find the Main-Class. You can even try the actual java -jar /tmp/surebooter???.jar . command and it still failed. Looking a little bit more, I was able to extract the MANIFEST.MF file and change its format from dos to unix in vim and repackaged it back into a jar and sure enough the java -jar /tmp/surefirebooter???.jar . command was able to run. Ah, hearing that makes me strongly suspect that this is SUREFIRE-445 and SUREFIRE-451. http://jira.codehaus.org/browse/SUREFIRE-445 http://jira.codehaus.org/browse/SUREFIRE-451 Thanks for doing this research; I've moved these bugs into the upcoming 2.4.2 release. -Dan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Surefire Plugin 2.4.1 for Maven 2 Released
Good work Haroon, Thanks for the information. In my case I'm getting the error on the command line. My project has numerous subprojects and the error only occurs several projects into the build so it will take some time to create a minimal test case. Donnchadh On 07/02/2008, Haroon Rafique [EMAIL PROTECTED] wrote: On Today at 3:30pm, DD=Donnchadh Ó Donnabháin [EMAIL PROTECTED] wrote: DD Hi Dan, DD DD When I switch from surefire 2.4 to 2.4.1 I get the error below. DD /tmp/surefirebooter22682.jar doesn't seem to even exist. Any idea what DD might be causing this? DD Not knowing much about surefirebooter, I can at least tell you (paraphrasing here) that the /tmp/surefirebooter*.jar files are created at runtime and then deleted when the test is over. If you run with mvn -X, the /tmp/surefirebooter*.jar will be left in tact to aid in the debugging process. For me when the error about Failed to load Main-Class manifest attribute from /tmp/surefirebooter???.jar appeared, I re-ran the tests with mvn -X and then opened up the /tmp/surefirebooter???.jar file. It is a .jar file with only one entry META-INF/MANIFEST.MF. Inside the MANIFEST.MF there are 2 entries. Class-Path and Main-Class. Sure enough, the file was in tact, yet surefirebooter would say it can't find the Main-Class. You can even try the actual java -jar /tmp/surebooter???.jar . command and it still failed. Looking a little bit more, I was able to extract the MANIFEST.MF file and change its format from dos to unix in vim and repackaged it back into a jar and sure enough the java -jar /tmp/surefirebooter???.jar . command was able to run. This is as far as I've gotten so far. Two other data points: 1) Problems are fixed when dropping jdk to 1.5.0_14 2) Problem only appears running inside cruisecontrol (not on the command line) I would be tempted to file a jira but my project is pretty big and I'm finding it absolutely difficult to localize the issue so that I can present a minimal test case. So, with the information that I have provided to you so far, hopefully you can provide a minimal test case :-) (or at least, I can wish). Regards, -- Haroon Rafique [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Surefire Plugin 2.4.1 for Maven 2 Released
On Today at 3:30pm, DD=Donnchadh Ó Donnabháin [EMAIL PROTECTED] wrote: DD Hi Dan, DD DD When I switch from surefire 2.4 to 2.4.1 I get the error below. DD /tmp/surefirebooter22682.jar doesn't seem to even exist. Any idea what DD might be causing this? DD DD Thanks DD DD Donnchadh DD Funny that you mention that. It happens for me too on jdk 1.6.0_04 but only when running under cruisecontrol. I'm on maven 2.0.8, surefire 2.4. Later, -- Haroon Rafique [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Surefire Plugin 2.4.1 for Maven 2 Released
On Today at 3:30pm, DD=Donnchadh Ó Donnabháin [EMAIL PROTECTED] wrote: DD Hi Dan, DD DD When I switch from surefire 2.4 to 2.4.1 I get the error below. DD /tmp/surefirebooter22682.jar doesn't seem to even exist. Any idea what DD might be causing this? DD Not knowing much about surefirebooter, I can at least tell you (paraphrasing here) that the /tmp/surefirebooter*.jar files are created at runtime and then deleted when the test is over. If you run with mvn -X, the /tmp/surefirebooter*.jar will be left in tact to aid in the debugging process. For me when the error about Failed to load Main-Class manifest attribute from /tmp/surefirebooter???.jar appeared, I re-ran the tests with mvn -X and then opened up the /tmp/surefirebooter???.jar file. It is a .jar file with only one entry META-INF/MANIFEST.MF. Inside the MANIFEST.MF there are 2 entries. Class-Path and Main-Class. Sure enough, the file was in tact, yet surefirebooter would say it can't find the Main-Class. You can even try the actual java -jar /tmp/surebooter???.jar . command and it still failed. Looking a little bit more, I was able to extract the MANIFEST.MF file and change its format from dos to unix in vim and repackaged it back into a jar and sure enough the java -jar /tmp/surefirebooter???.jar . command was able to run. This is as far as I've gotten so far. Two other data points: 1) Problems are fixed when dropping jdk to 1.5.0_14 2) Problem only appears running inside cruisecontrol (not on the command line) I would be tempted to file a jira but my project is pretty big and I'm finding it absolutely difficult to localize the issue so that I can present a minimal test case. So, with the information that I have provided to you so far, hopefully you can provide a minimal test case :-) (or at least, I can wish). Regards, -- Haroon Rafique [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Surefire Plugin 2.4.1 for Maven 2 Released
Hi Dan, When I switch from surefire 2.4 to 2.4.1 I get the error below. /tmp/surefirebooter22682.jar doesn't seem to even exist. Any idea what might be causing this? Thanks Donnchadh [INFO] Surefire report directory: /home/donnchadh/projects/ ... /target/surefire-reports Failed to load Main-Class manifest attribute from /tmp/surefirebooter22682.jar [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] There are test failures. Please refer to /home/donnchadh/projects/ ... /target/surefire-reports for the individual test results. [INFO] [INFO] Trace org.apache.maven.BuildFailureException: There are test failures. Please refer to /home/donnchadh/projects/ ... /target/surefire-reports for the individual test results. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) 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.MojoFailureException: There are test failures. Please refer to /home/donnchadh/projects/ ... /target/surefire-reports for the individual test results. at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ... 16 more [EMAIL PROTECTED] myproject]$ mvn -version Maven version: 2.0.8 Java version: 1.6.0_04 OS name: linux version: 2.6.23.14-107.fc8 arch: i386 Family: unix On 06/02/2008, Dan Fabulich [EMAIL PROTECTED] wrote: The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.4.1 http://maven.apache.org/plugins/maven-surefire-plugin/ You can run mvn -up to get the latest version of the plugin, or specify the version in your project's plugin configuration: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.4.1/version /plugin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Surefire Plugin 2.4.1 for Maven 2 Released
Haroon Rafique wrote: For me when the error about Failed to load Main-Class manifest attribute from /tmp/surefirebooter???.jar appeared, I re-ran the tests with mvn -X and then opened up the /tmp/surefirebooter???.jar file. It is a .jar file with only one entry META-INF/MANIFEST.MF. Inside the MANIFEST.MF there are 2 entries. Class-Path and Main-Class. Sure enough, the file was in tact, yet surefirebooter would say it can't find the Main-Class. You can even try the actual java -jar /tmp/surebooter???.jar . command and it still failed. Looking a little bit more, I was able to extract the MANIFEST.MF file and change its format from dos to unix in vim and repackaged it back into a jar and sure enough the java -jar /tmp/surefirebooter???.jar . command was able to run. Ah, hearing that makes me strongly suspect that this is SUREFIRE-445 and SUREFIRE-451. http://jira.codehaus.org/browse/SUREFIRE-445 http://jira.codehaus.org/browse/SUREFIRE-451 Thanks for doing this research; I've moved these bugs into the upcoming 2.4.2 release. -Dan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Surefire Plugin 2.4.1 for Maven 2 Released -- Ref #[1MFmI5QXPR0Vgmu]
Hello, Thank you for contacting NetZero. This is an automated reply and no further response will be sent. Please do not reply to this email. If you are looking for help here are some useful links: * Online NetZero Help Center: http://www.netzero.com/support * Online Billing and Account Center: https://account.netzero.net * Reset/Retrieve your Password: http://my.netzero.com/s/resetpassword * Lookup Access Numbers in your area: http://my.netzero.com/s/numbers * Contact Us: http://www.netzero.net/support/support.html Thank you for choosing NetZero. Sincerely, NetZero Customer Support - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]