Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » [newbie] vanilla buckminster headless build fails
[newbie] vanilla buckminster headless build fails [message #1422824] Sat, 13 September 2014 12:43 Go to next message
Scott Finnie is currently offline Scott FinnieFriend
Messages: 94
Registered: October 2011
Member
Trying to get a headless build working using Buckminster per Lorenzo's book. Seems to work OK in eclipse; p2 site builds OK as far as I can tell.

However trying to run from command line fails (log below). From the error messages it looks like it's trying to retrieve kepler components; however I'm running juno. Before I go hacking about in something I've never touched before I'd appreciate any guidance from anyone.

If it is a case of swapping to juno URIs, is there anything/anywhere specific I need to make changes? Environment is xtext 2.7.0/Luna (4.4)/kubuntu 14.04 64 bit.

Also: is Buckminster still the recommended way to build things, or is tycho now preferred?

Thanks,
Scott.

Buildfile: /home/scoot/projects/xtextws/org.flujo.textual.buckminster/build.ant

cleanup:

buckminster:
     [echo] IMPORTANT: Populating an empty target platform may took over 10 minutes.
     [java] INFO:  setpref 'targetPlatformPath=/home/scoot/projects/xtextws/buildroot/target.platform'
     [java] INFO:  resolve '/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.cquery'
     [java] WARNING [0044] : Component request org.eclipse.emf.common:osgi.bundle/[2.9.2.v20131212-0545,2.9.2.v20131212-0545] is in conflict with request org.eclipse.emf.common:osgi.bundle/2.10.0
     [java] WARNING [0045] : Component request org.eclipse.emf.ecore:osgi.bundle/[2.9.2.v20131212-0545,2.9.2.v20131212-0545] is in conflict with request org.eclipse.emf.ecore:osgi.bundle/2.10.0
     [java] ERROR   [0047] : No suitable provider for component org.eclipse.emf.common:osgi.bundle/2.10.0 was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0047] : No suitable provider for component org.eclipse.emf.common:osgi.bundle/2.10.0 was found in searchPath eclipse
     [java]     ERROR   [0047] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0047] : No suitable provider for component org.eclipse.emf.ecore:osgi.bundle/2.10.0 was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0047] : No suitable provider for component org.eclipse.emf.ecore:osgi.bundle/2.10.0 was found in searchPath eclipse
     [java]     ERROR   [0047] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0048] : No suitable provider for component org.apache.commons.lang:osgi.bundle/[2.6.0.v201404270220,2.6.0.v201404270220] was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0048] : No suitable provider for component org.apache.commons.lang:osgi.bundle/[2.6.0.v201404270220,2.6.0.v201404270220] was found in searchPath eclipse
     [java]     ERROR   [0048] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] WARNING [0045] : Component request org.eclipse.emf.ecore.xmi:osgi.bundle/[2.9.1.v20131212-0545,2.9.1.v20131212-0545] is in conflict with request org.eclipse.emf.ecore.xmi:osgi.bundle/2.10.0
     [java] ERROR   [0059] : No suitable provider for component org.objectweb.asm:osgi.bundle/[5.0.1,6.0.0) was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0059] : No suitable provider for component org.objectweb.asm:osgi.bundle/[5.0.1,6.0.0) was found in searchPath eclipse
     [java]     ERROR   [0059] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0047] : No suitable provider for component org.eclipse.emf.ecore:osgi.bundle/2.10.0 was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0047] : No suitable provider for component org.eclipse.emf.ecore:osgi.bundle/2.10.0 was found in searchPath eclipse
     [java]     ERROR   [0047] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0047] : No suitable provider for component org.eclipse.emf.common:osgi.bundle/2.10.0 was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0047] : No suitable provider for component org.eclipse.emf.common:osgi.bundle/2.10.0 was found in searchPath eclipse
     [java]     ERROR   [0047] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0066] : No suitable provider for component org.eclipse.emf.ecore.editor:osgi.bundle/2.10.0 was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0066] : No suitable provider for component org.eclipse.emf.ecore.editor:osgi.bundle/2.10.0 was found in searchPath eclipse
     [java]     ERROR   [0066] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0068] : No suitable provider for component org.eclipse.emf.edit:osgi.bundle/2.10.0 was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0068] : No suitable provider for component org.eclipse.emf.edit:osgi.bundle/2.10.0 was found in searchPath eclipse
     [java]     ERROR   [0068] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0069] : No suitable provider for component org.eclipse.emf.codegen:osgi.bundle/2.10.0 was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0069] : No suitable provider for component org.eclipse.emf.codegen:osgi.bundle/2.10.0 was found in searchPath eclipse
     [java]     ERROR   [0069] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0048] : No suitable provider for component org.apache.commons.lang:osgi.bundle/[2.6.0.v201404270220,2.6.0.v201404270220] was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0048] : No suitable provider for component org.apache.commons.lang:osgi.bundle/[2.6.0.v201404270220,2.6.0.v201404270220] was found in searchPath eclipse
     [java]     ERROR   [0048] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0090] : No suitable provider for component org.eclipse.emf.common.ui:osgi.bundle/[2.9.0,3.0.0) was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0090] : No suitable provider for component org.eclipse.emf.common.ui:osgi.bundle/[2.9.0,3.0.0) was found in searchPath eclipse
     [java]     ERROR   [0090] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0079] : No suitable provider for component org.eclipse.emf.ecore.xmi:osgi.bundle/2.10.0 was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0079] : No suitable provider for component org.eclipse.emf.ecore.xmi:osgi.bundle/2.10.0 was found in searchPath eclipse
     [java]     ERROR   [0079] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] WARNING [0045] : Component request org.eclipse.emf.ecore:osgi.bundle/[2.9.2.v20131212-0545,2.9.2.v20131212-0545] is in conflict with request org.eclipse.emf.ecore:osgi.bundle/[2.10.0,3.0.0)
     [java] WARNING [0044] : Component request org.eclipse.emf.common:osgi.bundle/[2.9.2.v20131212-0545,2.9.2.v20131212-0545] is in conflict with request org.eclipse.emf.common:osgi.bundle/[2.10.0,3.0.0)
     [java] ERROR   [0086] : No suitable provider for component org.eclipse.emf.codegen.ecore:osgi.bundle/2.10.0 was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0086] : No suitable provider for component org.eclipse.emf.codegen.ecore:osgi.bundle/2.10.0 was found in searchPath eclipse
     [java]     ERROR   [0086] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0090] : No suitable provider for component org.eclipse.emf.edit:osgi.bundle/[2.10.0,3.0.0) was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0090] : No suitable provider for component org.eclipse.emf.edit:osgi.bundle/[2.10.0,3.0.0) was found in searchPath eclipse
     [java]     ERROR   [0090] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0094] : No suitable provider for component org.eclipse.emf.ecore:osgi.bundle/[2.10.0,3.0.0) was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0094] : No suitable provider for component org.eclipse.emf.ecore:osgi.bundle/[2.10.0,3.0.0) was found in searchPath eclipse
     [java]     ERROR   [0094] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0094] : No suitable provider for component org.eclipse.emf.common:osgi.bundle/[2.10.0,3.0.0) was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0094] : No suitable provider for component org.eclipse.emf.common:osgi.bundle/[2.10.0,3.0.0) was found in searchPath eclipse
     [java]     ERROR   [0094] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] ERROR   [0048] : No suitable provider for component org.apache.commons.lang:osgi.bundle/[2.6.0.v201404270220,2.6.0.v201404270220] was found in resourceMap file:/home/scoot/projects/xtextws/org.flujo.textual.buckminster/projects-platform.rmap
     [java]   ERROR   [0048] : No suitable provider for component org.apache.commons.lang:osgi.bundle/[2.6.0.v201404270220,2.6.0.v201404270220] was found in searchPath eclipse
     [java]     ERROR   [0048] : Rejecting provider p2({0}[http://download.eclipse.org/releases/kepler]): No component match was found
     [java] INFO:  TAG-ID 0044 = Query for org.flujo.textual.buckminster:buckminster, path: org.flujo.textual.buckminster:buckminster$1.0.0 -> org.eclipse.platform:eclipse.feature$4.3.2.v20140221-1852 -> org.eclipse.rcp:eclipse.feature$4.3.2.v20140221-1700 -> org.eclipse.e4.rcp:eclipse.feature$1.2.2.v20140206-1358 -> org.eclipse.emf.common:eclipse.feature$2.9.2.v20131212-0545
     [java] TAG-ID 0045 = Query for org.flujo.textual.buckminster:buckminster, path: org.flujo.textual.buckminster:buckminster$1.0.0 -> org.eclipse.platform:eclipse.feature$4.3.2.v20140221-1852 -> org.eclipse.rcp:eclipse.feature$4.3.2.v20140221-1700 -> org.eclipse.e4.rcp:eclipse.feature$1.2.2.v20140206-1358 -> org.eclipse.emf.ecore:eclipse.feature$2.9.2.v20131212-0545
     [java] TAG-ID 0047 = Query for org.flujo.textual.buckminster:buckminster, path: org.flujo.textual.buckminster:buckminster$1.0.0 -> org.eclipse.xtext.sdk:eclipse.feature$2.7.1.v201409090713
     [java] TAG-ID 0048 = Query for org.flujo.textual.buckminster:buckminster, path: org.flujo.textual.buckminster:buckminster$1.0.0 -> org.eclipse.xtext.sdk:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtext.ui:eclipse.feature$2.7.1.v201409090713
     [java] TAG-ID 0059 = Query for org.flujo.textual.buckminster:buckminster, path: org.flujo.textual.buckminster:buckminster$1.0.0 -> org.eclipse.xtext.sdk:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtext.runtime:eclipse.feature$2.7.1.v201409090713
     [java] TAG-ID 0066 = Query for org.flujo.textual.buckminster:buckminster, path: org.flujo.textual.buckminster:buckminster$1.0.0 -> org.eclipse.xtext.sdk:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtext.ui:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtext.ui.ecore:osgi.bundle$2.7.1.v201409090713
     [java] TAG-ID 0068 = Query for org.flujo.textual.buckminster:buckminster, path: org.flujo.textual.buckminster:buckminster$1.0.0 -> org.eclipse.xtext.sdk:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtext.ui:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtext.common.types.edit:osgi.bundle$2.7.1.v201409090713
     [java] TAG-ID 0069 = Query for org.flujo.textual.buckminster:buckminster, path: org.flujo.textual.buckminster:buckminster$1.0.0 -> org.eclipse.xtext.sdk:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtend.sdk:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtend.standalone:osgi.bundle$2.7.1.v201409090713
     [java] TAG-ID 0079 = Query for org.flujo.textual.buckminster:buckminster, path: org.flujo.textual.buckminster:buckminster$1.0.0 -> org.eclipse.xtext.sdk:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtext.purexbase:osgi.bundle$2.7.1.v201409090713 -> org.eclipse.xtext:osgi.bundle$2.7.1.v201409090713
     [java] TAG-ID 0086 = Query for org.flujo.textual.buckminster:buckminster, path: org.flujo.textual.buckminster:buckminster$1.0.0 -> org.eclipse.xtext.sdk:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtext.xtext.ui:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtext.xtext.ui:osgi.bundle$2.7.1.v201409090713
     [java] TAG-ID 0090 = Query for org.flujo.textual.buckminster:buckminster, path: org.flujo.textual.buckminster:buckminster$1.0.0 -> org.eclipse.xtext.sdk:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtext.ui:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtext.ui:osgi.bundle$2.7.1.v201409090713 -> org.eclipse.emf.edit.ui:osgi.bundle$2.9.0.v20140203-1126
     [java] TAG-ID 0094 = Query for org.flujo.textual.buckminster:buckminster, path: org.flujo.textual.buckminster:buckminster$1.0.0 -> org.eclipse.xtext.sdk:eclipse.feature$2.7.1.v201409090713 -> org.eclipse.xtext.purexbase:osgi.bundle$2.7.1.v201409090713 -> org.eclipse.emf.mwe2.launch:osgi.bundle$2.7.0.v201409021051 -> org.eclipse.emf.mwe2.language:osgi.bundle$2.7.0.v201409021051
     [java] 

BUILD FAILED
/home/scoot/projects/xtextws/org.flujo.textual.buckminster/build.ant:28: Java returned: 1

Total time: 2 minutes 5 seconds


Re: [newbie] vanilla buckminster headless build fails [message #1423371 is a reply to message #1422824] Sun, 14 September 2014 09:44 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 13/09/2014 14:43, Scott Finnie wrote:
> Trying to get a headless build working using Buckminster per Lorenzo's
> book. Seems to work OK in eclipse; p2 site builds OK as far as I can tell.
>
> However trying to run from command line fails (log below). From the
> error messages it looks like it's trying to retrieve kepler components;
> however I'm running juno. Before I go hacking about in something I've
> never touched before I'd appreciate any guidance from anyone.
>
> If it is a case of swapping to juno URIs, is there anything/anywhere
> specific I need to make changes? Environment is xtext 2.7.0/Luna
> (4.4)/kubuntu 14.04 64 bit.
>
> Also: is Buckminster still the recommended way to build things, or is
> tycho now preferred?

Hi Scott

Yes, instead of Kepler, Luna should be used, otherwise EMF 2.10 cannot
be found; alternatively, if you want to stay with Kepler you should add,
in the projects-platform.rmap, as a second provider in the "xtext"
search path also the EMF release update site.

I think that the Xtext Buckminster wizard could use an update if it
still refers to Kepler.

I'll also try to update the examples of the book (sorry for the delay)
and try to detail the changes in the git repository.

I still prefer Buckminster, but that's only my opinion ;)

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: [newbie] vanilla buckminster headless build fails [message #1423660 is a reply to message #1423371] Sun, 14 September 2014 21:05 Go to previous messageGo to next message
Scott Finnie is currently offline Scott FinnieFriend
Messages: 94
Registered: October 2011
Member
Hi Lorenzo, thanks for the advice. I'll try changing to luna.

Quote:
I'll also try to update the examples of the book (sorry for the delay)
and try to detail the changes in the git repository.


Thanks, that would be great.

Quote:
I still prefer Buckminster, but that's only my opinion Wink


It looks a bit cleaner, just wasn't sure if it was still active; wizard being out of date just adds to that sense. I'll give it a go first, can't imagine tycho will be any easier from past experience.

rgds,
Scott.
Re: [newbie] vanilla buckminster headless build fails [message #1425558 is a reply to message #1423660] Wed, 17 September 2014 13:29 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 14/09/2014 23:05, Scott Finnie wrote:
> Hi Lorenzo, thanks for the advice. I'll try changing to luna.
>
> Quote:
>> I'll also try to update the examples of the book (sorry for the delay)
>> and try to detail the changes in the git repository.
>
>
> Thanks, that would be great.

I've updated the sources of examples of the book:

https://github.com/LorenzoBettini/packtpub-xtext-book-examples

on the main page you also find all the ERRATA (in the README.md) and the
switch to Luna (go to the bottom of the page)

hope this helps
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Previous Topic:Python-like indentation and editor problems
Next Topic:ConcurrentModificationException with xtend-maven-plugin:2.7.1
Goto Forum:
  


Current Time: Wed Apr 24 16:36:04 GMT 2024

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

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

Back to the top