-
Notifications
You must be signed in to change notification settings - Fork 175
Getting Started
GumTree requires Java 1.8 to run. Also we use Gradle to manage the dependencies and the build of GumTree. We therefore recommend also to have Gradle.
You can build GumTree with the following commands:
git clone https://github.com/GumTreeDiff/gumtree.git
cd gumtree
./gradlew build
You will have a distribution of GumTree in the dist/build/distributions
folder.
GumTree's Maven modules are available here: http://mvnrepository.com/artifact/com.github.gumtreediff.
The class to run any command line in GumTree is fr.labri.gumtree.client.Run
. You can check out the help of this class to discover the main commands.
For instance java fr.labri.gumtree.client.Run webdiff file1.java file2.java
will compute the diff between file1.java and file2.java, and launch a local web server that will show you the output of the diff. This server is accessible via the URL http://localhost:4754/.