Hmm, having the remote and home interfaces being generated at least
tells you it's not the fileset. The only thing I know of that stops them
going into the descriptor is if "generate" is set to "false" which I
assume you would have noticed if you had it in the tags.

In my case, I have my beans segregated by type into three directories:

  dd.ejb.entity.identity
  dd.ejb.session.identity
  dd.ejb.message.identity

They all get processed together and end up in the deployment descriptor,
except BaseEJB -- my base entity bean -- which gets processed but
doesn't go into the descriptors.

Can you include the class tags for the beans?

David Harkness
Sony Pictures Digital Networks
(310) 482-4756

-----Original Message-----
From: Mich F [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 29, 2003 2:55 PM
To: [EMAIL PROTECTED]
Subject: RE: [Xdoclet-user] How to include beans in different
sub-directory into one deployment descriptor?


Sorry, guys. The target defined is as follows. It creates remote/home
interfaces for all beans, but only beans under main 'test' directory
were in the descriptors.

Thanks for all your help.

===============================================================
  <ejbdoclet destdir="${bean.src.dir}" ejbspec="2.0"
force="${bean.xdoclet.force}" verbose="false">
   <fileset dir="${bean.src.dir}">
    <include name="test/*Bean.java"/>
    <include name="test/sub1/*Bean.java"/>
    <include name="test/sub2/*Bean.java"/>
   </fileset>
   <remoteinterface/>
   <homeinterface/>
   <deploymentdescriptor destdir="test/META-INF" validatexml="true"
description="EJBs"/>
   <jboss version="3.0" xmlencoding="UTF-8" destdir="test/META-INF"
validatexml="false"/>
  </ejbdoclet>

"Harkness, David" <[EMAIL PROTECTED]> wrote:
Hiya Michelle,

I can only guess without code snippets from your build.xml and bean
sources. Did you accidentally specify ``generate="false"'' in the other
two beans? Are you *sure* they are being included in the fileset? What
does the directory structure look like? Are you using
``include="**/*.java"'' to search subdirectories? Did you eat steamed
carrots last night for dinner??

This is very important information that will help us help you. :)

Ciao!

David Harkness
Sony Pictures Digital Networks
(310) 482-4756

-----Original Message-----
From: Mich F [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 29, 2003 2:17 PM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] How to include beans in different sub-directory
into one deployment descriptor?


Hi, there,
I have 3 beans in different sub-directories, and I include all of them
in fileset, but only the bean under main directory is included in the
descriptors. How to include all of them there? Did I miss something?
Thanks,
Michelle


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to