--- Sanjeev Verma <[EMAIL PROTECTED]> wrote:
> Hi All:
> 
> I am using XDoclet to automate the generation of a
> web service from a SLSB, on Sun ONE App Server 7. As
> part of the automation steps, I have to generate the
> end point interface of the service (which will look
> exactly like the remote interface, with the
> difference that it should extend from
> java.rmi.Remote and not from javax.ejb.EJBObject),
> and an implementation of this service end point
> interface, which looks nearly similar to the remote
> facade that XDoclet creates.
> 
> My plan is to slightly modify the templates for the
> remote interface and the remote facade interface to
> get my job done. The problem is, when I try to run
> the <remoteinterface/> subtask twice, once for the
> orignal remote interface generation, and the second
> for the service endpoint generation (in which I
> specify my modified template), only one of the
> interfaces get generated, depending upon which one
> is specified later. this is a snippet of my
> build.xml:
> 
> ......
>         <ejbdoclet
>             destdir="${basedir}/gen-src"
>             mergedir="parent-fake-to-debug"
>             excludedtags="@version,@author,@todo"
>             addedtags="@xdoclet-generated at
> ${TODAY},@copyright The XDoclet Team,@author
> XDoclet,@version ${version}"
>             ejbspec="2.0"
>             force="false"
>             verbose="false"
>             >
> 
>             <fileset dir="${basedir}/src/java">
>                 <include
> name="test/ejb/*Bean.java"/>
>            </fileset>
> 
>             <packageSubstitution packages="ejb"
> substituteWith="interfaces"/>
> 
> 
>             <remoteinterface pattern="{0}IF"
> packageSubstitutionInheritanceSupported="false"
> templateFile="remote_mine.xdt">
>              <packageSubstitution packages="ejb"
> substituteWith="endpoint"/>
>             </remoteinterface>
> 
> 
>            <remoteinterface/>
> 
>           <homeinterface/>
> ......
> 
> Can someone tell me what is the issue here, and can
> i fix this behavior at all, and if yes, how?

For a quick relief I would use second invocation of
xdocelt task... 

I'm not sure whether it's xdoclet or ant issue....
And there youlr be webservice subtask already...

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to