Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » 0.0.0 versions in .target file
0.0.0 versions in .target file [message #857077] Thu, 26 April 2012 08:12 Go to next message
Eclipse User
Hej,

I'm observing a strange behaviour of PDE when setting a target platform
requiring InstallableUnits with versions of '0.0.0'. Consider this
target file:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>
<target name="test" sequenceNumber="0">
<locations>
<location includeAllPlatforms="false" includeMode="planner"
includeSource="false" type="InstallableUnit">

<repository id="foo" location="https://foo/"/>
<repository id="bar" location="https://bar/"/>

<unit id="baz" version="0.0.0"/>

</location>
</locations>
</target>

The unit with the id 'baz' is deployed to both repositories 'foo' and
'bar' with different version identifiers:

foo: 1.0.0.v1234
1.0.0.v2345
2.0.0.v1234

bar: 1.0.0.SNAPSHOT-1234
2.0.0.SNAPSHOT-2345


When setting this target platform, PDE should use the artifact with the
largest qualifier (2.0.0.v1234, when I got this right) considering _all_
locations. But mostly it uses some other artifact, not the one with the
largest version.

I'm using such .target files within my tycho builds, and with tycho
there are obviously no problems getting the unit with the largest
version, even if it is deployed to more than one p2 repository.

Is this a bug or an unsupported feature? Any comment is greatly
appreciated. Regards,

Mirko Swillus
Re: 0.0.0 versions in .target file [message #889996 is a reply to message #857077] Wed, 20 June 2012 14:14 Go to previous messageGo to next message
Matthias Steigenberger is currently offline Matthias Steigenberger
Messages: 6
Registered: June 2011
Junior Member
I'm considering the same problem.
It's an unsupported feature but it would be nice to support it.
Please file a bug report.
Re: 0.0.0 versions in .target file [message #982785 is a reply to message #857077] Tue, 13 November 2012 12:19 Go to previous messageGo to next message
Lars Fischer is currently offline Lars Fischer
Messages: 105
Registered: July 2009
Senior Member
Hello,

any news on this issue?

Is there an existing bugzilla entry to vote for?


Regards,
Lars
Re: 0.0.0 versions in .target file [message #986755 is a reply to message #982785] Wed, 21 November 2012 14:43 Go to previous message
Lars Fischer is currently offline Lars Fischer
Messages: 105
Registered: July 2009
Senior Member
I filed a new bugzilla entry for this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=394788
Previous Topic:create eclipse e4 update sites for non-RCP applications
Next Topic:Detach through code
Goto Forum:
  


Current Time: Fri Oct 24 07:05:33 GMT 2014

Powered by FUDForum. Page generated in 0.09655 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software