OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Xincludes (OS X) resolved

Hi list,

just thought I'd pass on the info, incase anyone in the future  
working on OS X has similar problems. Firstly I compiled Xerces and  
Xalan from source as I was getting a  
"java.lang.NoSuchMethodError" (see: http://www.docjar.com/docs/api/ 
java/lang/NoSuchMethodError.html) error which on the surface seemed  
to be an incompatible binary versions.

This threw the first problem on the OS X, the OS X JDK does not  
include a tools.jar, this will cause ANT to throw an error when  
trying to compile Xerces. For some reason it's been renamed  
classes.jar so the following symlink will fix the problem:

% cd /System/Library/Frameworks/JavaVM.framework/Home/lib
% ln -s ../../Classes/classes.jar tools.jar

So you should end up with "tools.jar -> ../../Classes/classes.jar".  
ANT will now compile Xerces, Xalan, etc...

Lastly the following should also be added to you classpath:


Along with:


The rest of the process involves following Bob Stayton's most  
excellent documantation on Xincludes [http://www.sagehill.net/ 

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]