Skip to main content

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

Thanks for quick reply!

After enabling p2-installable-unit dependency maven claims that the
requested artifact couldn't be find. Shouldn't p2 resolver pick it up from
the local Maven repository?

I'm using Tycho 0.12.

Regards,
Bartosz Czerwinski


-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Sievers, Jan
Sent: Monday, November 14, 2011 10:16 AM
To: Tycho user list
Subject: 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

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




Back to the top