Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 400363 - PDE Build test failures due to JUnit 3 removal
Summary: PDE Build test failures due to JUnit 3 removal
Status: VERIFIED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 4.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.3 M6   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 391433
Blocks:
  Show dependency tree
 
Reported: 2013-02-08 14:34 EST by Curtis Windatt CLA
Modified: 2013-02-11 06:24 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Windatt CLA 2013-02-08 14:34:43 EST
http://download.eclipse.org/eclipse/downloads/drops4/N20130207-2000/testresults/html/org.eclipse.pde.build.tests_macosx.cocoa.x86_5.0.html

The following error occurred while executing this line: /Users/hudsonBuild/workspace/ep4-unit-mac64/workarea/N20130207-2000/eclipse-testing/test-eclipse/eclipse/plugins/org.eclipse.pde.build_3.8.100.N20130207-2000/scripts/productBuild/productBuild.xml:69: Unable to find plug-in: org.junit4_0.0.0. Please check the error log for more details.

/Users/hudsonBuild/workspace/ep4-unit-mac64/workarea/N20130207-2000/eclipse-testing/test-eclipse/eclipse/plugins/org.eclipse.pde.build_3.8.100.N20130207-2000/scripts/productBuild/productBuild.xml:39: The following error occurred while executing this line:
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:672)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:537)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
at org.eclipse.pde.build.tests.PDETestCase.runAntScript(PDETestCase.java:144)
at org.eclipse.pde.build.tests.PDETestCase.runAntScript(PDETestCase.java:137)
at org.eclipse.pde.build.tests.PDETestCase.runProductBuild(PDETestCase.java:126)
at org.eclipse.pde.build.internal.tests.p2.P2Tests.testBug255518(P2Tests.java:349)
Comment 1 Curtis Windatt CLA 2013-02-08 14:58:23 EST
Fixed in master
http://git.eclipse.org/c/pde/eclipse.pde.build.git/commit/?id=8192ccb46ab38e432b60b4050211a66065c43947

The test creates a test product that includes org.junit4 and pde.build.  Simply changing the test to include org.junit instead allows the test pass because there are no version constraints.
Comment 2 Dani Megert CLA 2013-02-11 06:24:24 EST
Verified in N20130208-2000.