You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/11/17 16:43:37 UTC

DO NOT REPLY [Bug 24753] New: - Build Fails on Mac OS X for JDK 1.4.1

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24753>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24753

Build Fails on Mac OS X for JDK 1.4.1

           Summary: Build Fails on Mac OS X for JDK 1.4.1
           Product: Xerces2-J
           Version: 2.5.0
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: DOM
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: alex@milowski.com


It seems as if the java vendor isn't recognized as it should be to tweak the
the classpath.  I found that if I changed java/tools/src/XJavac.java to 
include "APPLE" in amongst "SUN" and "BLACKDOWN", everything compiles find.
I think this should be added by default as the JDK from Apple is a
re-packaged SUN variant.

Here is the CVS diff for the working version:

Index: XJavac.java
===================================================================
RCS file: /home/cvspublic/xml-xerces/java/tools/src/XJavac.java,v
retrieving revision 1.4
diff -r1.4 XJavac.java
136c136,137
<                      (vendor.indexOf("BLACKDOWN") >= 0) ) {
---
>                      (vendor.indexOf("BLACKDOWN") >= 0) ||
>                      (vendor.indexOf("APPLE") >= 0) ) {

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org