Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev] Can I get the *latest* version of a bundle from a p2 repository with the p2.repo2runnable ant task?


The version was made optional by bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=308243

A workaround is to have an empty version in the map file:
plugin@xxxxxxxxxxxx,1.0.0=p2IU,id=my.bundle.id,version=,repository=http:/example.eclipse.org/repo
                                               ^^^^^^^^^

-Andrew

From: DJ Houghton/Ottawa/IBM@IBMCA
To: "Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>
Date: 04/19/2010 09:48 AM
Subject: Re: [pde-dev] Can I get the *latest* version of a bundle from a p2        repository with the p2.repo2runnable ant task?
Sent by: pde-dev-bounces@xxxxxxxxxxx





If you have tried removing the version from the map file and it doesn't work then you should enter an enhancement request against PDE/Build at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=PDE .



Inactive hide details for Gabriel Petrovay ---04/18/2010 11:48:04 AM---Yes, it works from an ANT script. But is this supported Gabriel Petrovay ---04/18/2010 11:48:04 AM---Yes, it works from an ANT script. But is this supported in the PDE build script map file. There I mu

From:

Gabriel Petrovay <gabipetrovay@xxxxxxxxx>

To:

"Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>

Date:

04/18/2010 11:48 AM

Subject:

Re: [pde-dev] Can I get the *latest* version of a bundle from a p2 repository with the p2.repo2runnable ant task?

Sent by:

pde-dev-bounces@xxxxxxxxxxx






Yes, it works from an ANT script. But is this supported in the PDE build script map file. There I must specify:



plugin@xxxxxxxxxxxx,1.0.0=p2IU,id=my.bundle.id,version=1.0.0,repository=http:/example.eclipse.org/repo
(see: 
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.pde.doc.user/tasks/pde_fetch_phase.htm)



Is there a way to omit the version here? (I still want to get the latest bundle)?



Thanks!









On Fri, Apr 16, 2010 at 2:16 PM, DJ Houghton <
DJ_Houghton@xxxxxxxxxx> wrote:
I believe if you omit the version attribute altogether it will do a query and pick the highest version from the repo.



Inactive hide details for Gabriel Petrovay ---04/16/2010 07:51:35 AM---Hi, Is it possible to get the ''latest' version of a bunGabriel Petrovay ---04/16/2010 07:51:35 AM---Hi, Is it possible to get the ''latest' version of a bundle with the

From:

Gabriel Petrovay <
gabipetrovay@xxxxxxxxx>

To:

pde-dev <
pde-dev@xxxxxxxxxxx>

Date:

04/16/2010 07:51 AM

Subject:

[pde-dev] Can I get the *latest* version of a bundle from a p2 repository with the p2.repo2runnable ant task?

Sent by:

pde-dev-bounces@xxxxxxxxxxx






Hi,

Is it possible to get the ''latest' version of a bundle with the
p2.repo2runnable ant task?

<p2.repo2runnable destination="${transformedRepoLocation}"
source="
http://download.eclipse.org/technology/dltk/updates-dev/1.0" >
   <iu id="org.eclipse.dltk.core" version="1.0.2"/>
</p2.repo2runnable>

I get an error because the bundle version 1.0.2 does not exist. This
is because I don't provide also the qualifier in the version: e.g.
1.0.2.v20100401_0519


Is there a way to avoid providing this qualifier?


Thanks!


--
MSc Gabriel Petrovay
Mobile: +41(0)787978034

www.28msec.com

_______________________________________________
pde-dev mailing list

pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev



_______________________________________________
pde-dev mailing list

pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev



--
MSc Gabriel Petrovay
Mobile: +41(0)787978034

www.28msec.com_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/pde-dev

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



Back to the top