[
http://jira.codehaus.org/browse/MECLIPSE-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108477
]
Brian Fox commented on MECLIPSE-242:
------------------------------------
Applied those. I'm still getting the workspace errors:
{noformat}
-------------------------------------------------------------------------------
Test set: org.apache.maven.plugin.eclipse.EclipseWorkspaceTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 5.47 sec <<<
FAILURE!
testWorkspace01(org.apache.maven.plugin.eclipse.EclipseWorkspaceTest) Time
elapsed: 2.688 sec <<< FAILURE!
junit.framework.ComparisonFailure: Test M2_REPO value expected:<e...> but
was:<E...>
at junit.framework.Assert.assertEquals(Assert.java:81)
at
org.apache.maven.plugin.eclipse.EclipseWorkspaceTest.validateM2REPOVar(EclipseWorkspaceTest.java:95)
at
org.apache.maven.plugin.eclipse.EclipseWorkspaceTest.testWorkspace01(EclipseWorkspaceTest.java:52)
at
org.apache.maven.plugin.eclipse.EclipseWorkspaceTest.testWorkspace01(EclipseWorkspaceTest.java:52)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testWorkspace02(org.apache.maven.plugin.eclipse.EclipseWorkspaceTest) Time
elapsed: 2.782 sec <<< FAILURE!
junit.framework.ComparisonFailure: Test M2_REPO value expected:<e...> but
was:<E...>
at junit.framework.Assert.assertEquals(Assert.java:81)
at
org.apache.maven.plugin.eclipse.EclipseWorkspaceTest.validateM2REPOVar(EclipseWorkspaceTest.java:95)
at
org.apache.maven.plugin.eclipse.EclipseWorkspaceTest.testWorkspace02(EclipseWorkspaceTest.java:70)
at
org.apache.maven.plugin.eclipse.EclipseWorkspaceTest.testWorkspace02(EclipseWorkspaceTest.java:70)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
{noformat}
> RAD goal: missing lib-modules in .websettings
> ---------------------------------------------
>
> Key: MECLIPSE-242
> URL: http://jira.codehaus.org/browse/MECLIPSE-242
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Components: RAD support
> Affects Versions: 2.3, 2.4
> Environment: IBM Rational Application Developer 6.0.x
> Reporter: Klaus Brunner
> Attachments: addedTestFiles.patch, addedTestFiles.tgz,
> MECLIPSE-242-for-2.5-SNAPSHOT.patch, RadWebSettingsWriter.java
>
>
> The eclipse:rad goal does not currently write the lib-modules element of the
> .websettings file. When developing with RAD and WAS, this results in
> dependent projects' code not being packaged and deployed as part of the WAR
> by the RAD build and deploy process. This applies to project dependencies
> only.
> Adapted version of RadWebSettingsWriter.java is attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira