Bug 3303 - Many errors when adding projects from repository in a fresh install (1GF5PU7)
Summary: Many errors when adding projects from repository in a fresh install (1GF5PU7)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: 2.0 M4   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 5285 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-10 22:52 EDT by Erich Gamma CLA
Modified: 2002-03-05 06:26 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Gamma CLA 2001-10-10 22:52:53 EDT
EG (6/11/2001 2:49:58 AM)
	1) 	start a new worksspace
	2) 	add some Java projects from the repository
	->		the autobuilder starts building and there are
			many errors: reference to non-existing class java.lang.object

The problem is that the Java UI sets the JRE variables, but it never
got activated in the above scenario. The consequence is that the
variables are not set. 

NOTES:
EG (6/11/2001 2:51:02 AM)
	Fix would be an extension point in CORE that allows clients to plugin
	additional code that should be run on activation. The UI would implmeent
	the extension point and add code that sets the JRE variables.	

PM (9/13/2001 11:45:24 AM)
	Agreed.
Comment 1 Philipe Mulet CLA 2001-10-29 07:23:25 EST
*** Bug 5285 has been marked as a duplicate of this bug. ***
Comment 2 Philipe Mulet CLA 2002-03-01 14:10:19 EST
Implementing the proposal 
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.eclipse.jdt.core/notes/r
2.0/variable%20init/uninit-classpath-vars.html

It will call the initializer each time a variable is left unbound. 
We might want to funace this behavior to only give one chance for initializing 
the variable, and potentially also asking for initializing if the variable is 
bound to an undefined location ?

Currently, it will be called several times (until variable is initialized), and 
only if the variable is undefined.
Comment 3 Philipe Mulet CLA 2002-03-05 06:26:21 EST
Released into next integration build. Note though that a variable initializer 
will only be called once per session (unlike my previous comment did state).

Fixed.