Add a currentClass parameter:

<XDtClass:importedList currentClass="<XDtEjbIntf:componentInterface
type='remote'/>"/>

Use the full class name to extract its package name and ....

Ara.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-devel-
> [EMAIL PROTECTED]] On Behalf Of Vincent Harcq
> Sent: Wednesday, January 30, 2002 10:35 PM
> To: 'Ara Abrahamian'; 'Devel XDoclet'
> Subject: RE: [Xdoclet-devel] importList
> 
> Yes it helps :)
> But the test is not so easy because current package is "unknown", I
mean
> getCurrentClass is not the one I generate.
> 
> I will change :
> 
> package <XDtPackage:packageOf><XDtEjbIntf:componentInterface
> type="remote"/></XDtPackage:packageOf>;
> <XDtClass:importedList/>
> 
> By
> 
> package <XDtPackage:packageOf><XDtEjbIntf:componentInterface
> type="remote"/></XDtPackage:packageOf>;
> <XDtClass:importedList><XDtEjbIntf:componentInterface
> type="remote"/></XDtClass:importedList>
> 
> Etc...
> 
> > -----Original Message-----
> > From: Ara Abrahamian [mailto:[EMAIL PROTECTED]]
> > Sent: mercredi 30 janvier 2002 19:37
> > To: [EMAIL PROTECTED]; 'Devel XDoclet'
> > Subject: RE: [Xdoclet-devel] importList
> >
> >
> > > package test.interfaces;
> > > import test.interfaces.CustomerData
> >
> > try removing import test.interfaces.CustomerData and see if
> > it helps. If so then put a check in importlist to exclude
> > import of current package.
> >
> > Ara.
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > [mailto:xdoclet-devel-
> > > [EMAIL PROTECTED]] On
> > Behalf Of Vincent Harcq
> > > Sent: Wednesday, January 30, 2002 10:03 PM
> > > To: Devel XDoclet
> > > Subject: [Xdoclet-devel] importList
> > >
> > > Do somebody runs xdoclet on samples with JDK 1.4 RC around here ?
> > > Somebody (iam01) post a bug that compilation failed on
> > >
> > > package test.interfaces;
> > > import test.interfaces.CustomerData
> > > public class CustomerData(){...}
> > >
> > > I am sure I did not have that last week on JDK 1.3
> > >
> > > I guess the importedList() will need changes for JDK 1.4...
> > > I propose to do something like packageOf(...)
> > >
> > > At the same time I remember on ejbdoclet a long time ago to
already
> > face
> > > this problem and on my class I always use
> > > import test.interfaces.*; to avoid it.  So I am not sure it is not
a
> > bug
> > > in JDK.
> > >
> > > Do I take the safest approach and correct importedList() ?
> > >
> > >
> > >
> > > _______________________________________________
> > > Xdoclet-devel mailing list [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> >
> >
> >
> > _________________________________________________________
> >
> > Do You Yahoo!?
> >
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> >
> >
> >
> 
> 
> 
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to