Summary: | Classes at root of project not found in Open Type dialog | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Wassim Melhem <wassim.melhem> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Wassim Melhem
2005-01-27 08:09:09 EST
Thanks Wassim. I was able to reproduce and I will investigate. Test case not depending on PDE UI: 1. Create a Java project Test. 2. Edit its .classpath: <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="lib" path=""/> <classpathentry kind="output" path="bin"/> </classpath> 3. Create folder /Test/p 4. Add valid .class file /Test/p/X.class 5. Close/reopen Test Observe: Open Type doesn't find X We were not indexing a library folder if it was the project. Fixed IndexBinaryFolder to use an IContainer instead of an IFolder. And fixed IndexManager#indexLibrary(...) to request the indexing if the target is an IContainer. Added regression test SearchTests#testProjectLib() |