Hi,
i�m developing EJB for JBOSS with Netbeans and XDoclet. With XDoclet 1.1
everything is okay. Now i want to upgrade to XDoclet 1.2Beta and inside
Netbeans my ANT-Script hangs. When i start the script outside Netbeans on
the commandline it works.
The error i get, is:
buildNB.xml [172] Can't create a dataobject element under ejbdoclet. Make
sure the jar file containing the corresponding subtask class is on the
classpath specified in the <taskdef> that defined {2}.
And here is my script:
<!-- J2EE classpath -->
<path id="j2ee-classpath">
<fileset dir="${jboss.home}">
<include name="client/*.jar"/>
<include name="lib/*.jar"/>
<include name="lib/ext/*.jar"/>
</fileset>
</path>
<!-- Ant classpath -->
<path id="ant-opt-classpath">
<fileset
dir="${netbeans.home}/modules/patches/org-apache-tools-ant-module">
<include name="*.jar"/>
</fileset>
<fileset dir="${netbeans.home}/modules/ext">
<include name="ant-*.jar"/>
</fileset>
</path>
<!-- XDoclet classpath -->
<path id="xdoclet-classpath">
<path refid="j2ee-classpath"/>
<path refid="ant-opt-classpath"/>
</path>
<target name="xdoclet-generate" depends="init">
<taskdef
name="ejbdoclet"
classname="xdoclet.modules.ejb.EjbDocletTask"
classpathref="xdoclet-classpath"
>
</taskdef>
<ejbdoclet
destdir="${generated.java.dir}"
excludedtags="@version,@author"
addedtags="@xdoclet-generated at ${TODAY}"
ejbspec="2.0"
>
<fileset dir="${src.dir}">
Did anyone have an idea, what went wrong?
Regards,
Stefan
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user