hi,

the same problem:

/home/gama/prog/java/jboss/build.xml:56: taskdef class
xdoclet.ejb.EjbDocletTask cannot be found

something does goes wrong with ant. ant can't find the class, but the
file xdoclet.jar exists and it is the correct classpath... ;(

markus

* kiuma <[EMAIL PROTECTED]> [2002-10-08 15:37]:
> in build.xml
> 
> 
> <target depends="init" name="xdoclet-generate">
>      <taskdef classname="xdoclet.modules.ejb.EjbDocletTask" 
> name="ejbdoclet">
>         <classpath refid="base.path"/>
>      </taskdef>
>         
>      <taskdef classname="xdoclet.modules.web.WebDocletTask" 
> name="webdoclet">
>         <classpath refid="base.path"/>
>      </taskdef>
>     
>      <ejbdoclet destdir="${build.generate.dir}" 
> ejbspec="${ejb.version}" excludedtags="@version,@author" 
> force="${xdoclet.force}"
>        mergedir="${src.resources.dir}/xdoclet">
>         <fileset dir="${src.ejb.dir}">
>            <include name="**/*Bean.java"/>
>         </fileset>
>        
>         <packageSubstitution packages="session,entity" 
> substituteWith="interfaces"/>
>         <dataobject/>
>         <localinterface/>
>         <localhomeinterface/>
>         <remoteinterface/>
>         <homeinterface/>
>         <entitypk/>
>         <entitybmp/>
>         <entitycmp/>
>         <deploymentdescriptor destdir="${build.dir}/META-INF"/>
>         <!-- AS 4/29/02 Do not validate XML files because JBoss 3.0 
> message driven will
>              report an wrong error because it uses the wrong jboss.dtd -->
>         <jboss datasource="${datasource.name}" 
> destdir="${build.dir}/META-INF" typemapping="${type.mapping}" 
> unauthenticatedPrincipal="${jboss.guest}" validateXml="false" 
> version="${jboss.version}" xmlencoding="UTF-8"/>
>      </ejbdoclet>
> </target>
> 
> Markus Garscha wrote:
> 
> >Hi!
> >
> >ok, i included an echo tag. i got the following output:
> >
> >Buildfile: build.xml
> >
> >init:
> >    [echo]
> 
>>classpath=/usr/share/ant/lib/ant.jar:/home/gama/prog/java/jboss/lib/xdoclet.jar:/home/gama/prog/java/jboss/lib/log4j.jar
> >
> >xdoclet:
> >
> >BUILD FAILED
> >
> >/home/gama/prog/java/jboss/build.xml:56: taskdef class
> >xdoclet.ejb.EjbDocletTask cannot be found
> >
> >Total time: 2 seconds
> >
> >thanx
> >markus
> >
> >
> >* Jon Haugsand <[EMAIL PROTECTED]> [2002-10-08 12:39]:
> >
> >>* Markus Garscha
> >>
> >>>Hi!
> >>>
> >>>what's wrong? 
> >>>-------------------------------8<--------------------------
> >>>gama@ws:~/prog/java/jboss$ ant xdoclet
> >>>Buildfile: build.xml
> >>>
> >>>init:
> >>>
> >>>xdoclet:
> >>>
> >>>BUILD FAILED
> >>>
> >>>/home/gama/prog/java/jboss/build.xml:54: taskdef class
> >>>xdoclet.ejb.EjbDocletTask cannot be found
> >>>  <!-- EJB XDoclet -->
> >>>  <target name="xdoclet" depends="init">
> >>>    <taskdef name="xdoclet" classname="xdoclet.ejb.EjbDocletTask" 
> >>>    classpath="${xdoclet.classpath}"/>
> >>>


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to