Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Is it actually possible to set up a new JGit developer environment these days?

Personally, I use IntelliJ, importing from the Maven definition. You may not believe feat this is actually possible, so I recorded an inordinately dull 2 minute video to take you on this very special journey:

http://www.youtube.com/watch?v=sjjRV9XTIGE
(I had a guy play honky-tonk piano in the background to make it more interesting)

Once IntelliJ has loaded the project, it has no problem running the individual tests in, for instance, RefUpdateTest - I would say it's a pretty usable experience.

Running 'mvn clean install' on the command line takes also about 2 minutes for me, although the JavaDoc does fail with 'bad html' errors when using Java 8.






On 25 March 2014 18:17, Dave Borowitz <dborowitz@xxxxxxxxxx> wrote:
The contributor guide is...disheartening.

"Note: Eclipse Kepler currently has a bug (see bug 409073) which causes the instructions below to fail. You can manually install the tools (e.g. from the marketplace)"

Really? No thank you. Ok, so maybe I just won't use Eclipse.

First things first, alias mvn='JAVA_HOME=/path/to/jdk6 mvn', because some java7 bug in plexus-io or something makes maven-source-plugin take literally hours on my laptop.

So mvn package at least works now, except that we have a lot of tests (which is good!) so it takes a long time.

Now, can I run a specific test case? Like, the one corresponding to the bugfix I'm working on?

Google tells me this would be 'mvn test -Dtest=MyTest', but no, maven-surefire-plugin says no tests are found. Something must be busted because -Dtest is supposed to support wildcards and 'mvn test -Dtest=*' gives me the same error. Perhaps 'mvn -pl org.eclipse.jgit.test test -Dttest', but then it expects all the other modules to be installed in my local repo. Again, no thank you.

I have a theory that everybody who actively develops JGit is using an Eclipse project they set up >1 year ago after hours of manual labor, and we'd each be screwed if that project ever got lost. Which is pretty much what happened to me here :)

https://git.eclipse.org/r/17955 can't get merged fast enough IMHO. (Wish I had more time to help.)

_______________________________________________
jgit-dev mailing list
jgit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jgit-dev



Back to the top