mrglavas    2004/01/19 12:22:54

  Modified:    java/tools/src XJavac.java
  Log:
  Fixing Bug #24753. Patch submitted by Alex Milowski.
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24753
  
  Allow Xerces to be built on Mac OS X with Apple JDK 1.4.
  
  Revision  Changes    Path
  1.5       +4 -3      xml-xerces/java/tools/src/XJavac.java
  
  Index: XJavac.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/tools/src/XJavac.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XJavac.java       7 Nov 2003 23:14:01 -0000       1.4
  +++ XJavac.java       19 Jan 2004 20:22:54 -0000      1.5
  @@ -1,7 +1,7 @@
   /*
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2001-2003 The Apache Software Foundation.  All rights
  + * Copyright (c) 2001-2004 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -131,9 +131,10 @@
                   setBootclasspath(bcp);
               }
               // need to do special things for Sun too and also
  -            // for Blackdown: a Linux port of Sun Java
  +            // for Apple and Blackdown: a Linux port of Sun Java
               else if( (vendor.indexOf("SUN") >= 0) || 
  -                     (vendor.indexOf("BLACKDOWN") >= 0) ) {
  +                     (vendor.indexOf("BLACKDOWN") >= 0) || 
  +                     (vendor.indexOf("APPLE") >= 0) ) {
                   // we're on an SUN 1.4; fiddle with the bootclasspath.
                   // since we can't eviscerate XML-related info here,
                   // we must use the classpath
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to