From: Andrew C. <ac...@co...> - 2008-07-20 00:15:08
|
Please direct questions/answers to the git...@li... address. -- Drew ---------- Forwarded message ---------- Date: Sat, 19 Jul 2008 19:53:34 -0400 From: Michelle S Osborne <ms...@ny...> To: Chuanhan Qiu <cq...@ny...> Cc: osp <g22...@cs...> Subject: Re: [osp_2008] Need help for the JavaGit folks Han, What did you need to do to get javagit commands working? I've had git working on the shell for a while (so it's definitely on the system path) but I'm having what seems like the same problem running it through java. If I try to run any javagit commands I see the exception 'Unable to start sub-process'. If I try to run any git commands directly through a ProcessBuilder I get 'git:not found'. I'm also running os x 10.4. Thanks, Michelle ----- Original Message ----- From: Chuanhan Qiu <cq...@ny...> Date: Friday, July 11, 2008 0:08 am Subject: Re: [osp_2008] Need help for the JavaGit folks To: James Linder <jh...@ny...> Cc: "g22...@cs..." <g22...@cs...> > James, thanks for the pointers. I got it to work, though I think the > real problem is that I had to restart the machine, so that Java was > able to get the updated PATH from the environment. I am not sure if > there is a way for the $PATH to get picked up (by Java) without > restarting since I am new to Mac. If not, then the step of restarting > should be on our installation instructions. > Thanks and appreciate the help. > GitClipse, not sure if you guys already knew this, but the git init, > git commit, git add works nicely so I will actually try to get it > integrated into our plugin. > Han > > ----- Original Message ----- > From: James Linder <jh...@ny...> > Date: Thursday, July 10, 2008 9:13 pm > Subject: Re: [osp_2008] Need help for the JavaGit folks > To: Chuanhan Qiu <cq...@ny...> > Cc: "g22...@cs..." <g22...@cs...> > >> Hi Han, >> >> When you installed git, did you compile from source or install using > >> >> the prebuilt installation? Also, are you on OS X 10.5 or 10.4? >> >> If you are on 10.5 and installed from the prebuilt installation, did > >> >> you run the "2 - Setup Git Environment Variables" script? If not, > you >> >> should do so. >> >> If you are on 10.5 and built git from source, you should make sure > you >> >> have set up the environment variables in all the places the attached > >> >> script sets them up. Note: take care to set the correct path in the > >> >> script. >> >> If you are on 10.4 I imagine you built from source. If you set the > >> normal environment variables up in ~/.bashrc and/or ~/.bash_profile, > >> >> then I think there is a second place that they need to get set in. > I >> >> don't know where it is exactly because I run OS X 10.5. >> >> Hope that helps. >> >> Cheers, >> >> James >> >> >> On Jul 10, 2008, at 8:37 PM, Chuanhan Qiu wrote: >> >>> hi guys, I am trying to integrate the JavaGit APIs into our >>> GitClipse plugin. So I tried to run JavaGit unit tests for > git-add >> >>> and I am getting an IOException in UnixProcess.forkAndExec, the >>> detail message is "git-add" not found. I have git installed on my > >> >>> machine (/usr/local/git) and I am able to use git-add on my shell. > >> >>> I am using Mac OS X, can you guys shed some lights. Appreciate it. >>> Han >>> _______________________________________________ >>> G22_3033_003_su08 mailing list >>> G22...@cs... >>> http://www.cs.nyu.edu/mailman/listinfo/g22_3033_003_su08 >> >> > _______________________________________________ > G22_3033_003_su08 mailing list > G22...@cs... > http://www.cs.nyu.edu/mailman/listinfo/g22_3033_003_su08 _______________________________________________ G22_3033_003_su08 mailing list G22...@cs... http://www.cs.nyu.edu/mailman/listinfo/g22_3033_003_su08 |