in ant, should we be compiling both the original source as well as the 
generated source (gen-src)?  i thought that only the gen-src needed to be 
compiled, but when i only compile only the gen-src files, ant complains 
because the gen-src xxxCMP.java extends the xxxBean.java in my src 
directory (which hasn't been compiled b/c it's in the src directory).  when 
i then try to also compile the src directory, it complains that my 
xxxBean.java doesn't implement the optional methods (e.g. ejbLoad. 
ejbStore, etc.).

my src dir appears as below:

src/
         hellomdb/
                 server/
                         MyMessageBean.java (a message-driven bean)
                         msg/
                                 xxxBean.java (an entity bean)


another problem that i am encountering is that "MyMessageBean.java" (an 
xdoc file in the src directory) is not being generated in the gen-src 
directory.  however, it's class file is being generated in the classes 
directory.  just to be consistent, should all xdoclet marked-up file in the 
src dir have an generated file in the gen-src directory?

thanks...




At 17:30 01/10/07 +1000, Dmitri Colebatch wrote:
>Hi,
>
>I'm assuming you're using CMP, and that your SimpleCMP class is being
>generated, but lacking the ejbLoad etc methods.  Have you got the ejb
>classes in your classpath?
>
>cheers
>dim
>
>On Sun, 7 Oct 2001, Konrad Hernblad wrote:
>
> > hello.
> >
> > i'm trying to write a simple ejb entity bean (similar to PersonBean.java in
> > the xdoclet samples) and it appears that the optional methods (e.g.
> > ejbLoad, ebjStore, etc.) are not being generated.  when i run ant, i get
> > error messages that my entity bean must be declared abstract since it
> > doesn't explicity declare those optional methods.
> >
> > anyone else having this problem?
> >
> > please advise.  thanks...
> >
> > --------------
> > TERRORIST ATTACK ON AMERICA (tues, sept 11, 2001)
> >
> > Information and Disaster Relief Resources
> > 
> 
>http://www.konrad.ws/special/20010911_terroristAttackOnAmerica/infoAndDisasterReliefResources.htm
> >
> >
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >


--------------
TERRORIST ATTACK ON AMERICA (tues, sept 11, 2001)

Information and Disaster Relief Resources
http://www.konrad.ws/special/20010911_terroristAttackOnAmerica/infoAndDisasterReliefResources.htm


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

Reply via email to