{"thread":{"id":"16295","subject":"Re: Newbie questions regarding jgit","startedAt":"2008-11-12T22:36:54Z","lastAt":"2008-11-12T22:36:54Z","messageCount":1,"participants":["Robin Rosenberg"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"95636","messageId":"200811122336.55408.robin.rosenberg@dewire.com","threadId":"16295","inReplyTo":null,"subject":"Re: Newbie questions regarding jgit","fromName":"Robin Rosenberg","fromEmail":"robin.rosenberg@dewire.com","sentAt":"2008-11-12T22:36:54Z","receivedAt":"2008-11-12T22:36:54Z","isPatch":false,"sender":{"key":"robin.rosenberg@dewire.com","avatar":"https://avatars.githubusercontent.com/u/46357?v=4"},"body":"(resend without HTML)\ntisdag 11 november 2008 22:12:58 skrev Farrukh Najmi:\n> \n> I should clarify that I am not using eclipse nor am I using any GUI. My \n> objective is to have Java API access to git from within a servlet using \n> jgit. At present, all I have to go on is javadoc and its not clear where \n> to begin if I simply wish to create, read and update files in a git repo \n> from within the servlet java code.\n>\nWe do not have a tutorial. The JUnit tests are the best examples on \nhow to use the API today. I did some experiement wit J2EE and created\nsome jsp tags, but that's for JSP only and mostly experimental. To\ncomply with the JEE spec one should create a resource manager for\nGit to deal with scalability when many users try to access repos.\n\n> > I am git newbie and looking to use jgit in a servlet endpoint.\n> >\n> > Where can I find a public maven repo for gjit? It seems there is one \n> > somewhere because of the following file in src tree:\n> >\n> > jgit-maven/jgit/pom.xml\n\nWe do not use maven ourselves right now, though that might change, so\nthere is not public maven repository for jgit just yet. What do I need to\ndo to set it up?\n\n> >\n> > For now I have built the jar using /make_jgit.sh and installed the pom \n> > manually using m\n> >\n> > mvn install:install-file -DpomFile=jgit-maven/jgit/pom.xml \n> > -Dfile=jgit.jar\n\nThe pom.xml works for building jgit. cd to the mave dir and type mvn\nand watch it build (and run unit tests if you ask it to).\n\n-- robin\n"}]}