|Calculate file path to local GIT repository with EGit [message #1730752]
||Thu, 28 April 2016 09:29
| Marcel Austenfeld
Registered: July 2009
Is it possible to calculate the path to a GIT repository with EGit programmatically?|
My problem is that I have an application which can create GUI's and scripts called within Java which are referenced by local Eclipse project paths.
If I export the projects as a project *.zip file other users can import the project and the paths are calculated correctly on different computers and OS's from the workspace path.
However If I transfer the project to a local GIT repository (e.g. to distribute it over Github) the paths can't be updated to the now GIT repository path.
Is there a general way to calculate the paths to a special project repository so that I can ship and distribute a bundled Java project (with file referenced scripts) over, e.g., Github (if EGit installed)?
[Updated on: Thu, 28 April 2016 09:30]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01675 seconds