Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PDE build fails with optional dependencies
PDE build fails with optional dependencies [message #590464] Sun, 25 January 2009 18:24
Andreas Goetz is currently offline Andreas GoetzFriend
Messages: 110
Registered: July 2009
Senior Member
I'm trying to build an RCP application that contains a couple of JUnit
tests and org.junit4 as optional dependency.

Build fails due to missing org.junit4, even if the test cases themselves
are not copied to the build folder:

[java] [eclipse.generateFeature] Some inter-plug-in dependencies
have not been satisfied.
[java] [eclipse.generateFeature] Bundle tchok.sudoku.core:
[java] [eclipse.generateFeature] Missing Constraint:
Bundle-RequiredExecutionEnvironment: JavaSE-1.5
[java] [eclipse.generateFeature] Optional plug-in
org.junit4_0.0.0 is not available.
[java] [eclipse.generateFeature] Bundle tchok.sudoku.rcp:
[java] [eclipse.generateFeature] Missing required plug-in

Is there a way to build the current setup without the tests or do I need
to move the tests to their own plugin (which would also be possible)?

Previous Topic:Build fails: Unable to find feature
Next Topic:PDE build fails with optional dependencies
Goto Forum:

Current Time: Fri Nov 27 12:00:49 GMT 2015

Powered by FUDForum. Page generated in 0.01558 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software