From: Robin Rosenberg <robin.rosenberg@dewire.com>
To: Farrukh Najmi <farrukh@wellfleetsoftware.com>
Cc: git@vger.kernel.org
Subject: Re: Newbie questions regarding jgit
Date: Wed, 12 Nov 2008 23:36:54 +0100 [thread overview]
Message-ID: <200811122336.55408.robin.rosenberg@dewire.com> (raw)
(resend without HTML)
tisdag 11 november 2008 22:12:58 skrev Farrukh Najmi:
>
> I should clarify that I am not using eclipse nor am I using any GUI. My
> objective is to have Java API access to git from within a servlet using
> jgit. At present, all I have to go on is javadoc and its not clear where
> to begin if I simply wish to create, read and update files in a git repo
> from within the servlet java code.
>
We do not have a tutorial. The JUnit tests are the best examples on
how to use the API today. I did some experiement wit J2EE and created
some jsp tags, but that's for JSP only and mostly experimental. To
comply with the JEE spec one should create a resource manager for
Git to deal with scalability when many users try to access repos.
> > I am git newbie and looking to use jgit in a servlet endpoint.
> >
> > Where can I find a public maven repo for gjit? It seems there is one
> > somewhere because of the following file in src tree:
> >
> > jgit-maven/jgit/pom.xml
We do not use maven ourselves right now, though that might change, so
there is not public maven repository for jgit just yet. What do I need to
do to set it up?
> >
> > For now I have built the jar using /make_jgit.sh and installed the pom
> > manually using m
> >
> > mvn install:install-file -DpomFile=jgit-maven/jgit/pom.xml
> > -Dfile=jgit.jar
The pom.xml works for building jgit. cd to the mave dir and type mvn
and watch it build (and run unit tests if you ask it to).
-- robin
next reply other threads:[~2008-11-12 22:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-12 22:36 Robin Rosenberg [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-11-12 22:37 Newbie questions regarding jgit Robin Rosenberg
2008-11-11 20:44 Farrukh Najmi
2008-11-11 21:12 ` Farrukh Najmi
2008-11-11 21:37 ` Jonas Fonseca
2008-11-11 21:44 ` Shawn O. Pearce
2008-11-11 22:01 ` Jonas Fonseca
2008-11-11 23:11 ` Shawn O. Pearce
2008-11-12 2:24 ` Imran M Yousuf
2008-11-12 12:51 ` Farrukh Najmi
2008-11-12 14:05 ` Farrukh Najmi
2008-11-12 14:33 ` Farrukh Najmi
2008-11-12 17:56 ` Farrukh Najmi
2008-11-12 18:30 ` Jonas Fonseca
2008-11-12 19:29 ` Shawn O. Pearce
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200811122336.55408.robin.rosenberg@dewire.com \
--to=robin.rosenberg@dewire.com \
--cc=farrukh@wellfleetsoftware.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).