Just import the class or use it's fqcn.

import foo.interfaces.InformacjaEntityData

or

public String pvdInfo(foo.interfaces.InformacjaEntityData) {}

Since the class doesn't exist (yet), xjavadoc can't guess where it will be,
so you have to help it a bit. See here too:

http://www.mail-archive.com/xdoclet-user@lists.sourceforge.net/msg02679.html
http://www.mail-archive.com/xdoclet-user@lists.sourceforge.net/msg02593.html
http://www.mail-archive.com/xdoclet-user@lists.sourceforge.net/msg02590.html

Aslak

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Marcin
> Gryszkalis
> Sent: 20. november 2002 07:48
> To: [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-devel] Big problems with 1.2 cvs version.
>
>
> > The problem with fqcn occurred with a fresh checkout today of jboss head
> > (cvs co jboss-head) while building the server module.  The
> problems occur
> > in several files, but only when the entire fileset is processed
> at once.
> > If files are processed one at a time the interface seems to be generated
> > correctly.  The non-qualified class is javax.management.ObjectName.
>
> I have exactly the same problem (I just mentioned it at xdoclet-users).
> I now understand why the imports are not copied but - if I understand
> Aslak - the xdoclet should take care about types and change them
> to FQCN. The problem in my case occurs when I use xdoclet-generated
> data-objects as parameters to functions in session beans. like:
> (this is generated remote intf.)
>
> public interface AdminSession
>     extends javax.ejb.EJBObject
> {
>     public java.lang.String pvdInfo(InformacjaEntityData info)
>        throws java.rmi.RemoteException;
>
> Again - should I change that to FQCN or will xdoclet do that for me?
> (I'd prefer the second option :) )
>
> regards
> marcin
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: To learn the basics of securing
> your web site with SSL, click here to get a FREE TRIAL of a Thawte
> Server Certificate: http://www.gothawte.com/rd524.html
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to