Bug 30522 - IPackageFragmentRoot: move, copy updateClasspath semantics
Summary: IPackageFragmentRoot: move, copy updateClasspath semantics
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-29 12:44 EST by Adam Kiezun CLA
Modified: 2003-02-02 06:24 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2003-01-29 12:44:20 EST
20030128
it makes little sense not to update the classpath of the destination 
project (if you don't, then you basically copy a folder or a zip file - not 
useful)

so i'd vote for changing the semantics of the updateClasspath flag to 
refer only to classpaths of projects referencing the IPackageFragmentRoot

more trivial case i copy:
for copy, i think you always want to pass 'true'
Comment 1 Adam Kiezun CLA 2003-01-30 05:19:52 EST
another issue is the semantics of that flag for delete:
i think one always wants to update the classpath of the project that is the 
parent of the packageFragmentRoot (cannot find a case where that would be not 
desirable)
Comment 2 Adam Kiezun CLA 2003-01-30 09:31:02 EST
another issue:
when the destination project is not a java project, then you're not allowed to 
pass 'true' as the updateClasspath argument.
but then you're left with errors because classpath gets out of synch
Comment 3 Jerome Lanneluc CLA 2003-02-02 06:24:24 EST
These operations can now fine-grained control how the classpaths are updated 
using the updateClasspath flags.