Bug 3189 - JavaBuilder - Missing libraries results in insufficient dependency info (1FWYERT)
Summary: JavaBuilder - Missing libraries results in insufficient dependency info (1FWY...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:50 EDT by Nick Edgar CLA
Modified: 2002-01-14 11:08 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 Nick Edgar CLA 2001-10-10 22:50:59 EDT
While trying to reproduce 1FWSFNS: ITPJCORE:WIN98 - Assertion Failed in javamodel,
I did the following:

- load RemoteJUnitRunner solution from hydrogen
- it builds
- result is one error in junit.servletui/HTMLWriter.java
  due to missing java.lang.Object
- add rt.jar to class path
- it rebuilds only HTMLWriter.java, producing HTMLWriter.class
- no other .java files are compiled

This is because the compiler aborted early when it detected the missing expected library class.
Only HTMLWriter came back as a result (with proper dependencies).
Since the builder doesn't have dependencies for the other units, it can't know to recompile them
when the missing packages are added.

NOTES:

PM (6/22/00 2:50:16 PM)
	The builder should know it has no build state for the other units.

NE (6/22/00 4:32:55 PM)
	It does, but it can't necessarily act on this knowledge.
	It doesn't know whether the change may fix the problem.
	The only alternative is for it to try recompiling every compilation unit with no dependency info
	every time there is a change, which would be expensive and may not actually fix the problem.
Comment 1 DJ Houghton CLA 2001-10-23 23:51:04 EDT
PRODUCT VERSION:
029 in VA/Java

Comment 2 Kent Johnson CLA 2001-12-10 15:23:51 EST
Closed - not reproducable with new builder.

The new builder rebuilds the project whenever the classpath is changed.