Community
Participate
Working Groups
Code assist does not work in the following test case. When you hit ctrl-space, no options appear. Steps to Reproduce: 1. create a java project 2. import the following java class 3. import the external jars cm.jar and j2ee.jar into the project. 4. type "ds." ctrl-space, nothing comes up. package Test; import com.ibm.websphere.advanced.cm.factory.*; import javax.sql.*; public class test1 { public static void main(String[] args) throws Exception { DataSourceFactory ds = new DataSourceFactory(); // The getDataSource can't be use with code completion but can be written manually. // type ds. ctrl-space here - looking for ds.getDataSource(new java.util.Properties()); } }
Created attachment 218 [details] zip file contains 2 jar files to import
Further testing shows Attributes a = new Attributes(); // a. ctrl-space works here... another class from DataSourceFactory's package CMFactoryException cmf = new CMFactoryException(); // cmf. ctrl-space works here... another class from DataSourceFactory's package
moving to JDT CORE for investigation
Please investigate in 2.0 builds.
Fixed in Stream 2.0 See bug <a http://dev.eclipse.org/bugs/show_bug.cgi?id=7119> The type of tc (a private field of DataSourceFactory) is not in the classpath. This type is com.ibm.ejs.ras.TraceComponent.