Yes. Give XDoclet enough hints about the full qualified name of the class. How? Well, import the class explicitly for example.
I did so many tests but at the end I couldn't find a reliable way of determining the correct class names, so everything is generated full qualified and nothing is imported, but you should help xdoclet to find the correct class name, otherwise xdoclet guesses and prints the messages you get. Ara. > -----Original Message----- > From: Rich Steele [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 4:51 PM > To: Ara Abrahamian; [EMAIL PROTECTED] > Subject: RE: [Xdoclet-user] Imports in generated interfaces > > > Is there a way to stop the warning message I get: > > INFO: Some classes refer to other classes that were not found among > the sources or on the classpath. > (Perhaps the referred class doesn't exist? Hasn't been > generated yet?) > at org.apache.tools.ant.Target.performTasks(Target.java:334) > The referring classes do not import any fully qualified classes > matching these classes. > However, since no packages are imported, xjavadoc has assumed > that the referred classes > at org.apache.tools.ant.Project.executeTarget(Project.java:1306) > at > org.apache.tools.ant.Project.executeTargets(Project.java:1250) > at org.apache.tools.ant.Main.runBuild(Main.java:606) > belong to the same package as the referring class. The classes > are: > at org.apache.tools.ant.Main.start(Main.java:195) > at org.apache.tools.ant.Main.main(Main.java:234) > com.paychex.spr.note.ejb.NoteBean --> NoteTypeLocal qualified to > NoteTypeLocal > com.paychex.spr.note.ejb.NoteAssemblerBean --> NoteLocal qualified to > NoteLocal > com.paychex.spr.paycomponent.ejb.PayComponentAssemblerBean --> > PayComponentClassificationLocal qualified to > PayComponentClassificationLocal > com.paychex.spr.paycomponent.ejb.PayComponentAssemblerBean --> > PayComponentComplianceRelationLocal qualified to > PayComponentComplianceRelationLocal > com.paychex.spr.paycomponent.ejb.PayComponentAssemblerBean --> > PayComponentLegislationLocal qualified to PayComponentLegislationLocal > com.paychex.spr.paycomponent.ejb.PayComponentAssemblerBean --> > PayComponentNameLocal qualified to PayComponentNameLocal > com.paychex.spr.paycomponent.ejb.PayComponentAssemblerBean --> > PayComponentStatusLocal qualified to PayComponentStatusLocal > WARNING: Some classes refer to other classes that were not found among > the sources or on the classpath. > (Perhaps the referred class doesn't exist? Hasn't been > generated yet?) > The referring classes do not import any fully qualified classes > matching these classes. > Since at least one package is imported, it is impossible for > xjavadoc to figure out > what package the referred classes belong to. The classes are: > com.paychex.spr.paycomponent.ejb.PayComponentGroupMemberBean --> > PayComponentGroupLocal qualified to PayComponentGroupLocal > com.paychex.spr.paycomponent.ejb.PayComponentGroupMemberBean --> > PayComponentLocal qualified to PayComponentLocal > com.paychex.spr.org.ejb.BusinessSiteBean --> OrganizationLocal qualified > to OrganizationLocal > com.paychex.spr.org.ejb.OrganizationUnitCategoryRelationBean --> > OrganizationStructureLocal qualified to OrganizationStructureLocal > com.paychex.spr.org.ejb.OrganizationUnitCategoryRelationBean --> > OrganizationUnitCategoryLocal qualified to OrganizationUnitCategoryLocal > com.paychex.spr.paycomponent.ejb.PayComponentClassificationBean --> > PayComponentClassificationTypeLocal qualified to > PayComponentClassificationTypeLocal > com.paychex.spr.person.ejb.PersonNameBean --> PersonLocal qualified to > PersonLocal > com.paychex.spr.client.ejb.ClientStatusBean --> ClientLocal qualified to > ClientLocal > com.paychex.spr.org.ejb.OrganizationSiteSupportAreaBean --> > OrganizationSiteLocal qualified to OrganizationSiteLocal > com.paychex.spr.org.ejb.OrganizationSiteCommunicationAddressBean --> > TelecommunicationAddressLocal qualified to TelecommunicationAddressLocal > com.paychex.spr.org.ejb.OrganizationSiteCommunicationAddressBean --> > ElectronicCommunicationAddressLocal qualified to > ElectronicCommunicationAddressLocal > com.paychex.spr.org.ejb.OrganizationSiteBean --> BusinessSiteLocal > qualified to BusinessSiteLocal > com.paychex.spr.org.ejb.OrganizationSiteBean --> OrganizationUnitLocal > qualified to OrganizationUnitLocal > com.paychex.spr.agency.ejb.AgencyContactMessageBean --> > AgencyContactLocal qualified to AgencyContactLocal > com.paychex.spr.taxpayer.ejb.TaxpayerIdentificationFormatBean --> > FormatMaskLocal qualified to FormatMaskLocal > com.paychex.spr.org.ejb.IndustrialClassificationBean --> > IndustrialClassificationStructureLocal qualified to > IndustrialClassificationStructureLocal > com.paychex.spr.geo.ejb.GeographicAreaBean --> GeographicAreaTypeLocal > qualified to GeographicAreaTypeLocal > com.paychex.spr.taxpayer.ejb.TaxpayerIdentificationBean --> > TaxpayerIdentificationFormatLocal qualified to > TaxpayerIdentificationFormatLocal > com.paychex.spr.org.ejb.OrganizationBean --> OrganizationNameLocal > qualified to OrganizationNameLocal > com.paychex.spr.taxpayer.ejb.TaxpayerIdAssemblerBean --> > TaxpayerIdentificationLocal qualified to TaxpayerIdentificationLocal > com.paychex.spr.typecode.ejb.TypeCodeAssemblerBean --> > ValidationRuleLocal qualified to ValidationRuleLocal > com.paychex.spr.product.ejb.ProductAssemblerBean --> ProductLocal > qualified to ProductLocal > com.paychex.spr.product.ejb.ProductAssemblerBean --> ProductDocLocal > qualified to ProductDocLocal > com.paychex.spr.product.ejb.ProductAssemblerBean --> ProductNameLocal > qualified to ProductNameLocal > com.paychex.spr.product.ejb.ProductAssemblerBean --> > ProductRoleContactLocal qualified to ProductRoleContactLocal > com.paychex.spr.product.ejb.ProductAssemblerBean --> ProductStageLocal > qualified to ProductStageLocal > com.paychex.spr.org.ejb.IndustrialClassificationAssemblerBean --> > IndustrialClassificationLocal qualified to IndustrialClassificationLocal > > Rich > -----Original Message----- > From: Ara Abrahamian > Sent: Mon 9/23/2002 4:44 PM > To: '������ ������ �������������'; > [EMAIL PROTECTED] > Cc: > Subject: RE: [Xdoclet-user] Imports in generated interfaces > > In the latest cvs code all imports are gone. Everything is full > qualified. > Ara. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of ������ > ������ ������������� > Sent: Monday, September 23, 2002 9:52 AM > To: '[EMAIL PROTECTED]' > Subject: [Xdoclet-user] Imports in generated interfaces > > How to control imports including in generated interfaces? > Is it possible? > > Viktor Shevchik. [EMAIL PROTECTED] > > > ------------------------------------------------------- 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
