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

Hey Matthias,

Thanks a lot for the answers and pointers, much appreciated.
Here are my experiences trying the various things:

- running the maven build of JGit on a relatively new plain machine continues to show up the below mentioned test failures. If this is running just fine on your Mac, there is maybe something missing from my machine here. Let’s see… :-)

- I tried the setup an environment with Eclipse, as described in the contributors guide - with mixed results. There were a number of issues showing up along the way, which I was able to resolve by restarting the process from scratch. In the end, the workspace I ended up with had 50k errors on the projects. But once I removed all the egit related projects from the workspace, I got an error-free workspace in Eclipse with all the jgit projects inside. However, executing all the unit tests resulted in a few errors as well.

Will continue trying to solve the issues and see if I can get something up here… ;-)

Cheers
Martin




Am 09.02.2024 um 13:05 schrieb Matthias Sohn <matthias.sohn@xxxxxxxxx>:

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