[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Plug-in fragments
|
Now I recall the right way to specify "any" version: <version>0.0.0</version>
(But to be honest, I cheated: http://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-test-plugin )
Regards
Tobias
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Mengxin Zhu
> Sent: Dienstag, 15. November 2011 09:51
> To: tycho-user@xxxxxxxxxxx
> Subject: Re: [tycho-user] Plug-in fragments
>
> Yes. I'm using tycho 0.13.0. Below is complete configuration,
>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>tycho-surefire-plugin</artifactId>
> <version>${tycho-version}</version>
> <configuration>
> <dependencies>
> <dependency>
> <groupId>com.windriver</groupId>
> <artifactId>
> com.windriver.xxx.feature
> </artifactId>
> <version>${p2-installer-version}</version>
> <type>eclipse-feature</type>
> </dependency>
> <dependency>
> <groupId>com.windriver</groupId>
> <artifactId>
> com.windriver.xxx.testplugin
> </artifactId>
> <version>1.0.0</version>
> <type>eclipse-plugin</type>
> </dependency>
> </dependencies>
> <testSuite>${testSuiteName}</testSuite>
> <testClass>${testClassName}</testClass>
> <argLine>-Dcom.sun.management.jmxremote
> -
> Dorg.eclipse.ecf.provider.filetransfer.httpclient.browse.connectTimeout=20
> 000
> -
> Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.connectTimeout=
> 20000
> -
> Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=200
> 00
> -Declipse.p2.profile=TestProfile</argLine>
> <appArgLine>-consoleLog</appArgLine>
> <bundleStartLevel>
> <bundle>
> <id>org.eclipse.equinox.ds</id>
> <level>1</level>
> <autoStart>true</autoStart>
> </bundle>
> </bundleStartLevel>
> </configuration>
> </plugin>
>
> Mengxin Zhu
>
>
> On 11/15/2011 04:40 PM, Bartosz Czerwiński wrote:
> > Thank you. Have you specified this dependencies for tycho-surefire-
> plugin
> > artifact?
> >
> > Regards
> > Bartosz Czerwinski
> >
> >
> > -----Original Message-----
> > From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx]
> > On Behalf Of Mengxin Zhu
> > Sent: Tuesday, November 15, 2011 9:39 AM
> > To: tycho-user@xxxxxxxxxxx
> > Subject: Re: [tycho-user] Plug-in fragments
> >
> > Below is what I did, which works well.
> >
> > <dependencies>
> > <dependency>
> > <groupId>com.windriver</groupId>
> > <artifactId>
> > com.windriver.xxx.feature
> > </artifactId>
> > <version>${p2-installer-version}</version>
> > <type>eclipse-feature</type>
> > </dependency>
> > <dependency>
> > <groupId>com.windriver</groupId>
> > <artifactId>
> > com.windriver.xxx.plugin
> > </artifactId>
> > <version>1.0.0</version>
> > <type>eclipse-plugin</type>
> > </dependency>
> > </dependencies>
> >
> > Mengxin Zhu
> >
> >
> > On 11/15/2011 04:10 PM, Bartosz Czerwiński wrote:
> >> I did it previously, but unfortunately it does not work. When I remove
> >> version Maven shouts:
> >>
> >>
> > 'build.plugins.plugin[org.eclipse.tycho:tycho-surefire-
> plugin].dependencies.
> >> dependency.version' for my.feature:eclipse-feature is missing
> >>
> >> The same for both p2-installable-unit and eclipse-fragment.
> >>
> >>
> >> Regards
> >> Bartosz Czerwiński
> >>
> >> -----Original Message-----
> >> From: tycho-user-bounces@xxxxxxxxxxx
> > [mailto:tycho-user-bounces@xxxxxxxxxxx]
> >> On Behalf Of Oberlies, Tobias
> >> Sent: Monday, November 14, 2011 3:45 PM
> >> To: Tycho user list
> >> Subject: Re: [tycho-user] Plug-in fragments
> >>
> >> If you drop the version (and IIRC, groupId is ignored for type
> >> eclipse-feature), this should work.
> >>
> >> Regards
> >> Tobias
> >>
> >>
> >>> -----Original Message-----
> >>> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> >>> bounces@xxxxxxxxxxx] On Behalf Of Bartosz Czerwinski
> >>> Sent: Montag, 14. November 2011 14:28
> >>> To: 'Tycho user list'
> >>> Subject: Re: [tycho-user] Plug-in fragments
> >>>
> >>> To be honest I'm really confused with how Tycho is handling plug-ins
> >>> fragments. I would be really grateful for a short clarification. Below
> >>> is a fragment of the configuration file I've tested.
> >>>
> >>> <plugin>
> >>> <groupId>org.eclipse.tycho</groupId>
> >>> <artifactId>tycho-surefire-plugin</artifactId>
> >>> <version>${tycho-version}</version>
> >>> <dependencies>
> >>> <dependency>
> >>> <type>eclipse-feature</type> <!-- Tested against
> >>> p2-installable-unit too -->
> >>> <groupId>my.group</groupId>
> >>> <artifactId>my.plugin.feature</artifactId>
> >>> <version>1.1.0-SNAPSHOT</version> <!-- I've tried
> >> different
> >>> versions too -->
> >>> </dependency>
> >>> </dependencies>
> >>> </plugin>
> >>>
> >>>
> >>> Best regards,
> >>> Bartosz Czerwinski
> >>>
> >>>
> >>> -----Original Message-----
> >>> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> >>> bounces@xxxxxxxxxxx] On Behalf Of Bartosz Czerwiński
> >>> Sent: Monday, November 14, 2011 11:30 AM
> >>> To: 'Tycho user list'
> >>> Subject: 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_service
> >>> s.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
> >>>
> >>>
> >>> _______________________________________________
> >>> tycho-user mailing list
> >>> tycho-user@xxxxxxxxxxx
> >>> https://dev.eclipse.org/mailman/listinfo/tycho-user
> >>>
> >>>
> >>> _______________________________________________
> >>> tycho-user mailing list
> >>> tycho-user@xxxxxxxxxxx
> >>> https://dev.eclipse.org/mailman/listinfo/tycho-user
> >> _______________________________________________
> >> tycho-user mailing list
> >> tycho-user@xxxxxxxxxxx
> >> https://dev.eclipse.org/mailman/listinfo/tycho-user
> >>
> >>
> >> _______________________________________________
> >> tycho-user mailing list
> >> tycho-user@xxxxxxxxxxx
> >> https://dev.eclipse.org/mailman/listinfo/tycho-user
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
> >
> >
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user