hibernate - "Missing requirements" when defining an Eclipse target platform with RAP and Teneo -


i created target file , added rap target platform , local folder proprietary bundles. when tried add other dependencies teneo , hibernate stated in this tutorial, dependencies teneo not satisfied.

this target definition file:

<?xml version="1.0" encoding="utf-8" standalone="no"?> <?pde version="3.8"?><target name="server.platform" sequencenumber="222"> <locations>   <location path="<my_bundles_dir>" type="directory"/> <location includeallplatforms="false" includeconfigurephase="true" includemode="planner" includesource="true" type="installableunit"> <unit id="org.eclipse.rap.examples.feature.feature.group" version="2.3.0.20140602-1108"/> <unit id="org.eclipse.rap.feature.feature.group" version="2.3.0.20140610-0925"/> <unit id="org.eclipse.rap.sdk.feature.feature.group" version="2.3.0.20140610-0925"/> <unit id="org.eclipse.rap.equinox.target.feature.feature.group" version="2.3.0.20140608-1653"/> <repository location="http://download.eclipse.org/rt/rap/2.3/r-20140610-0925/"/> </location> <location includeallplatforms="false" includeconfigurephase="true" includemode="planner" includesource="true" type="installableunit"> <unit id="org.hibernate.feature.group" version="4.1.1.201310261216"/> <unit id="org.hsqldb.feature.group" version="2.2.8.201310261216"/> <unit id="com.db4o.feature.group" version="7.4.155.v20120928-1733"/> <unit id="org.apache.log4j.feature.group" version="1.2.16.201310261216"/> <unit id="org.dom4j.feature.group" version="1.6.1.201310261216"/> <unit id="org.apache.commons.logging.feature.group" version="1.1.1.201310261216"/> <unit id="org.postgresql.feature.group" version="9.0.0.201310261216"/> <unit id="com.mysql.jdbc.feature.group" version="5.1.11.201310261216"/> <unit id="javax.persistence.feature.group" version="2.0.1.201310261216"/> <unit id="com.microsoft.sqlserver.jdbc.feature.group" version="3.0.1301.201310261216"/> <repository location="http://www.elver.org/eclipse/2.0.0/update"/> </location> </locations> </target> 

i'm getting following error:

missing requirement: emf common ui 2.9.0.v20140519-0339 (org.eclipse.emf.common.ui.feature.group 2.9.0.v20140519-0339) requires 'org.eclipse.ui 0.0.0' not found

... requires 'org.eclipse.ui 0.0.0' not found

the problem target definition don't specify p2 repository contains dependency. e.g. need add luna release train repository: http://download.eclipse.org/releases/luna

the pde editor not particularly helpful when comes adding p2 repositories needed dependencies. can resort using text editor modify target file. here need add p2 repository adding dependencies:

  1. copy 1 of location lines type="installableunit" , paste below last closing location tag (</location>).
  2. add repository, e.g. with

    <repository location="http://download.eclipse.org/releases/luna"/> 
  3. add closing repository tag.
  4. increment sequencenumber attribute in root element.
  5. save file , open target definition editor again. dependencies artifacts in newly added repository can resolved.

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -