Bug 88719 - UserLibrary.serialize /createFromString need support for access restriction / attributes
Summary: UserLibrary.serialize /createFromString need support for access restriction /...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.1 RC1   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 90136 94520 96854 98235 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-22 05:05 EST by Martin Aeschlimann CLA
Modified: 2005-06-03 04:16 EDT (History)
4 users (show)

See Also:


Attachments
Patch to implement this functionality (5.79 KB, patch)
2005-05-17 04:33 EDT, Frederic Fusier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2005-03-22 05:05:27 EST
20050322

UserLibrary.serialize/createFromString need to be updated to also save/load the
new classpath attributes and access restrictions
Comment 1 Martin Aeschlimann CLA 2005-04-04 10:25:37 EDT
*** Bug 90136 has been marked as a duplicate of this bug. ***
Comment 2 Martin Aeschlimann CLA 2005-05-11 04:25:32 EDT
*** Bug 94520 has been marked as a duplicate of this bug. ***
Comment 3 Martin Aeschlimann CLA 2005-05-11 04:28:13 EDT
Note that this is a major bug as users are loosing the Javadoc locations stored
for entries in user libraries
Comment 4 Frederic Fusier CLA 2005-05-17 04:33:10 EDT
Created attachment 21248 [details]
Patch to implement this functionality

Martin, let me know if this patch is ok for you.
I've tested it manually and that's sounds good, but I would prefer to have your
feedback about it.
Thanks
Comment 5 Frederic Fusier CLA 2005-05-17 08:57:01 EDT
Fixed and released in HEAD.

Extra attribute and access rules are now supported while reading/writing user
librairies. Fix passes both all JDT/Core and JDT/UI tests.

[jdt-core internal]
See patch for changes.

To verify it works:
1) create a User Library
2) add some entries and set Javadoc locations on them
3) also set access rule(s) to user library
4) exit eclipse and restart
5) erify that javdoc locations and access rules are still defined on created
user library...

Added test case in JavaProjectTests. However, this test only verify that extra
attributes and access rules are well written in workspace preferences. It was
not possible to verify that at startup, these preferences were well read...
Comment 6 Frederic Fusier CLA 2005-05-27 03:35:25 EDT
*** Bug 96854 has been marked as a duplicate of this bug. ***
Comment 7 Olivier Thomann CLA 2005-05-27 09:58:30 EDT
Verified in I20050526-2000
Comment 8 Frederic Fusier CLA 2005-06-03 04:16:40 EDT
*** Bug 98235 has been marked as a duplicate of this bug. ***