Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Plug-in fragments

did you try adding a p2 IU dependency?

See http://wiki.eclipse.org/Tycho/FAQ#How_to_test_OSGi_declarative_services.3F 

Regards
Jan

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Bartosz Czerwinski
Sent: Montag, 14. November 2011 10:09
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Plug-in fragments

Hello all,

I've found a problem with fragments not being loaded when running tests with Tycho Surefire.

I have a set of regression tests (JUnit) plugins (eclipse-test-plugin) that relay on a plugin, which consist of several fragments. These fragments are skipped when I'm running tests with Surefire. I have tried to follow the instructions available at http://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-test-plugin by adding a <dependency> in the tycho-surefire-plugin artifact configuration to the feature that aggregates all necessary fragments, but it didn't help.

I'm afraid I missed something about how fragments are handled by Tycho. Any comments are appreciated. Thanks in advance!

Regards,
Bartosz Czerwinski



Back to the top