Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Bundle Version Management

John Arthorne wrote on 2012-08-17 15:52:04:
> Ed Merks <ed.merks@xxxxxxxxx> wrote on 08/17/2012 08:49:16 AM:
> > 2. And the more general question, is there any value in hard coding 
> > the number even for include and plugin declarations?
> 
> I don't think I've ever seen anything other than 0.0.0, but one 
> possibility is a case where you don't actually want to include the 
> "greatest" available version of something.

We have an example of this in the org.eclipse.jdt/feature.xml. We ship 
both JUnit 3 and JUnit 4, so we need at least one entry with a fixed 
version number (we made them both fixed -- not sure if replacing 4.10.0.q 
with 0.0.0 would work):

...
   <plugin
         id="org.eclipse.jdt.ui"
         download-size="0"
         install-size="0"
         version="0.0.0"
         unpack="false"/>

   <plugin
         id="org.junit"
         download-size="0"
         install-size="0"
         version="4.10.0.qualifier"/>

   <plugin
         id="org.junit"
         download-size="0"
         install-size="0"
         version="3.8.2.qualifier"/>
...

Markus



Back to the top