| 
| [EUT] Class path list check [message #334142] | Wed, 21 January 2009 21:45 |  | 
| Eclipse User  |  |  |  |  | Hi 
 I am not sure if it's appropriate to post EUT related problem here.
 
 
 We are running EUT3.5 with a JVM and see some issues.
 Below code segments are common in EUT
 (org.eclipse.jdt.core.tests.builder) when build/configure a project.
 env.addExternalJars(projectPath, Util.getJavaClassLibs());
 This method adds the returned String of Util.getJavaClassLibs().
 
 In our case, Util.getJavaClassLibs() calls
 System.getProperty("vm.boot.class.path"). We can see some jar entries
 (there are also some other jars):
 ..\deploy\jdk\jre\lib\boot\xalan-j_2.7.0\xalan.jar,
 ..\deploy\jdk\jre\lib\boot\xalan-j_2.7.0\xml-apis.jar,
 ..\deploy\jdk\jre\lib\boot\xalan-j_2.7.0\xercesImpl.jar
 
 Below are the errors we met in classpath list checking of EUT:
 (1)       "Project is missing required library
 ..\deploy\jdk\jre\lib\boot\xalan-j_2.7.0\serializer.jar".
 Note: the name serializer.jar is extracted from the Class-Path info in the
 Manifest of xalan.jar. But actually serializer.jar is not used in normal
 situation, so it is not in the JVM¡¯s default release.
 Question: is it possible for EUT
 (org.eclipse.jdt.core.tests.builder.TestingEnvironment) to ignore the
 non-existing JAR file?
 
 (2)       "Build Path contains duplicate entry: ...\xml-apis.jar".
 Note: the duplication is resulted because the first occurrence extracted
 by EUT from the Class-Path info in the Manifest of the xalan.jar, which is
 set in bootclasspath of Harmony, while the second occurrence is directly
 read from the bootclasspath of Harmony.
 Question: is it possible for EUT
 (org.eclipse.jdt.core.tests.builder.TestingEnvironment) to extract the
 Class-Path info (in the Manifest) after adding all of the bootclasspath
 items?
 
 
 Your feedback and clarification are really appreciated and helpful.
 Thanks.
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.05868 seconds