Are you using the default jdk parser? I don't really know if there is some
commonly accepted method for doing it, but I have this in my ant build.xml:

<jar destfile="dist/templ-0.1.jar" basedir="build">
 <zipfileset src="lib/log4j-1.2.13.jar"/>
 <zipfileset src="lib/xercesImpl.jar"/>
 <manifest>
   <attribute name="Built-By" value="${user.name}"/>
   <attribute name="Main-Class" value="org.himinbi.templ.HooksProcessor"/>
 </manifest>
</jar>

This sticks the xerces classes in the jar with my classes. I think though
that you can just include xercesImpl.jar in the classpath. (I started this a
week ago and am still learning myself.)

On 2/25/07, Mike O'Leary <[EMAIL PROTECTED]> wrote:

 When I try this, I get an error that says:

javax.xml.parsers.ParserConfigurationException:
jaxp_feature_not_supported: Feature "
http://xml.org/sax/features/use-entity-resolver2"; is not supported.

What am I doing wrong?

Mike

Reply via email to