Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Missing requirement building an updatesite that includes Xtext 2.10 runtime artifacts
Missing requirement building an updatesite that includes Xtext 2.10 runtime artifacts [message #1752606] Wed, 25 January 2017 15:14 Go to next message
German Vega is currently offline German VegaFriend
Messages: 104
Registered: December 2015
Location: Grenoble, France
Senior Member
Hello

I am trying to build (using tycho) a self contained update site of my project that contains the minimal xtext runtime dependencies.

I created a target platform that references the site

http://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.10.0

and includes only the feature org.eclipse.xtext.runtime

I have managed to find the required dependencies, but I still get an error :

Missing requirement: org.eclipse.xtext.runtime.feature.group 2.10.0.v201605250459 requires 'org.eclipse.xtend 0.0.0' but it could not be found

I downloaded the p2 content file from the site, and found that the definition of the installable unit is

    <unit id='org.eclipse.xtext.runtime.feature.group' version='2.10.0.v201605250459' singleton='false'>
      <update id='org.eclipse.xtext.runtime.feature.group' range='[0.0.0,2.10.0.v201605250459)' severity='0'/>
      <properties size='8'>
        <property name='org.eclipse.equinox.p2.name' value='%featureName'/>
        <property name='org.eclipse.equinox.p2.description' value='%description'/>
        <property name='org.eclipse.equinox.p2.provider' value='%providerName'/>
        <property name='org.eclipse.equinox.p2.type.group' value='true'/>
        <property name='df_LT.featureName' value='Xtext Runtime '/>
        <property name='df_LT.providerName' value='Eclipse Xtext'/>
        <property name='df_LT.description' value='Xtext Runtime  Feature'/>
      </properties>
      <provides size='2'>
        <provided namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext.runtime.feature.group' version='2.10.0.v201605250459'/>
        <provided namespace='org.eclipse.equinox.p2.localization' name='df_LT' version='1.0.0'/>
      </provides>
      <requires size='22'>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtend' range='0.0.0'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xpand' range='0.0.0'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtend.typesystem.emf' range='0.0.0'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='com.google.guava' range='14.0.0'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='javax.inject' range='1.0.0'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='com.google.inject' range='3.0.0'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.objectweb.asm' range='[5.0.1,6.0.0)'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext' range='[2.10.0.v201605250459,2.10.0.v201605250459]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext.generator' range='[2.10.0.v201605250459,2.10.0.v201605250459]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext.xtext.generator' range='[2.10.0.v201605250459,2.10.0.v201605250459]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext.util' range='[2.10.0.v201605250459,2.10.0.v201605250459]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.antlr.runtime' range='[3.2.0.v201101311130,3.2.0.v201101311130]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.apache.log4j' range='[1.2.15.v201012070815,1.2.15.v201012070815]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext.logging' range='[1.2.15.v201605250459,1.2.15.v201605250459]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext.common.types' range='[2.10.0.v201605250459,2.10.0.v201605250459]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext.builder' range='[2.10.0.v201605250459,2.10.0.v201605250459]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext.ecore' range='[2.10.0.v201605250459,2.10.0.v201605250459]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext.smap' range='[2.10.0.v201605250459,2.10.0.v201605250459]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext.xtext.wizard' range='[2.10.0.v201605250459,2.10.0.v201605250459]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext.builder.standalone' range='[2.10.0.v201605250459,2.10.0.v201605250459]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext.java' range='[2.10.0.v201605250459,2.10.0.v201605250459]'/>
        <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.xtext.runtime.feature.jar' range='[2.10.0.v201605250459,2.10.0.v201605250459]'>
          <filter>
            (org.eclipse.update.install.features=true)
          </filter>
        </required>
      </requires>
      <touchpoint id='null' version='0.0.0'/>
    </unit>



which effectively requires org.eclipse.xtend

I can find definitions for several xtend units : org.eclipse.xtend.core, org.eclipse.xtend.lib, org.eclipse.xtend.ide, etc

but I can not find a definition for unit org.eclipse.xtend

In which update site is this unit defined? or is this an error in the definition of the feature?
Re: Missing requirement building an updatesite that includes Xtext 2.10 runtime artifacts [message #1752607 is a reply to message #1752606] Wed, 25 January 2017 15:17 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14735
Registered: July 2009
Senior Member
http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/compositeContent.xml

there are other paths as well. e.g. the xpand one


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Re: Missing requirement building an updatesite that includes Xtext 2.10 runtime artifacts [message #1752609 is a reply to message #1752607] Wed, 25 January 2017 15:20 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14735
Registered: July 2009
Senior Member
p.s. i find https://github.com/ifedorenko/p2-browser quite handy to search p2 repos

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Re: Missing requirement building an updatesite that includes Xtext 2.10 runtime artifacts [message #1752634 is a reply to message #1752609] Wed, 25 January 2017 16:42 Go to previous messageGo to next message
German Vega is currently offline German VegaFriend
Messages: 104
Registered: December 2015
Location: Grenoble, France
Senior Member
Thank you. I have found all the missing requirements in the xpand site.

Just a question out of curiosity, why is the latest Xtext (2.10) still depending on Xpand?

I thought Xpand was replaced by Xtend 2
Re: Missing requirement building an updatesite that includes Xtext 2.10 runtime artifacts [message #1752639 is a reply to message #1752634] Wed, 25 January 2017 17:09 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14735
Registered: July 2009
Senior Member
The old generator is in xpand
The new one is not
I am not sure why the feature has the hard requirement


That may be for how the feature is built and how that way of building deals optional dependencies

Can you file a ticket at https://github.com/eclipse/xtext-umbrella

So that this can be investigated


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Re: Missing requirement building an updatesite that includes Xtext 2.10 runtime artifacts [message #1752644 is a reply to message #1752639] Wed, 25 January 2017 17:35 Go to previous message
German Vega is currently offline German VegaFriend
Messages: 104
Registered: December 2015
Location: Grenoble, France
Senior Member
Filed ticket

https://github.com/eclipse/xtext-umbrella/issues/20

thank you for your help
Previous Topic:Doing a Clean Build on Xtext 2.9.1
Next Topic:Synchronizing version numbers between workstations and a server
Goto Forum:
  


Current Time: Wed Dec 04 10:45:09 GMT 2024

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

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

Back to the top