Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Eclipse product with multiple versions of a bundle?
Eclipse product with multiple versions of a bundle? [message #816211] Thu, 08 March 2012 14:59
js Missing name is currently offline js Missing name
Messages: 73
Registered: July 2009
Member
I am trying to build my own version of the eclipse reporting platform :

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR1/eclipse-reporting-indigo-SR1-win32.zip


I have created this feature with the below list of plugins that I include in my .product file:

   <includes
         id="org.eclipse.birt"
         version="0.0.0"/>

   <includes
         id="org.eclipse.birt.chart.cshelp"
         version="0.0.0"/>

   <includes
         id="org.eclipse.birt.cshelp"
         version="0.0.0"/>

   <includes
         id="org.eclipse.birt.doc"
         version="0.0.0"/>

   <includes
         id="org.eclipse.birt.example"
         version="0.0.0"/>

   <includes
         id="org.eclipse.cvs"
         version="0.0.0"/>

   <includes
         id="org.eclipse.datatools.common.doc.user"
         version="0.0.0"/>

   <includes
         id="org.eclipse.datatools.connectivity.doc.user"
         version="0.0.0"/>

   <includes
         id="org.eclipse.datatools.connectivity.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.datatools.doc.user"
         version="0.0.0"/>

   <includes
         id="org.eclipse.datatools.enablement.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.datatools.intro"
         version="0.0.0"/>

   <includes
         id="org.eclipse.datatools.modelbase.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.datatools.sqldevtools.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.datatools.sqltools.doc.user"
         version="0.0.0"/>

   <includes
         id="org.eclipse.help"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jdt"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jst.common.fproj.enablement.jdt"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jst.enterprise_ui.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jst.web_ui.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.platform"
         version="0.0.0"/>

   <includes
         id="org.eclipse.wst.common.fproj"
         version="0.0.0"/>

   <includes
         id="org.eclipse.wst.jsdt.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.wst.web_ui.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.wst.xml_ui.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jst.jsf.apache.trinidad.tagsupport.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jst.server_adapters.ext.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jst.server_adapters.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jst.server_ui.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jst.ws.axis2tools.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.wst.server_adapters.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jsf.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jst.webpageeditor.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jpt.jpa.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jpt.jaxb.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jpt.jpa.eclipselink.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jpt.jaxb.eclipselink.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.tm.terminal"
         version="0.0.0"/>

   <includes
         id="org.eclipse.rse"
         version="0.0.0"/>

   <includes
         id="org.eclipse.rse.useractions"
         version="0.0.0"/>

   <includes
         id="org.eclipse.tm.terminal.view"
         version="0.0.0"/>

   <includes
         id="org.eclipse.tm.terminal.telnet"
         version="0.0.0"/>

   <includes
         id="org.eclipse.tm.terminal.ssh"
         version="0.0.0"/>

   <includes
         id="org.eclipse.epp.package.common.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jpt.dbws.eclipselink.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.persistence.jpa"
         version="0.0.0"/>

   <includes
         id="org.eclipse.persistence.moxy"
         version="0.0.0"/>

   <includes
         id="org.eclipse.persistence.sdo"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jpt.common.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.jpt.common.eclipselink.feature"
         version="0.0.0"/>

   <includes
         id="org.eclipse.wst.xsl.feature"
         version="0.0.0"/>

   <requires>
      <import plugin="org.eclipse.core.runtime"/>
      <import plugin="org.eclipse.ui" version="3.7.0" match="greaterOrEqual"/>
   </requires>



I can build the product but when I try to validate/run the product I get a lot of missing requirements on the javax.wsdl bundle.

My target platform does contain the javax.wsdl bundle in multiple versions though:

javax.wsdl (1.5.1vxxxx)
javax.wsdl (1.6.2vxxxx)


and I have found that:

org.apache.wsil47 -> javax.wsdl [1.4.0, 1.6.0)
org.eclipse.jpt.dbws.eclipse.link.core.gen -> javax.wsdl [1.6.2, 2.0.0)

so obviously both version needs to be in target/product.

But how do I avoid getting these conflict when running/building the product?
Previous Topic:TodoTaskPreferencePage for another plugin that JDT
Next Topic:How to provide a Library from plugin to workspace?
Goto Forum:
  


Current Time: Tue Oct 21 07:21:48 GMT 2014

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

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