Discussion:
[tycho-user] Tycho Surefire and Target Platforms
Christian Dietrich
2017-11-02 22:39:48 UTC
Permalink
Hello Guys,

we have the following problem:

(1) we have plugin test that ceate plugins with certain required bundles
that need to be in the target platform
(2) the certain plugins are not inside the default target platform that
eclipse starts
(3) so we need to populate the target platform manually:
(4) therefore we use this utility:
https://github.com/eclipse/xtext-eclipse/blob/01ffa30f58160e4c13cb193da3d1e21a40e0d508/org.eclipse.xtext.ui.testing/src/org/eclipse/xtext/ui/testing/util/TargetPlatformUtil.java
(5) this is no longer working in the latest oxygen/phonton.
(6) i did some debugging: we have this plugin structure
parent
c1
c2
c2.test
since c2.test is inside the bundles we add parent as folder to the
target platform. but since it is not registered as dev bundle, the
structure of c1 (and c2) will be wrong.
(7) so i have following questions
- should all bundles of the reactor be "dev" bundles? why is the test
project a dev bundle at all - if that would be consistent i/eclipse
could read osgi.dev property file and would remap the bundles classpaths.
- how do others deal with this issue or dont the test with plugins
- why is there no option to explicitely materialize the complete target
platform
- is there anything i have overlooked?

Thanks
Christian
--
Christian Dietrich (Diplom-Informatiker (BA))
Softwareentwickler / -Architekt
Loading...