Coder Social home page Coder Social logo

conflictpredictor / nutz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nutzam/nutz

0.0 0.0 0.0 40.76 MB

Nutz -- Web Framework(Mvc/Ioc/Aop/Dao/Json) for ALL Java developer

Home Page: https://nutzam.com

License: Apache License 2.0

Shell 0.14% Batchfile 0.01% Java 99.65% JavaScript 0.18% Assembly 0.01% Python 0.01%

nutz's Introduction

The Conflict Analyzer tool is part of an experiment infrastructure that aims to analyze conflict patterns and their frequency.

More information here: https://conflictpredictor.github.io/onlineAppendix/

Install and run:

In order to run the conflicts analyzer you will need to have Java 7 or higher, groovy and the Eclipse IDE installed in your machine. After that, you will need to clone the required projects from github and import then inside Eclipse IDE according to the instructions described below:

1- clone GremlinQuery

git clone https://github.com/prga/GremlinQuery.git

2-clone jfstmerge and checkout to conflict_analyzer branch

git clone https://github.com/conflictpredictor/jFSTMerge

3- clone conflictPredictor

git clone https://github.com/conflictpredictor/conflictPredictor

After cloning those projects (GremlinQuery, JFSTMerge, and conflictPredictor), you need to import them inside Eclipse IDE

4-Open Eclipse

5- Import project GremlinQuery

import ->maven->existing maven projects select GremlinQuery folder and click open and then finish install required plugins restart eclipse

5.1 - if you have problems with groovy compiler mismatch do this

right click on project’s folder -> groovy-> fix compiler mismatch problems

right click on project’s folder -> maven -> update project

6- import JFSTMerge

import->general-> existing Gradle project and follow Eclipse instructions

7 -import conflictsAnalyzer

import-> existing projects into workspace

select conflictsAnalyzer folder, click open and then finish

9- Edit properties files and run conflictsAnalyzer project

Edit projectList file with the list of projects you wish to analyze, following the file pattern with one project per line

Edit configuration.properties file with the following information:

-gitminer.path, should be set to the path where you want to download projects revisions

-downloads.path, should be set to the path where you want to download projects revisions

-github.login, your github login

-github.password, your github password

-github.email, your github email

-github.token, your github token to allow your login to make multiple requests to Github's API. Instructions to get your token here https://help.github.com/articles/creating-an-access-token-for-command-line-use/

run RunStudy.java class from conflictsAnalyzer project

if you have a this problem:

Caused by: groovy.lang.GroovyRuntimeException: Conflicting module versions. Module [groovy-all is loaded in version 2.3.7
and you are trying to load version 2.0.7

open the file pom.xml from GremlinQuery, edit the groovy-all property with the version number of the groovy compiler from your workspace, save, and then right click GremlinQuery project -> maven-> update project

try to run RunStudy.groovy again

nutz's People

Contributors

amosleaf avatar cat7373 avatar denghuafeng avatar dominic0312 avatar elkan1788 avatar georgekankava avatar happyday517 avatar howe avatar hzl7652 avatar insidezhou avatar juqkai avatar kerbores avatar landraxee avatar lifecube avatar mccxj avatar ming300 avatar pangwu86 avatar qinerg avatar rekoe avatar satellite168 avatar shevawen avatar sjbwylbs avatar wangyuehong avatar wendal avatar wizzercn avatar xiaofengfu avatar xing-kenny avatar ywjno avatar zccm avatar zozoh avatar

Watchers

 avatar

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.