Bug#240245: NoClassDefFoundError: org/xml/sax/SAXException

Arnaud Vandyck Arnaud Vandyck <avdyk@debian.org>, 240245@bugs.debian.org
Fri Mar 26 08:25:01 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stefan Gybas <sgybas@debian.org> writes:

> Jan Schulz wrote:
>
>> I guess that ant isn't adding any XML jar because "everybody" is using a
>> 1.4 JDK...
>
> Your guess that Ant isn't adding an XML parser is correct but the reason
> is that I don't want to make the choice for the users: Some users might
> have an included XML parser (JDK 1.4+, free JVMs based on recent GNU
> classpatrh versions), other might want to use a different one than my
> preference (Xerces).
>
> But I think I have to change this. Ant will otherwise violate the Debian
> Policy because it does not work without setting CLASSPATH in some
> cases. :-(

Isn't Xerces2 in main? Maybe you can add xercesImpl and the jaxp api at
the end of the CLASSPATH when running ant?

- -- 
  .''`. 
 : :' :rnaud
 `. `'  
   `-    
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAZEeq4vzFZu62tMIRAu20AKClfSQIzdnJzhJu0OGxtLPZXprPMACgtMs+
9KlgyaVIAVs3P7kFYaPXTNA=
=39dp
-----END PGP SIGNATURE-----