Bruce Snyder wrote:
> This one time, at band camp, Harkness, David said:
> 
>> Bruce Snyder wrote:
>>> I've been compiling some SLSBs that contain XDoclet tags without
>>> error for a while now. Just the other day, someone added two MDBs
>>> to the build that contain XDoclet tags and suddenly the build is
>>> reporting the following error:
>>> 
>>> [ejbdoclet] INFO:    Some classes refer to other classes that
>>> were not found among the sources or on the classpath.
>> 
>> You should be able to safely ignore this warning. I find that if only
>> some of my classes need processing, I get more of these than normal.
>> However, I believe that if you fully-qualify your usage (not just by
>> importing classes in the same package but by always using the package
>> prefix in the code) you won't see these messages. Hopefully one of
>> the developers can give a more definitive answer.
> 
> Well that is exactly what is so odd about this error. The
> imports are fully qualified! So I'm still perplexed.

Yes, I believe that if you fully-qualify the classes *where they are
used* you will avoid the problem. Clearly, when importing a class you
must FQ it, but this allows you to leave off the package when using it
in code. Try putting in the package in the code.

For example, with finder query signatures you must fully-qualify all
classes, including the ones from java.lang. I'm guessing that if you FQ
*all* classes in all declarations you could avoid the warning. Granted,
it's a warning so it may not be worth the trouble. As well, I'm only
guessing. :)

David Harkness
Sr. Software Engineer
Sony Pictures Digital Networks
(310) 482-4756


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to