I am trying to define my own task and I get the above error when runnig the
build.
This is a part of my build.xml file with a task definition :
<taskdef name="sql-generate" classname="edu.ou.kmi.artemis.SQLGenerator">
<classpath>
<pathelement location="lib/Artemis.jar"/>
<pathelement location="lib/Apollo.jar"/>
</classpath>
</taskdef>
File Artemis.jar contains a definition of class SQLGenerator. Apollo.jar is
also needed for classes in Artemis.jar.
Without including classpath element I get a completely different message :
"taskdef class edu.ou.kmi.artemis.SQLGenerator cannot be found"
So I thought that this would finally work. It doesn't however, but I get a
different message now ( see subject ).
After running ant with -debug option I see that it stops in :
"at org.apache.tools.ant.Project.createTask(Project.java:1044)"
and nested exception in :
"at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)"
Any ideas ?
Using ant 1.5Beta1 with JDK 1.4 on Linux.
Cheers
Matt
--
Matt Koss
Knowledge Media Institute
Open University
e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>