Skip to content

How to test sevntu checkstyle build on opensource projects

Daniil Yaroslavtsev edited this page Jul 12, 2014 · 9 revisions

Author: Ilja Dubinin

Create directory with opensource git repos:

mkdir -p ~/git-opensource-test-projects && cd ~/git-opensource-test-projects

Select any open-source projects on github.
For example:
https://github.com/eclipse/eclipse.platform.runtime.e4
https://github.com/eclipse/egit
https://github.com/hibernate/hibernate-orm
https://github.com/SpringSource/spring-framework

And clone them:

git clone https://github.com/SpringSource/spring-framework.git  && cd spring-framework && git checkout v3.1.3.RELEASE && cd ..
git clone https://github.com/hibernate/hibernate-orm.git
git clone https://github.com/eclipse/egit.git 
git clone git://git.eclipse.org/gitroot/e4/eclipse.platform.runtime.e4.git

Open eclipse and do Import (make sure, that you have EGit plugin in Eclipse):

Select Git:

Select local:

Add projacts:

Set yours directory and select projects:

And one-by-one add git projects to working set:


Finish:

That’s all. Use open-source to test your checks.