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: Error: Failed to create task or type schemavalidate
Date Mon, 21 Jan 2008 11:23:23 GMT
There is a mapping file mapping the taskname to its classname:
	ANT_HOME\lib\ant.jar ! org\apache\tools\ant\taskdefs\defaults.properties

With the resulting class you have to search in the jars
	schemavalidate=org.apache.tools.ant.taskdefs.optional.SchemaValidate

If you know dependencies you could directly look into ant-<dependencyname>.jar
	http://ant.apache.org/manual/install.html#librarydependencies 

Here it is in the ant-nodeps.jar.


But you only need that information if you want to access the class from your java code.
For just using in the buildfile no extra work is needed, just use <schemavalidate>.


Jan
	

> -----Urspr√ľngliche Nachricht-----
> Von: news [mailto:news@ger.gmane.org] Im Auftrag von Andreas Hartmann
> Gesendet: Montag, 21. Januar 2008 11:11
> An: user@ant.apache.org
> Betreff: Error: Failed to create task or type schemavalidate
> 
> Dear Ant community,
> 
> I'd like to use the <schemavalidate> task with the binary 
> distribution. 
> What's the name of the JAR file it is located in, and where 
> do I find it?
> 
> Thanks a lot in advance!
> 
> -- Andreas
> 
> 
> -- 
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
> 
> 
> ---------------------------------------------------------------------
> 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