Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Plugins of the target platform aren't deployed in the test environment

Yes, if there is no dependency from you test plugin to your plugins under test, then they will not be added to the instance configuration. If you want them to be added, you need to add them as a dependency to your test plugin or your can add them within the configuration of the tycho surefire plugin.


On Sun, May 24, 2015 at 2:04 AM, Thomas Degueule <thomas.degueule@xxxxxxxx> wrote:
Hi all,

My project consists of a set of plugins that are built by Tycho as
different modules. I have a few test cases where I want to start a new
Eclipse instance containing my plugins, dynamically deploy some
projects and test the resulting workspace. This works fine in Eclipse
with the Junit plugin test mechanism.

However, I cannot succeed to make it work with Tycho. I've defined a
target platform configuration file (with mainly JDT/PDE/Xtext) that I
define as an eclipse-target-definition and reference in my main pom.xml
(target-platform-configuration). This works fine for building my
plugins, feature and update site. However, when debugging during the
test execution, I see only two plugins (org.eclipse.jdt.debug and deployed in the new Eclipse

Is it normal that the plugins of my target platform are not deployed in
the instance used to run the tests? How can I make it work? I know the
target platform is well-formed because Tycho successfully builds my

The target/work/data/.metadata/.log doesn't contain any error. Only the
two aforementioned plugins are deployed in target/work/plugins/. The
same happens when directly using <repositories/> within the pom.xml
instead of the *.target file.

Thanks for your help, best regards,


tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

Back to the top