Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-build-dev] cyclic dependencies in PDE build (but there are no cycles...)

I am quite sure that this problem pops up from time to time, but I wasn't able 
to find a solution yet. Maybe Andrew has something to offer... ;-)

Background: We put all our JUnit testcases into fragments and I am still 
convinced that this is a good idea, but with a text fixture the dependencies 
are as follows:

  Plugin   A
  Fragment A' with A as a host contains the JUnit tests
  Plugin   B with the test fixture/ test framework (eu.geclipse.test)

  Plugin A is in its own feature, plugin A' and B are in a 'test' feature.

  B has a dependency to A
  A' has a dependency to B

  * It should be possible to compile
    * A because it doesn't have any dependencies
    * B because it only depends on A
    * A' because it depends on A and introduces a new dependency to B

  But PDE build cannot resolve this and finds a cyclic dependency A-B-A-...

Is there a solution (maybe build order, something else...) that I am not aware 
of, or is this something without a solution and we need to change the 
fragment to a plugin?

Thanks,
Markus 


Back to the top