ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thierry Rietsch <>
Subject Class not found in taskdef
Date Sun, 20 Aug 2006 14:52:00 GMT
Hi all

I like to run the tool from the build.xml. For
that I defined a taskdef in my build.xml:

<taskdef name="wsgen" classname="">
	<classpath path="wsgen.classpath" />

and the related classpath:

<path id="wsgen.classpath">
	<pathelement location="${java.home}/lib/tools.jar" />
	<pathelement location="${java.jaxws.home}/lib/jaxws-tools.jar" />

The java.home and java.jaxws.home properties are set.

When I try now to run ant with this build file, I get an the following

taskdef class cannot be found

On command line I could run:
java -cp

It works. From that I think I've included all necessary libraries in the
wsgen.classpath. It looks for me, that ant is ignoring the wsgen.classpath.

Could anyone help me?

Thanks a lot


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message