On Thu, 9 Feb 2006, Thomas SMETS <[EMAIL PROTECTED]> wrote: > <taskdef name="jblanket" > classname="csdl.jblanket.ant.JBlanketModifyTask"> > <path refid="jblanket.path" /> > </taskdef> > > BUILD FAILED /home/tsmets/workspace/CodeCoverage/JBlanket.xml:24: > The <taskdef> type doesn't support the nested "path" element.
The element's name is <classpath>, not <path>. > If I defined the task as such : > > <taskdef name="jblanket" > classname="csdl.jblanket.ant.JBlanketModifyTask" > classpathref="jblanket.path" loaderref="lib.path.loader"/> > > I have this : BUILD FAILED > /home/tsmets/workspace/CodeCoverage/JBlanket.xml:26: taskdef class > csdl.jblanket.ant.JBlanketModifyTask cannot be found Run ant -debug to see which class ant ries to load using which classloader, at the end you may find that you either don't have all the jars you need or Ant is trying to load a class from to high in the classloader hierarchy to find the class. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
