Bug 199391 - no coded assist for dependent library classes
Summary: no coded assist for dependent library classes
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-09 06:32 EDT by Alexander Dima CLA
Modified: 2007-08-14 08:14 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Dima CLA 2007-08-09 06:32:00 EDT
For my project I need a library that at runtime depends on some other libraries. 

Incidentally I forgot to include those libraries, when I created the project.
While writing on some class, I couldn't get code assist for such a dependent class. The project had no signs of errors whatsoever (code or classpath).

To be concrete I was using a schema implementation of the apache xmlbeans for which you'd need some xmlbeans libraries.

Maybe there should be at least some message indicating the problem. Since everything works fine if you use methods of the dependent class - there's just no code assist.

(Of course at runtime you would get a NoClassDefFoundError, because of the missing declaration)
Comment 1 Martin Aeschlimann CLA 2007-08-14 05:50:48 EDT
So you want that the compiler warns if a library on the classpath references type that are not available on your build path.
That would be an optional warning as there are surely some setups where users remove some libraries if they are not used at runtime.
Comment 2 Alexander Dima CLA 2007-08-14 08:14:46 EDT
Actually what I want and what I initially expected is, that the code assist at least offers help as to the available methods of the class.