I am having troubles using the axis-wsdl2java ant task. I have the following in my 
build.xml file:

                <path id="axis.classpath">
                        <fileset dir="${axis.home}/lib">
                        <include name="**/*.jar" />
                        </fileset>
                </path>

                <taskdef resource="axis-tasks.properties"
                        classpathref="axis.classpath" />

But when running the task, ant fails with the following error:

     [taskdef] Loading definitions from resource axis-tasks.properties
     [taskdef] BUILD FAILED: 
file:D:/eclipse/workspace/gardskartservlet/build/build.xml:67: taskdef class 
org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask cannot be found

I have tried various approaches to solve this, but the class Wsdl2javaAntTask is never 
found (Java2WsdlAntTask is btw).
I am using ant 1.5.1 compiled on October 2 2002, ant axis-1_1.

I wonder if someone can tell me what I can do?

Per Henrik

--
Per Henrik Johansen

Reply via email to