Comments (8)
@leusonmario One solution is provided in #88, it seems the problem with ClassIndex, which replaces Reflections to scan all the generators.
from gumtree.
Hi and thanks for your feedback.
Could you be more precise about the issues you ran over with?
Cheers.
from gumtree.
Thanks for your reply.
So... When I run the project with or without the required dependencies, I always have the same message:
** No command given.
Available Options:
-c <2> Set global property (-c property value). Properties do not need to be prefixed by gumtree.
-v Verbose mode
--help Display help (this screen)Available Commands:
- list: List things (matchers, generators, properties, ...)
- parse: Parse file and dump result
According to Getting Started page after adding the dependencies, all commands and parsers should be available.
Adding the dependencies and running the Run class with the command webdiff f<fileNameOne>.java <fileNameTwo>.java
, I got:
** Unknown sub-command 'webdiff'.
from gumtree.
Can you tell me how you installed GumTree?
from gumtree.
I basically used Eclipse for configuring the project.
The project was imported as Github Repository. All projects worked well except 'benchmark'. Thus, I added a new dependency on its gradle file compile group: 'org.openjdk.jmh', name: 'jmh-core', version: '1.19'
Since all projects were configured and built correctly, I run the Run class with and without the dependencies introduced on the project classpath.
Adding all projects to the classpath, I got the following message.
I think it happens due to cycles on the build path
Exception in thread "main" java.lang.NoClassDefFoundError: org/antlr/runtime/RecognitionException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
at java.lang.Class.getConstructor0(Class.java:3075)
at java.lang.Class.getConstructor(Class.java:1825)
at com.github.gumtreediff.gen.Registry.defaultFactory(Registry.java:129)
at com.github.gumtreediff.gen.Generators.newEntry(Generators.java:55)
at com.github.gumtreediff.gen.Generators.newEntry(Generators.java:1)
at com.github.gumtreediff.gen.Registry.install(Registry.java:74)
at com.github.gumtreediff.client.Run.lambda$0(Run.java:63)
at java.lang.Iterable.forEach(Iterable.java:75)
at com.github.gumtreediff.client.Run.initGenerators(Run.java:58)
at com.github.gumtreediff.client.Run.(Run.java:80)
Caused by: java.lang.ClassNotFoundException: org.antlr.runtime.RecognitionException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 12 more
from gumtree.
It was an issue with eclipse version.
I'll close this issue.
from gumtree.
Have you tried IDEA? The same problem comes to me in IDEA so I wonder what you did to resolve it.
Thanks! @leusonmario
from gumtree.
@Symbolk I didn't use IDEA, but eclipse IDE. I solved my issue using a new version of eclipse. You may possibly try it also.
from gumtree.
Related Issues (20)
- seems confused edit script HOT 1
- Wrong position info of tree node HOT 5
- Tool installation on Windows HOT 1
- webdiff issue HOT 1
- no ast HOT 2
- Diff is not fine-grained HOT 9
- Option for disabling move operation HOT 3
- add support for s-expression trees HOT 1
- redundant edit script about insert and delete operations on unmodifie code HOT 3
- Customizable label truncation and format for output (dotdiff) HOT 1
- How to view the algorithm execution process
- add known mappings to zsmatcher HOT 1
- Gradle build failed HOT 1
- Empty EditScript from non-empty diff HOT 5
- add support for Go HOT 4
- Feature request: Markdown support HOT 2
- Packaging and build issues
- How to simplify GTD's actions? HOT 1
- Confusing results generated by GTD HOT 2
- Confusion about Move action HOT 1
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 gumtree.