Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » get current version number for the product
get current version number for the product [message #1766998] Thu, 29 June 2017 12:41 Go to next message
Frank Becker is currently offline Frank BeckerFriend
Messages: 89
Registered: July 2009
Member
Hi,

I want include the eclipse window builder in my setup.

Can I get the version number from the product so that I can oomph variable instead of my own de.becker.frank.wb.version

I found scope.product.version.* but there is no scope.product.version.number or scope.product.version.bundle

Here my current snippet:

<setupTask
xsi:type="setup.p2:P2Task">
<requirement
name="org.eclipse.wb.rcp.feature.feature.group"/>
<requirement
name="org.eclipse.wb.swt.feature.feature.group"/>
<requirement
name="org.eclipse.wb.rcp.doc.user.feature.feature.group"/>
<repository
url="http://download.eclipse.org/windowbuilder/WB/integration/${de.becker.frank.wb.version}/"/>
<description>Install the tools needed in the IDE to work with the source code for ${scope.project.label}</description>
</setupTask>
Re: get current version number for the product [message #1766999 is a reply to message #1766998] Thu, 29 June 2017 12:46 Go to previous messageGo to next message
Abel Hegedus is currently offline Abel HegedusFriend
Messages: 197
Registered: September 2015
Senior Member
A possible solution is to simply not add the repository, since WindowBuilder for the given version is included in the main Eclipse update site, that is always available during the P2 task execution.
Re: get current version number for the product [message #1767006 is a reply to message #1766999] Thu, 29 June 2017 13:10 Go to previous message
Frank Becker is currently offline Frank BeckerFriend
Messages: 89
Registered: July 2009
Member
Thanks!

sometimes it can be so easy!
Previous Topic:Eclipse neon 64 bit installation failing
Next Topic:Oomph setup for Oxygen. Help needed.
Goto Forum:
  


Current Time: Mon Dec 09 11:12:10 GMT 2024

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

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

Back to the top