[EUT] Class path list check [message #334142] |
Thu, 22 January 2009 02:45 |
Yunan, He![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=yunan.he%40intel.com) 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.
|
|
|
Powered by
FUDForum. Page generated in 0.03040 seconds