|changing a project's location w/o moving it [message #101844]
||Wed, 14 September 2005 23:20
Originally posted by: brettREMOVE.rockREMOVEnut.com|
i need to change my project to point to a different location
i tried editing the .location file (binary) and, as expected, eclipse does
not like this
using the "move" option, moves the files (which i do not want to do)
i know this is kinda screwy
i searched the posts and did not find anything
ps. bonus question: anybody know whey this file is binary? i'd expect
xml for everything.
|Re: changing a project's location w/o moving it [message #102463 is a reply to message #102249]
||Fri, 16 September 2005 14:26
Originally posted by: eclipse3.rizzoweb.com|
> my source is outside my workspace - this might be the difference between
> our environments - maybe this is unusual maybe this is why i couldn't
> find posts on this topic
> anyway, since there doesn't seem to be an "official" way to do this...
> for future readers...
> open .location w/ hex editor - edit the path - update the 2 bytes before
> the path string to be the new length of the path
> so far this seems to be working
For future readers this it DEFINITELY NOT what you want to do. As
someone earlier in the thread pointed out, the .location file is an
internal piece of metadata that is not intended to be user-modifiable.
Moving projects and workspaces around is not that difficult if you take
the time to really understand how Eclipse manages them and expects you
to manage them.
There is always a better way, just ask (and give enough detail so others
Powered by FUDForum
. Page generated in 0.01707 seconds