ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Pawson" <dave.paw...@gmail.com>
Subject taskdef problem
Date Mon, 26 May 2008 09:51:20 GMT
I'm trying to use taskdef (and failing)

 <!-- ================================================ -->
 <!--  (Validate using Jing task) -->
 <!-- ================================================ -->
<path id="jing.classpath">
  <pathelement path="/myjava/jing.jar"/>
</path>
<taskdef name="jing" classname="com.thaiopensource.relaxng.util.JingTask"
	  classpathref="jing.classpath"/>

 <target name="jing"  description="Validate xincluded file">
   <jing rngfile="${docbook5.home}/rng/docbook.rng"
	 checkid="false"
	 file="nvdlschema.xml"/>
 </target>


If I put the jing.jar file in the ant library it works fine
If I use the taskdef above, specifying a classpathref to the jar, it fails

Any suggestions why please?

regards


-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message