Apache OpenOffice (AOO) Bugzilla – Issue 38324
Adding of new JARs to SystemClasspath of javaini /rc
Last modified: 2005-06-30 12:57:45 UTC
To enable the usage of the Apache XSLT processor 'Xalan' with SO7, three of it's JARs have to be added to the 'SystemClasspath' of the javaini/rc file. The approach of using the 'Class-path' manifest entry to load the requrired JARs - as done in SO8 - does not work as we are using our own classloader. Obviously the javaini/rc file consists of two parts. The first part after the [Install] tag is being copied by scp/source/office/files.scp. The latter [Java] part is most probably being added during run-time. In setup2/source/custom/jvmsetup/jvmsetup.cxx, the 'AdditionalClasspath' of the scp created [Install] part is being copied to 'SystemClasspath' . But the fast forward approach, the copying of Classpath related parts of files.scp to scp_so/source/productpatch/productpatch.scp does not work out in the installation. Obviously some debugging is necessary. Joachim Lingner, Ingo Schmidt and Dirk Voelzke gave good hints, but none could exactly tell how the task can be accomplished. The responsible developer Markus Herzog had left the company some time ago and the classpath handling had already changed in SO8.
Adapt target to OOo1.1.5
Adapting the javarc/ini file by using the script particle project does not work out. Ingo Schmidt agreed that a small C++ programm called at the end of setup (Custom Action), which parses and add the needed classpath to the file would be the best solution. This task should be addressed to someone with C++ developing environment, for whom such a task is common daily work.
SUS->LLA: Reassigned as discussed
We will add the new jar entries with a simple basic procedure, which will run at patch time.
fixed
Ready for QA re-open issue and reassign to jsi@openoffice.org
reassign to jsi@openoffice.org
reset resolution to FIXED
javarc now includes xalan.jar classpath as additional class.
done