| Can EGit be used to version control Linked Folder content [message #996935] |
Thu, 03 January 2013 03:35  |
Mike Whittaker Messages: 7 Registered: July 2009 |
Junior Member |
|
|
I have some Eclipse projects which are organised as linked folders, either local directories or RSE directories.
It would be very convenient if I could version control the project content in one place via Egit/Eclipse locally (Team: ...) without needing to place the actual (remote) folders' content under git each on its own system, and have to run command-line git remotely.
Is there any means of working in this way, or does Egit only work with actual local content ? (or folders under git remotely).
Needless to say I have tried this already, but with 'Team:Add files' get "Failed to add files to index ...", the only thing apparently under git is the .project file, with the linked folder content being unacknowledged.
Also trying 'Team:Commit', "An internal error occurred
Entry not found by path: MyProj/MyRemoteLinkedFolder/subdir/firstfile.py"
This might turn out to be a 'Linked Folders' or 'Eclipse FS' issue rather than a 'Egit / Version control' issue ...
|
|
|
|
|
|
|
| Re: Can EGit be used to version control Linked Folder content [message #997635 is a reply to message #996935] |
Fri, 04 January 2013 17:54   |
Robin Rosenberg Messages: 268 Registered: July 2009 |
Senior Member |
|
|
Mike Whittaker skrev 2013-01-03 14.48:
> I have some Eclipse projects which are organised as linked folders, either local directories or RSE directories.
>
> It would be very convenient if I could version control the project content in one place via Egit/Eclipse locally (Team: ...) without needing to place the actual (remote)
> folders' content under git each on its own system, and have to run command-line git remotely.
>
> Is there any means of working in this way, or does Egit only work with actual local content ? (or folders under git remotely).
>
Neither Linked Folders nor RSE is supported by EGit at this moment. Not even ignoring them is complete, though,some patches are underway to fix that part. The linked
(target) resources should be tracked in the location they appear, as normal files.
Supporting RSE would probably require a *lot* of reorganizing within EGit/JGit. The core of EGit, i.e. JGit, assume all resources are files in the end and that access
to the file system is a cheap thing. I'm not aware of any plans in that direction. If you can mount the remote file system using NFS, CIFS, FuSE or something like that,
that will probably work, though not very fast.
-- robin
|
|
|
|
|
| Re: Can EGit be used to version control Linked Folder content [message #998619 is a reply to message #998338] |
Thu, 10 January 2013 06:01   |
Mike Whittaker Messages: 7 Registered: July 2009 |
Junior Member |
|
|
The deployment system (remote) will not have a version control client installed, but it will be running Python which is what the test applications are written in.
It was intended that changes be made on the remote system using Eclipse on a workstation, and the changes so made could be tracked through Eclipse, rather than having to tar up the remote source each time, or make edits on the workstation and rsync / copy it back each time.
NFS mounting could certainly be an option but I was thinking with EFS/RSE that could be avoided.
[Updated on: Thu, 10 January 2013 09:06] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04700 seconds