Giter Club home page Giter Club logo

Comments (7)

LorenzoBettini avatar LorenzoBettini commented on August 19, 2024

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.

carljmosca avatar carljmosca commented on August 19, 2024

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.

LorenzoBettini avatar LorenzoBettini commented on August 19, 2024

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.

LorenzoBettini avatar LorenzoBettini commented on August 19, 2024

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.

carljmosca avatar carljmosca commented on August 19, 2024

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.

LorenzoBettini avatar LorenzoBettini commented on August 19, 2024

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.

carljmosca avatar carljmosca commented on August 19, 2024

Thank you.

from packtpub-xtext-book-2nd-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.