Bug 5649 - Loading a Java project when the java builder is missing causes problems
Summary: Loading a Java project when the java builder is missing causes problems
Status: RESOLVED DUPLICATE of bug 3132
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 1.0   Edit
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-07 20:33 EST by Jed Anderson CLA
Modified: 2001-11-08 12:28 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 Jed Anderson CLA 2001-11-07 20:33:51 EST
If you load a java project from a repository using the platform drop (rather 
than the jdt) you get an Error dialog saying "Errors adding project". The 
details are 
1. "A problem occurred in plugin: org.eclipise.core.resources"
2. "Error instantiating builder: org.eclipse.jdt.core.builder"
Comment 1 John Arthorne CLA 2001-11-08 10:39:13 EST
Jed, what drop are you using?

We tried to make this nicer.  The expected behaviour now is:

1) On first build attempt, the user is notified that an attempt was made to 
instantiate a missing builder
2) On subsequent builds, it silently logs a similar message to the log file.

The theory is that this is fairly important information to convey to the user, 
that the project expects a certain builder to be present and it is not.  This 
usually indicates a missing plugin or that a plugin failed to load.  At the same 
time, we want to allow the user to go on with their work if they are not worried 
about the missing builder.

Can you confirm that this is the behaviour you're seeing?
Comment 2 Jed Anderson CLA 2001-11-08 12:05:13 EST
I was using the platform r1.0 drop as available from eclipse.org.

I get the error dialog each time I build .

The error notification doesn't inform the user of what's going on.  Imagine 
you didn't know what a builder was, you wouldn't know how to fix the problem.

A  more appropriate message would be something like yours: "Unable to build 
project because you are missing a builder, it appears you are missing the 
following plugins: org.eclipse.jdt.core, ..."
Comment 3 John Arthorne CLA 2001-11-08 12:28:17 EST

*** This bug has been marked as a duplicate of 3132 ***