A wise old hermit known only as =?iso-8859-1?q?joel=20cordonnier?=
<[EMAIL PROTECTED]> once said:
> Hi !
>
> Is it possible to control the generation of the Home
> and/or the remote interface ?
Yes. See the various options for the @ejb:home and @ejb:interface
class-level tags in the docs.
> Because my Xdoclet output is:
>
> [ejbdoclet] Generating Javadoc
> [ejbdoclet] Javadoc execution
> [ejbdoclet] Loading source file
> C:\Daten\Joel\wearix\src\de\wearix\users\ejb\UserBean.java...
> [ejbdoclet] Constructing Javadoc information...
> [ejbdoclet] javadoc: warning - Import not found:
> de.wearix.groups.ejb.GroupHome - ignoring!
GroupHome? Do you also have a GroupBean? Only UserBean was loaded above,
so I'd have expected the Home interface to be UserHome. Assuming
GroupHome is another bean that's been done separately, is that actually
where the GroupHome interface is? Further down, you reference it as
de.wearix.groups.interfaces.GroupHome...
> [ejbdoclet] javadoc: warning - Cannot find class
> de.wearix.users.ejb.UserData
> [ejbdoclet] javadoc: warning - Cannot find class
> de.wearix.users.ejb.UserPK
Since you've got the beans in an *.ejb package, by default xdoclet will
try to generate these (and the User remote/home interfaces) in a package
*.interfaces (de.wearix.users.interfaces in your case).
> [ejbdoclet] javadoc: warning - Cannot find class
> de.wearix.users.ejb.Group
Should be de.wearix.groups.interfaces.Group?
> [ejbdoclet] javadoc: warning - Cannot find class
> de.wearix.users.ejb.MutableUserModel
> [ejbdoclet] javadoc: warning - Cannot find class
> de.wearix.groups.interfaces.GroupHome
That one actually looks like I'd expect. I assume the package names are
correct (e.g. it's not 'group' rather than 'groups'?)
> [ejbdoclet] Create Home Interface for:
> de.wearix.users.ejb.UserBean
> [ejbdoclet] log4j:ERROR No appenders could be found
> for category (xdoclet.SubTask.getParameterValue).
> [ejbdoclet] log4j:ERROR Please initialize the log4j
> system properly.
Ignore this error; it's just due to not finding the log4j.properties file,
but doesn't do any harm.
> [ejbdoclet] Create Primary Key Class for:
> de.wearix.users.ejb.UserBean
> [ejbdoclet] Create Data Object for:
> de.wearix.users.ejb.UserBean
> [ejbdoclet] Create Entity CMP Class for:
> de.wearix.users.ejb.UserBean
> [ejbdoclet] Create ejb-jar.xml
> [ejbdoclet] Create jboss.xml
> [ejbdoclet] Create jaws.xml
> [ejbdoclet] 6 warnings
>
>
> AND no remote interface is create in the 'interfaces'
> directory.
Have you got an @ejb:interface class-level tag in your bean's source?
Also, how recent is the xdoclet version you're using?
Andrew.
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/xdoclet-user