Community
Participate
Working Groups
Build: I-20050126 1. Fresh workspace. 2. Extract the zip from bug 64340 comment 5 onto an arbitrary directory (e.g D:/Temp) 3. On the first page of the plugin import wizard, set the import location to be D:/Temp/plugins 4. on the second page, you will see a single plugin. Import it. 5. The end result would be a project with two packages at its root, with each package containing a single class. 6. bring up the open type dialog. Neither type from 5 shows up in it.
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()
Verified in I20050214-0927 SearchTests#testProjectLib() has problems unrelated with this bug (see bug 84164)