Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] issues getting started on JGit

On Fri, Feb 9, 2024 at 9:56 AM Martin Lippert via jgit-dev <jgit-dev@xxxxxxxxxxx> wrote:
Hey!

I am trying get started on the JGit codebase, but I am runing into a number of issues when trying this.
Hope someone can help me.

Question 1:
After cloning the repo from GitHub, I am trying to run the Maven build via
"mvn clean package“

(Using JDK 17.0.9, Maven 3.9.3)

The build fails with a number of test failures, the module "JGit - Command Line Interface Tests“ fails with:

[ERROR] Errors:
[ERROR]   RepoTest.testZombieHelpArgument:91->CLIRepositoryTestCase.execute:69 » MissingResource Can't find resource for bundle java.util.PropertyResourceBundle, key WERT
[ERROR]   StatusTest.testPathOptionHelp:28->CLIRepositoryTestCase.execute:69 » MissingResource Can't find resource for bundle java.util.PropertyResourceBundle, key WERT

Does that ring a bell?

This doesn't fail for me on Mac. 

Question 2:
Importing the projects into a plain vanilla workspace in Eclipse causes all projects to show up with a bunch of errors, selecting one of the target platform definitions doesn’t help.
Is there any guidance how to import the projects into Eclipse and what to configure then in order to get a clean workspace? Seems a bit difficult for someone not being involved in the project yet to exactly figure out what needs to be done here.

Ignoring those errors and running some of the JUnit launch config seems to work, but causes certain tests to fail as well. Is this expected?

Did you follow the contributor guide [1] ?
The fastest way to get started is the automatic IDE setup [2].


-Matthias

Many many many thanks upfront!

Cheers
Martin


_______________________________________________
jgit-dev mailing list
jgit-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jgit-dev

Back to the top