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 13:24
Andreas Goetz is currently offline Andreas Goetz
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
tchok.sudoku.core_0.0.0.

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)?

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


Current Time: Wed Apr 16 03:31:28 EDT 2014

Powered by FUDForum. Page generated in 0.08658 seconds