Community
Participate
Working Groups
Build 20020205 Code assist doesn't look in class folders in referenced projects to find completions. To duplicate: 1. Create a project named "Temp" 2. Edit the Java build path for Temp: set "Use source folders contained in project" new source folder named "src" set output folder to "Temp/bin" 3. Create a package in Temp/src named "foo" 4. Create a class in foo named "FooBar" 5. Add the following method to FooBar public String getString() { return "hello world"; } 6. Create a Java project called "Binaries" 7. Edit the Java build path for Binaries: set "Use source folders contained in project" set the output directory to "Binaries/bin" 8. Create a new folder in Binaries named "classes" 9. Edit the Java build path for Binaries: classes -> class folder export the classes folder in the export tab 10. From the resources perspective, copy the Temp/bin/foo folder to the Binaries/classes folder. Binaries/classes should now contain a folder named foo and in the foo folder there should be a file named FooBar.class 11. Create a new Java project named "MyProject" 12. Edit the Java build path for MyProject: Add a dependency on the Binaries project 13. Create a new class in MyProject, "Foo" 14. Inside the class declaration of Foo type "FooBar" then hit Ctrl-Space. 15. Code complete rings the bell. It should bring up a popup showing FooBar.
moving to JDT Core for investigation
Verified this is fixed in 20020416. Closing.