ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Everitt, Andrew" <Andrew.Ever...@gbr.xerox.com>
Subject RE: proposed patch for ant to use xerces/jaxp
Date Mon, 16 Oct 2000 08:57:18 GMT
I would not be in favor of this as xerces.jar is much bigger than parser.jar
and anyway why fix something that works?

Just my 2p,
Andi.
____________________
Andrew Everitt
Xerox Mobile Solutions, Cambridge. UK 

> -----Original Message-----
> From: Gábor Lipták [mailto:gaborliptak@usa.net]
> Sent: 13 October 2000 18:22
> To: ant-dev@jakarta.apache.org
> Subject: proposed patch for ant to use xerces/jaxp
> 
> 
> This will make ant use xerces/jaxp
> 
> Index: src/main/org/apache/tools/ant/ProjectHelper.java
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/Proj
> ectHelper.java
> ,v
> retrieving revision 1.33
> diff -c -r1.33 ProjectHelper.java
> *** src/main/org/apache/tools/ant/ProjectHelper.java    
> 2000/10/06 07:35:54
> 1.33
> --- src/main/org/apache/tools/ant/ProjectHelper.java    
> 2000/10/13 15:17:59
> ***************
> *** 608,613 ****
> --- 608,614 ----
> 
>       private static SAXParserFactory getParserFactory() {
>           if (parserFactory == null) {
> +             System.setProperty("javax.xml.parsers.SAXParserFactory",
> "org.apache.xerces.jaxp.SAXParserFactoryImpl");
>               parserFactory = SAXParserFactory.newInstance();
>           }
> 
> At the same time maybe lib/jaxp.jar and lib/xerces.jar could 
> be checked into
> CVS to make bootstrap.sh standalone.
> 
> Thanks
> 
> 

Mime
View raw message