> I've tried to follow your explanation but have had no luck.
> I've removed the lines in the template file ejb-jar_xml.j such as:
> 
> <XDoclet:forAllClasses type="javax.ejb.SessionBean">
> 
> 
> The relevant part of the ant script that I'm using is below:
> 
>            <ejbdoclet
> 
>            sourcepath="${src.dir}"
>            destdir="${generated.dir}/ejb"
>            classpathref="project.class.path"
>            excludedtags="@version,@author"
>            ejbspec="2.0">
>                 <fileset dir="${src.dir}">
>                    <include name="**/*Bean.java" />
>                 </fileset>
>            <dataobject/>
>            <remoteinterface/>
>            <localinterface/>
>            <homeinterface/>
>            <localhomeinterface/>
>            <entitypk/>
>            <entitycmp/>
>            <deploymentdescriptor destdir="{0}-ejb-jar.xml"/>
>            <weblogic xmlencoding="UTF-8" destdir="{0}-ejb-jar.xml"
> validatexml="true"/>
> 
>            </ejbdoclet>
> 
> This doesn't have the desired results unfortunately. Am I using the
'{0}'
> correctly?

No, you're using destdir, but you should use destinationFile.
<deploymentdescriptor destinationFile="{0}-ejb-jar.xml"/>

Ara.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to