Comments (7)
You have to run the Maven build from the org.example.parent
project. You can build a single DSL using the corresponding profile.
For example, for SmallJava
mvn -f org.example.parent/pom.xml clean verify -Psmalljava
This works, I've just tried that.
from packtpub-xtext-book-2nd-examples.
There must be something else wrong. I am getting the same error message using the above command (which is very similar to what I was already doing).
from packtpub-xtext-book-2nd-examples.
Are you sure you're using the latest version of the Git repository? (currently based on Xtext 2.17.0)
Some times, cleaning the .m2/repository
might help.
If this does not solve the problem, I need some more information, e.g., OS version and the full stack trace.
from packtpub-xtext-book-2nd-examples.
By the way, you're not using Maven 3.6.1 are you? That version has serious problems for Maven/Tycho projects
from packtpub-xtext-book-2nd-examples.
I removed my ~/.m2/repository directory before I opened the issue but I suspect there may have been unresolved issues that I missed because I just repeated that and after noticing a good number of warning/retries (such as the one below), it was eventually successful.
[WARNING] Some attempts to read artifact osgi.bundle,org.eclipse.xtext.generator,2.17.0.v20190304-0626 failed:
[WARNING] An error occurred while transferring artifact canonical: osgi.bundle,org.eclipse.xtext.generator,2.17.0.v20190304-0626 from repository http://download.eclipse.org/releases/2019-03/201903201000:
[WARNING] Retry another mirror:
[WARNING] Unable to connect to repository http://mirror.cc.vt.edu/pub/eclipse/releases/2019-03/201903201000/plugins/org.eclipse.xtext.generator_2.17.0.v20190304-0626.jar
from packtpub-xtext-book-2nd-examples.
Yes, sometimes p2 mirrors might be flaky. When that happens, you might want to disable mirrors passing this command line property in the build -Dtycho.disableP2Mirrors=true
.
from packtpub-xtext-book-2nd-examples.
Thank you.
from packtpub-xtext-book-2nd-examples.
Related Issues (20)
- Port to Xtext 2.12 HOT 1
- Use Oxygen as TP
- Port to Xtext 2.13
- GETTINGSOURCES fails with Eclipse 18.12 HOT 2
- Port to Xtext 2.17 HOT 1
- Use the new Xtext BOM HOT 1
- Configuration for building with JDK11 HOT 1
- Port to 2019-03 HOT 1
- Remove SWTBot dependency HOT 1
- Port to Xtext 2.18
- Port to Xtext 2.19 HOT 2
- Some changes in project config file to prevent "no repository found" errors on installation HOT 2
- Port to Xtext 2.20.0
- Port to Xtext 2.21.0
- Second edition, Chapter 13 (Extending Xbase) appears to have a typo on page 379 HOT 1
- content completion HOT 6
- e HOT 1
- Entities runtime does not create src-gen folder HOT 3
- Fix mwe2 version in pom.xml
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packtpub-xtext-book-2nd-examples.