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?

Hmm, from my recent experience setting up a JGit dev workspace isn't that hard:
* clone the repo
* import all the projects into eclipse
* activate
* in case a dependency is missing go to Orbit repo (CVS) and check it out
* done!

Running a single test (case) is as easy as creating a JUnit launch
config in Eclipse.

fwiw, I'm on Luna M6


On Tue, Mar 25, 2014 at 7:17 PM, 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 :)
> can't get merged fast enough IMHO. (Wish I
> had more time to help.)
> _______________________________________________
> jgit-dev mailing list
> jgit-dev@xxxxxxxxxxx

Back to the top