----- Original Message -----
From: [EMAIL PROTECTED]
Date: Monday, October 14, 2002 8:53 am
Subject: Re: RE: [Xdoclet-user] Always fully qualified class names?
> Ara Abrahamian <[EMAIL PROTECTED]> schrieb am 14.10.2002, 07:53:34:
> > So you import a class explicitly but the generated class uses the
> > unqualified name of that class?
>
> Yes, exactly. The class was a local interface class that is in another
> package but was generated in the same XDoclet run.
>
Then you should be getting a warning message from XDoclet (XJavadoc
actually) at the end of the run. Do you get that?
The class doesn't exist, so xjavadoc can't guess where the class
belongs unless:
a) You import the (not yet generated) full class name.
b) You import one (and only one) package in your *Bean.java. xjavadoc
will assume all classes it can't find are in this package.
c) You don't import any packages. xjavadoc will assume all classes it
can't find are in the same package as the referring class.
If you import more than one package, xjavadoc can't make any
assumptions about where an unknown class belongs. The solution is
therefore to use a). If you use a) all the time you shouldn't
experience any problems.
HTH,
Aslak
> > Maybe that class is not in the
> > classpath of ejbdoclet taskdef? If it's from a third party jar.
> > Otherwise seems to be a bug.
>
> Since XDoclet 1.2.0-beta1, ejbdoclet does not support the classpathref
> attribute any more. How do I set a correct classpath for ejbdoclet?
>
> >
> > Ara.
> >
>
> Cheers
> Matthias
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user