On Thu, 2003-06-05 at 19:57, Bruyn, Bill wrote:
> Hello, list.  I have a simple little class that I'm trying to use to get
> started with XDoclet, but my ejb-jar.xml turns up empty (except for the
> generated placeholders) and I can't seem to generate interfaces.  I've tried
> a few variations of the attached, and nothing seems to work.  What am I not
> doing?
...
>     <ejbdoclet ejbspec="2.0" 
>                force="true"
>                verbose="true" 
>                destDir="../com/avnet/sbs/randa/cmp">
>       
>       <fileset dir="../com/avnet/sbs/randa/cmp">
>         <include name="**/*Bean.java"/>
>       </fileset>

Use <fileset dir="..">
You need the fileset to be rooted at the root of the package hierarchy.

>       
>       <localinterface destdir="../com/avnet/sbs/randa/cmp"/>
>       <localhomeinterface destdir="../com/avnet/sbs/randa/cmp"/>

Likewise, just use destdir=".."; it'll generate stuff into
subdirectories in the package hierarchy automatically.


Andrew.



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to