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?


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

GIF image

GIF image


Back to the top