Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [EUT] Class path list check
[EUT] Class path list check [message #334142] Thu, 22 January 2009 02:45
Yunan, He is currently offline Yunan, HeFriend
Messages: 4
Registered: July 2009
Junior Member
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.
Previous Topic:Login and then load plugins based on permissions.
Next Topic:Individual Source Bundle
Goto Forum:
  


Current Time: Wed Jul 17 19:40:18 GMT 2024

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

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

Back to the top