From: SourceForge.net <no...@so...> - 2009-06-02 01:43:52
|
Bugs item #2799748, was opened at 2009-06-02 01:43 Message generated for change (Tracker Item Submitted) made by r_g_l_d You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1089899&aid=2799748&group_id=233450 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Rougald (r_g_l_d) Assigned to: Nobody/Anonymous (nobody) Summary: Problem running under Windows Initial Comment: I tried to run JavaGit under Windows XP (Or windows of any kind I guess would do), and came across a problem to even run the simplest cookbook line. The problem originated with JavaGitConfiguration.setGitPath, which calls eventually determineGitVersion, which checks if "git" is in the path specified. The line there "gitPrefix = path.getAbsolutePath() + File.pathSeparator;" is problematic (Also in "getGitCommandPrefix()" since it tries to create the following for Windows: "C:\JavaGitPathSpecified\;git --version" as the command line. Two problems here: 1. We should be able to either add a suffix (Make it git.exe, otherwise the file won't be found?) 2. Give the actual git.exe path, since the above doesn't run. Not sure if it's a problem for Unix (Although it seems to me "C:\JavaGitPathSpecified\:git --version" is equally problematic), but it sure is for Windows. Wouldn't mind sending a patch once verified. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1089899&aid=2799748&group_id=233450 |