I realize this isn't an ant list...but I thought someone may have encountered this:

-----------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<project name="axis" basedir="." default="init">
    <taskdef resource="axis-tasks.properties"/>
</project>

BUILD FAILED
build.xml:3: taskdef class org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask cannot be 
found

If I have ant dump it's classpath prior to execution...the axis-ant.jar is clearly in 
the task path:

LOCAL CLASSPATH=c:\devtools\jakarta-ant-1.5.1\lib\xml-apis.jar;c:\devtools\jakar
ta-ant-1.5.1\lib\xercesImpl.jar;c:\devtools\jakarta-ant-1.5.1\lib\optional.jar;c
:\devtools\jakarta-ant-1.5.1\lib\ant.jar;c:\devtools\axis-1_1beta\lib\axis-ant.jar
-----------------------------------------------------

Perhaps I'm using the taskdef wrong??  If I specify the classpath in the task and 
remove it 
from ant's classpath I see the same issue.   It's finding the properties file...just 
not finding
the associated classes.

-----------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<project name="axis" basedir="." default="init">
    <taskdef resource="axis-tasks.properties" 
classpath="C:/DEVTOOLS/axis-1_1beta/lib/axis-ant.jar"/>
</project>

BUILD FAILED
build.xml:3: taskdef class org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask cannot be 
found

LOCAL CLASSPATH=c:\devtools\jakarta-ant-1.5.1\lib\xml-apis.jar;c:\devtools\jakar
ta-ant-1.5.1\lib\xercesImpl.jar;c:\devtools\jakarta-ant-1.5.1\lib\optional.jar;c
:\devtools\jakarta-ant-1.5.1\lib\ant.jar;
-----------------------------------------------------

Cory


Reply via email to