Bug 115528 - [prefs] preferences import should invoke project rebuild
Summary: [prefs] preferences import should invoke project rebuild
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M1   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-08 13:47 EST by Marcel Petavy CLA
Modified: 2007-02-11 04:49 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 Marcel Petavy CLA 2005-11-08 13:47:02 EST
Hi.

I have Eclipse running at home and work.
At work I have defined two classpath variables JCE_LIB, JSSE_LIB for 
compilation. I commit my working file ".classpath" to cvs and go home.
Now, first I have a beer and play with my daughter and her Barbies ;-)
I start my eclipse at home, update from the cvs server and get the new ".
classpath" file
Now I have compilation errors because I do not have JCE_LIB and JSSE_LIB defined 
 in my preferences. I connect remote to work, export the preferences to a file 
and import into Eclipse at home. 
Now I have the JCE_LIB and JSSE_LIB in my preferences, but badly I still have 
compilation errors and cleaning the projects doesn't help. 
I have to restart eclipse and have to clean projects again so that the new 
preferences can work.

Cheers ;-) - Marcel (still some beer left ;-)
Comment 1 Frederic Fusier CLA 2005-11-09 03:15:01 EST
See also bug 75471
Comment 2 Frederic Fusier CLA 2007-02-11 03:44:44 EST

*** This bug has been marked as a duplicate of bug 75471 ***
Comment 3 Frederic Fusier CLA 2007-02-11 04:44:20 EST
Sorry not really a duplicate of bug 75471, but it works since 3.3 M1
Comment 4 Frederic Fusier CLA 2007-02-11 04:48:16 EST
Classpath Validation has been rewritten in 3.3 M1 and the new implementation fixes this peculiar issue => close as WORKSFORME setting the target accordingly.
Note that the rebuild is done only if the "Build Automatically" preference is set, otherwise user has to launch the build manually to see all the errors disappeared.
Comment 5 Frederic Fusier CLA 2007-02-11 04:49:22 EST
Verified for 3.3 M1 using build I20060810-1230.