Moving project moves it's linked files (not the links) into new project location [message #331447] |
Mon, 08 September 2008 08:50 |
Eclipse User |
|
|
|
Originally posted by: tkotisis.urbantech.gr
A project with links toward files outside the workspace is moved
(IProject.move).
It's linked files are also moved from their current location into the
(new) project location, while the links are deleted.
Is this a bug or a feature?
Either way, is it somehow possible to circumvent this behaviour besides
the obvious (copy project to new location, delete old project)?
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
Re: Moving project moves it's linked files (not the links) into new project location [message #331518 is a reply to message #331447] |
Thu, 11 September 2008 07:19 |
Eclipse User |
|
|
|
Originally posted by: tkotisis.urbantech.gr
Maybe i should look better into the javadocs :
IResource.move(IPath destination, int updateFlags,IProgressMonitor monitor)
The SHALLOW update flag controls how this method deals with linked
resources. If SHALLOW is not specified, then the underlying contents of
the linked resource will always be moved in the file system. In this case,
the destination of the move will never be a linked resource or contain any
linked resources. If SHALLOW is specified when a linked resource is moved
into another project, a new linked resource is created in the destination
project that points to the same file system location. When a project
containing linked resources is moved, the new project will contain the
same linked resources pointing to the same file system locations. For
either of these cases, no files on disk under the linked resource are
actually moved.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
Powered by
FUDForum. Page generated in 0.03115 seconds