Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » [EUT] Class path list check
[EUT] Class path list check [message #258933] Tue, 03 March 2009 10:15
Eclipse UserFriend
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.


Regards,
Yunan
Previous Topic:Confusing Compiler ErrorMessage since 3.4.2
Next Topic:How to reference plugin classes from project editor?
Goto Forum:
  


Current Time: Sat Apr 26 05:11:42 EDT 2025

Powered by FUDForum. Page generated in 0.03472 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top