hmmm, I tried running it twice from ant like this

   <target name="ejbdoclet" description="run ejbdoclet to generate source
and descriptor files">
        <antcall target="_ejbdoclet" />
        <antcall target="_ejbdoclet" />
   </target>

ejbdoclet does get run twice but it does not do anything the second time.
I have to run ant from the command line twice to get this to work.  Has
anybody gotten this to work?

-Ben Litchfield





-- 

On Thu, 20 Mar 2003, Konstantin Priblouda wrote:

>
> --- Ben Litchfield <[EMAIL PROTECTED]> wrote:
> >
> > It appears that I need to run ejbdoclet twice to get
> > the entity facade
> > functionality to work correctly.
> >
> > Once to generate code for the entity beans and the
> > XXXFacadeEJB and a
> > second time to generate the code for the
> > XXXFacadeEJB.  This kinda sucks,
> > is this the intended way it should work?
>
> This iexactly the way it intendet to work.
> First pass generates abstract session bean with logic
> needed for the facading entity ( stripping down
> data objects for example ). But to generate all
> the stuff necessary to deploy this bean would be
> too much inside single subtask.
>
> So it's easier to generate marked up abstract bean,
> and then process it together with other source beans
> ( and also generate remote facade from this session
> bean )
>
> In current xdoclet architecture it's too difficult to
> feed generated source into xjavadoc again while
> running.
>
> regards,
>
> =====
> Konstantin Priblouda ( ko5tik )    Freelance Software developer
> < http://www.pribluda.de > < play java games -> http://www.yook.de >
> < render charts online -> http://www.pribluda.de/povray/ >
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Tablet PC.
> Does your code think in ink? You could win a Tablet PC.
> Get a free Tablet PC hat just for playing. What are you waiting for?
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>



-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to