ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: please update the next release of Ant 1.7 to Xerces 2.9.0
Date Fri, 22 Dec 2006 21:58:50 GMT
Jacob Kjome wrote:

>  >>> Incidentally, does xerces now depend on this serializer.jar? That is,
>  >>> does it need to be included in the distro? Or are its classes merged
>  >>> into xerces and xalan? These are the kind of thing we need to 
> understand
>  >>> before we ship
>  >>>
>  >>
>  >> No, there's no dependency in Xerces.  It's loaded via reflection by
>  >Xerces.  But
>  >> they have deprecated their native serializer classes in favor of the
>  >shared one
>  >> provided by the Xalan team.  If serializer.jar is in the path, it
>  >will be used.
>  >>  If not, the deprecated Xerces native serialization will be used
>  >(assuming one
>  >> isn't directly referencing the Xerces native serializer API rather than
>  >> properly using the interfaces, such as JAXP or DOM3LS).  I'm not 
> clear on
>  >> whether the same will be true for the next Xalan release (2.7.1, I
>  >think [1])?
>  >> They may actually depend directly on serializer.jar (or maybe they'll
>  >> incorporate it within xalan.jar?).  I guess we'll find out when they 
> make the
>  >> release official.
>  >>
>  >> Jake
>  >>
>  >> [1]
>  >
>  >OK. So we ought to hold off to see what xalan does. if they build it in,
>  >it should be the only copy on the classpath to avoid version problems
>  >
> Makes sense.  Just to be clear, are you saying that you would include 
> serializer.jar in Ant's lib directory if Xalan doesn't ship with it 
> included in their jar, but not include serializer.jar in Ant's lib 
> directory if Xalan does include it in their jar, even though Ant doesn't 
> ship Xalan?  Hmm... I might alert the Xalan team to this.  I suspect 
> this might more than just an Ant-specific concern.  I'll report back 
> with any information I find.

Ah. Ant1.7 has an xml file, fetch.xml, that can pull down extra 
artifacts from the maven 2 repository. Unless the xalan dependency asks 
for serializer.jar, then we'd have to modify that file to pull it down. 
We could also bundle it with xerces if that would help ant :)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message