Bug 29394 - suboptimal handling closing/opening projects in autobuild
Summary: suboptimal handling closing/opening projects in autobuild
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-13 11:27 EST by Adam Kiezun CLA
Modified: 2003-01-14 07:18 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-13 11:27:02 EST
20030107
with autobuild off the sequence
- close a binary project (that your sources refer to)
- reopen
- build all
takes 10 seconds because build results (correctly) in a no-op

with autobuild off, after reopening the project you still get errors in the task
list
build all does not help
you have to make a no-op change in a file and save it - this removes the errors
but the whole thing takes 10x as much time
Comment 1 Kent Johnson CLA 2003-01-13 14:53:36 EST
Please provide a more concrete example.

Also note that a closed project must be rebuilt in full since some information 
is discarded when its closed, thus making it impossible to handle the 
close/reopen case optimally.
Comment 2 Philipe Mulet CLA 2003-01-14 04:55:56 EST
Moreover, when a project is closed, no indication is provided when it reopens 
in case it did change in the meantime on the file system. This is why we cannot 
trust a closed project to not have changed since last time we saw it.
Comment 3 Adam Kiezun CLA 2003-01-14 05:27:29 EST
strange, i cannot reproduce anymore (it's fast now in the autobuild-on case)
the concrete example was 'close org.eclipse.core.update' (binary) in self 
hosting workspace (with all binary except for jdt.ui, jdt.ui.test, 
jdt.ui.tests.refactoring in source)

if nothing can be done (and i cannot reproduce), then ok for me to close
Comment 4 Philipe Mulet CLA 2003-01-14 07:18:09 EST
Closing