ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: taskdef, class not found
Date Tue, 14 Mar 2006 09:07:26 GMT
Maybe a problem with the batik task. You could try contacting their mailing list ... or live
with <java> ;-)

Jan 

>-----Ursprüngliche Nachricht-----
>Von: François [mailto:francois.x.hetu@gmail.com] 
>Gesendet: Dienstag, 14. März 2006 09:54
>An: 'Ant Users List'
>Betreff: RE: taskdef, class not found
>
>Thanks,
>
>I did follow the directives in [3], but it lead to multiple failures.
>
>Went with a java task with all args necessary, using the 
>rasterizer jar, and all went fine.
>
>F. 
>
>-----Message d'origine-----
>De : Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
>Envoyé : 14 mars 2006 03:48
>À : user@ant.apache.org
>Objet : AW: taskdef, class not found
>
>The classname you provided sounds like one of Ant's, because 
>Ant uses org.apache.tools.ant as main package. But the default 
>file for taskdefs [1] does not list that class. And there is 
>no such class in the repo [2].
>So this class is to be declared as other external tasks: 
>taskdef or xmlns (with all needed jars on the classpath, e.g.
>-lib specified).
>Therefore a look into its docu [3] would be helpful.
>
>
>Jan
>
>[1]
>http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apa
>che/tools
>/ant/taskdefs/defaults.properties
>[2]
>http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apa
>che/tools
>/ant/taskdefs/optional/
>[3] http://xmlgraphics.apache.org/batik/svgrasterizer.html#task
>
>
>
>>You mean to say that the Batik task is an optional task?  I 
>did look in 
>>the Ant documentation, but it was not listed in the op. tasks list.
>>
>>> <taskdef name="rasterize"
>>> classname="org.apache.tools.ant.taskdefs.optional.RasterizerTask" />
>>
>>This is not necessary. It's implicitly done by Ant, for all
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
>additional commands, e-mail: user-help@ant.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
>additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message