Bug 165776 - No content assist and F3 or link on classes in java editor with EAR library
Summary: No content assist and F3 or link on classes in java editor with EAR library
Status: NEW
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Carl Anderson CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-24 08:24 EST by Achim Hanke CLA
Modified: 2007-02-19 10:25 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 Achim Hanke CLA 2006-11-24 08:24:14 EST
The problem occurs with Eclipse 3.2.1 and WTP 1.5.2 (and 1.5.1, by the way). 
The contents of my workspace is: one EAR project, some utility java projects (with source) and some utility java projects as binary projects. Binary projects are simple java projects, that have no sources, no source folder and no output folder, but instead a library with compiled contents; in the file .classpath of the binary project is an entry like 
<classpathentry path="MyProject.jar" exported="true" kind="lib" />.
In the ear project some projects are checked in the J2EE-Module Dependencies, and these modules are also checked in the J2EE-Module Dependencies of the utility java projects (with source). When the same utility java project (with source) uses the binary projects, the problem occurs. The problem disappears when I uncheck the J2EE-Module Dependencies, when I delete the binary project from the classpath or when I convert the binary project to a source project. 

To give you a better understanding, here an example (Bin means binary project, Src means source project, EAR is an Enterprise Project):

MyEAR is my Enterprise Project and contains J2EE-Module Dependencies to three source projects Src1, Src2, Src3.
In Src1 I have an J2EE-Module Dependency to Src2 and in the classpath project Bin1 is used.
In Src2 I have an J2EE-Module Dependency to Src3 and in the classpath projects Bin1, Bin2, Bin3, Bin4 are used.
In Src3 there are only classpath entries to projects Bin3 and Bin4.

The problem itself shows like this: there is no F3 (Strg+Click) support for some classes in the utility java project (named Src1). The hyperlink underline does not appear and the F3 click doesn't do anything. In my example I can not go to BigDecimal or String in the source-code, but it works for my own classes and (surprisingly) in the import section of a class. 

Any help appreciated,

Thanks 

Achim
Comment 1 Chuck Bridgham CLA 2006-12-01 09:24:41 EST
Charles, please investigate these defects
Comment 2 Achim Hanke CLA 2007-01-04 07:10:11 EST
(In reply to comment #1)
> Charles, please investigate these defects

Hi Charles, 

did you find any solution to my problem ?

I appreciate any help !!!

Achim
Comment 3 Chuck Bridgham CLA 2007-02-19 10:25:09 EST
Re-assigning owner for now....