Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Building Xtext out of the box with maven fails on photon
Building Xtext out of the box with maven fails on photon [message #1801630] Wed, 23 January 2019 17:37 Go to next message
Eclipse UserFriend
Hello,
I am trying to do the simple task of creating a Xtext DSL project in eclipse photon using the new wizard and selecting maven as my build system but its failing out of the box. The error I am getting is below, love Xtext but hate building it, can anyone shed some light on the error and how I can get a freshly created XText project to build with maven in photon? It looks like the pom file generated is pointing to drop repository that no longer exists?

[WARNING] Failed to access p2 repository http://download.eclipse.org/tools/orbit/downloads/drops/S20180504181223/repository, use local cache. Neither http://download.eclipse.org/tools/orbit/downloads/drops/S20180504181223/repository/compositeContent.jar nor http://download.eclipse.org/tools/orbit/downloads/drops/S20180504181223/repository/compositeContent.xml found.
[ERROR] Failed to resolve target definition /Users/dkrebs/eclipse-workspace/org.xtext.example.mydsl.parent/org.xtext.example.mydsl.target/org.xtext.example.mydsl.target.target: Failed to load p2 metadata repository from location http://download.eclipse.org/tools/orbit/downloads/drops/S20180504181223/repository: Unable to read repository at http://download.eclipse.org/tools/orbit/downloads/drops/S20180504181223/repository. Artifact not found: http://download.eclipse.org/tools/orbit/downloads/drops2/S20180504181223/repository/content.xml.xz. -> [Help 1]
[ERROR]
Re: Building Xtext out of the box with maven fails on photon [message #1801638 is a reply to message #1801630] Thu, 24 January 2019 00:18 Go to previous messageGo to next message
Eclipse UserFriend
Welll you should replace the s repo with the release one.
Can you show the content of the target file?

It should point to https://download.eclipse.org/tools/orbit/downloads/drops/R20180606145124/repository/

For some reason this is not the case with Xtext 2.14
In newer releases the problem is already addressed

Re: Building Xtext out of the box with maven fails on photon [message #1801656 is a reply to message #1801638] Thu, 24 January 2019 04:28 Go to previous message
Eclipse UserFriend
Note that Eclipse Orbit repositories marked with "S" are so-called stable or milestone builds. They are deleted some time after a release repository is available. Sometimes these release repositories are not available at the time of an Xtext release, so we can only provide the latest stable release, which unfortunately break later. This is a chicken-egg-problem.
Previous Topic:Using EclipseResourceFileSystemAccess2 in test
Next Topic:Generated Files do not auto-compile
Goto Forum:
  


Current Time: Sat Jun 14 12:58:40 EDT 2025

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

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

Back to the top