Giter Site home page Giter Site logo

Comments (6)

cdietrich avatar cdietrich commented on July 29, 2024

The version is here
https://search.maven.org/artifact/org.antlr/antlr-runtime/3.2/jar

Maybe you should run with —refresh-dependencies
Do you have mavenCentral in the repo list for deps and buildscript ?

from itemis-blog.

ledan87 avatar ledan87 commented on July 29, 2024

I've tried ./gradlew clean build --refresh-dependencies, unfortunately it had no effect.

I did not change the content of the branch xcore_gradle. (Btw, the build.gradle uses jcenter, the artifact is here: https://jcenter.bintray.com/org/antlr/antlr-runtime/3.2/ but it cannot be resolved either)

I downloaded the artifact and pushed it to our nexus maven repository with version number 3.2.0. Than gradle is able to resolve it, but the build does still not work (fails with the second error message above).

from itemis-blog.

cdietrich avatar cdietrich commented on July 29, 2024

are you sure you use matching xbase, xbase.lib, xcore versions?

from itemis-blog.

cdietrich avatar cdietrich commented on July 29, 2024

p.s. i checked out xcore_gradle_upgrade_xtext_neu branch and it seems to work

from itemis-blog.

ledan87 avatar ledan87 commented on July 29, 2024

p.s. i checked out xcore_gradle_upgrade_xtext_neu branch and it seems to work

With the neu-branch it works. I did not know this branch exists, I used the link from here: https://blogs.itemis.com/en/using-xtext-with-xcore-and-gradle.

Danke!

from itemis-blog.

ledan87 avatar ledan87 commented on July 29, 2024

Just a follow up:

I managed to get the build of the other project to work as well. The dependency declarations should be adapted to:

   xtextLanguages 'org.antlr:antlr-runtime:3.2'
   xtextLanguages('org.eclipse.emf:org.eclipse.emf.ecore.xcore:1.3.1'){
       exclude group: 'org.antlr', module: 'antlr-runtime'
       exclude group: 'org.eclipse.xtext', module: 'org.eclipse.xtext'
       exclude group: 'org.eclipse.xtext', module: 'org.eclipse.xtext.xbase'
   }

from itemis-blog.

Related Issues (1)

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.