Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho 0.13.0, target platform, and m2e

To upgrade to 0.13.0 and beyond, we are going to have to list all dependencies in the .target file.  In the meantime, 0.12.0 still supports the old approach, so we will stay at that version until we can work out all the dependencies in such a way that there are no version conflicts.  This seemed a very difficult thing to do manually for our application when I attempted it, but we may figure out a way to do this later. 

In any case, thank you very much for your answers.

-- 
Eduardo

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Oberlies, Tobias
Sent: Tuesday, October 11, 2011 3:27 AM
To: Tycho user list
Subject: Re: [tycho-user] Tycho 0.13.0, target platform, and m2e

The way that you used target files in 0.10.0, i.e. without units, is no longer supported. The replacement are, as you figured out correctly, repositories in the POM with layout p2.

As Igor already stated, there is no integration between Tycho and PDE workspace target platform configuration. The only way to share this configuration is to use a correct target file, i.e. a target file which is understood by Eclipse PDE. The same file can also be used with Tycho 0.13.0.

Regards
Tobias


> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user- 
> bounces@xxxxxxxxxxx] On Behalf Of Eduardo Kortright
> Sent: Montag, 10. Oktober 2011 16:01
> To: Tycho user list
> Subject: Re: [tycho-user] Tycho 0.13.0, target platform, and m2e
> 
> I had to take out the target file that was working for Tycho 0.10.0 
> because for 0.13.0 the semantics changed.  We used to have entries 
> like
> this:
> 
> <location includeAllPlatforms="false" includeMode="planner"
> includeSource="true" type="InstallableUnit">
> 	<unit id="org.eclipse.sdk.ide" version="3.5.2.M20100211-1343"/>
> 	<repository
> location="http://download.eclipse.org/releases/galileo"/>
> </location>
> 
> where we did not specify any installable units and expected whatever 
> dependencies we needed to be resolved automatically.  Now you have to 
> specify each dependency explicitly, which means that you have to 
> figure out all possible versioning conflicts by hand.  I figured we 
> have about
> 163 dependencies from the Galileo repository alone, and every time I 
> picked one version for a particular plugin, some other plugin 
> requiring a different version of some direct or indirect dependency 
> caused an error-- it just seemed like a never-ending task.
> 
> So I just listed the Galileo repository in the POM as a P2-layout 
> repository and took it out of the target file.  This works very nicely 
> with Maven, but we would also need to build in the IDE of course.
> 
> For now, I think we are going to upgrade to Tycho 0.12.0 and see how 
> that goes.
> 
> --
> Eduardo
> 
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user- 
> bounces@xxxxxxxxxxx] On Behalf Of Oberlies, Tobias
> Sent: Monday, October 10, 2011 7:14 AM
> To: Tycho user list
> Subject: Re: [tycho-user] Tycho 0.13.0, target platform, and m2e
> 
> Tycho can use the same target file - if the target file only worked 
> with
> 0.10.0 and it is not sufficient for 0.13.0, it will also not be 
> sufficient for Eclipse. This was the whole idea of the changes done in 
> 0.13.0: that target files behave the same way in Tycho as in Eclipse.
> 
> @Eduardo: How did you define your target platform in Eclipse before?
> 
> Regards
> Tobias
> 
> 
> > -----Original Message-----
> > From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user- 
> > bounces@xxxxxxxxxxx] On Behalf Of Igor Fedorenko
> > Sent: Samstag, 8. Oktober 2011 02:22
> > To: tycho-user@xxxxxxxxxxx
> > Subject: Re: [tycho-user] Tycho 0.13.0, target platform, and m2e
> >
> > There is no integration between Tycho and PDE workspace target 
> > platform configuration. You have to use .target file is the only way 
> > to share PDE workspace target platform configuration and, quite 
> > frankly, I am surprised Tycho cannot use the same .target file.
> >
> > --
> > Regards,
> > Igor
> >
> > On 11-10-07 5:56 PM, Eduardo Kortright wrote:
> > > I am trying to update a project that currently uses Tycho 0.10.0 
> > > to build on a build server. In the IDE, m2e 0.12.1 with Tycho 
> > > project configurators 0.4.3 were building the same code.
> > >
> > > I have switched to Tycho 0.13.0 and to do so I had to define the 
> > > target platform by adding P2 repositories to the pom instead of 
> > > listing them in the .target file (as explained by Jan here 
> > > <http://dev.eclipse.org/mhonarc/lists/tycho-user/msg00878.html>).
> > > Everything builds from the command line with no problems.
> > >
> > > However, The IDE is not resolving the target platform at all. I 
> > > have uninstalled m2e and installed version 1.0.100 together with 
> > > Tycho project configurators version 0.6.0.
> > >
> > > Is there something I need to do to set the target platform explicitly?
> > > Or have I got the wrong version of m2e?
> > >
> > > --
> > >
> > > Eduardo*//*
> > >
> > > NOTICE: This electronic mail message and any files transmitted 
> > > with it are intended exclusively for the individual or entity to 
> > > which it is addressed. The message, together with any attachment, 
> > > may contain confidential and/or privileged information.
> > > Any unauthorized review, use, printing, saving, copying, 
> > > disclosure or distribution is strictly prohibited. If you have 
> > > received this message in error,
> > please
> > > immediately advise the sender by reply email and delete all copies.
> > >
> > >
> > > _______________________________________________
> > > 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
> NOTICE: This electronic mail message and any files transmitted with it 
> are intended exclusively for the individual or entity to which it is 
> addressed. The message, together with any attachment, may contain 
> confidential and/or privileged information.
> Any unauthorized review, use, printing, saving, copying, disclosure or 
> distribution is strictly prohibited. If you have received this message 
> in error, please immediately advise the sender by reply email and 
> delete all copies.
> 
> _______________________________________________
> 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
NOTICE: This electronic mail message and any files transmitted with it are intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.



Back to the top