Re: [JGIT] Request for help
- From
Jonas Fonseca <jonas.fonseca@gmail.com>
- Date
- Sep 3, 2009, 12:45 UTC
- Message-ID
- <2c6b72b30909030545y4465b5c8j4b2b5587a07762c0@mail.gmail.com>
- In-Reply-To
- <20090903012207.GF1033@spearce.org>
On Wed, Sep 2, 2009 at 21:22, Shawn O. Pearce<spearce@spearce.org> wrote:
Show 6 quoted lines
> Yea, for the most part I think we use Eclipse, and you just have > to import JGit's top level directory into Eclipse as it comes with > Eclipse project files. But I know some folks only use our Maven > build (under jgit-maven/jgit) or use NetBeans. I have no idea how > to import the project into the latter or configure its unit tests > to run.
NetBeans comes with very good support for Maven projects. Importing JGit into NetBeans is just a matter of using the "Open Project" wizard and locating jgit-maven/jgit. This will also configure the unit tests to run.
BTW, what is your opinion of making it a bit easier to import and use the Maven configuration by putting a pom.xml in the top-level directory? The actual pom.xml file responsible for building the jgit library can still live on in jgit-maven/ if that is preferable.
I am also thinking about "mavenizing" the .pgm subproject to make it easier to browse and search the code from within NetBeans.
-- Jonas Fonseca