I changed the <entityfacade> tag to <entityfacade pattern="{0}FacadeBean"/> so
that my facade beans also have the "Bean" suffix and cosequently changed the
include in the second run to *Bean.java . Now too I am unable to generate the
interfaces for the facade bean.
Do I need the <remotefacade/> tag in the second run, because removing it
supresses the "remote facade tests: ....super failed" error messages but still
doent generate the interfaces?
--- "Nirmish R. Dholakia" <[EMAIL PROTECTED]> wrote: > i thnk it runs
ejbdoclet task twice because u specifies *.java in fileset
> directory.
>
> so it will includes all java files including *Bean.java
> Nirmish...
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Rohit
> Mathur
> Sent: Tuesday, July 27, 2004 11:15 AM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] Generating Session Facade
>
>
> Hi,
>
> I am trying to generate a session facade bean from my CMP Entity bean using
> xdoclet. My Ant build script runs ejbdoclet task twice, first to generate the
> FacadeEJB and second time to generate the remote, local interface etc for
> both
> the Entity bean as well as the SessionFacade Bean.
>
> The Ant build on the second run does not generate the interfaces for the
> SessionFacade bean and outputs the following text
> [ejbdoclet] remote facade tests: ....mdd.ejb.msf010.MSF010EntityFacadeEJB
> [ejbdoclet] super failed
> [ejbdoclet] remote facade tests: ....mdd.ejb.msf010.MSF010Bean
> [ejbdoclet] super failed
>
> The Ant build script is below:
> <target name="ejbdoclet" depends="prepare, gen-facades,
> gen-all-ejbdoclet">
> </target>
>
> <target name="gen-facades">
> <tstamp>
> <format locale="en" pattern="d-MMMM-yyyy hh:mm aa"
> property="TODAY_UK"/>
> </tstamp>
> <taskdef classname="xdoclet.modules.ejb.EjbDocletTask"
> classpathref="compile.classpath" name="ejbdoclet"/>
> <ejbdoclet addedtags="@xdoclet-generated at ${TODAY_UK}"
> destdir="${src.dir}" ejbspec="2.0" excludedtags="@version,@author,@todo"
> force="true" verbose="true">
> <fileset dir="${src.dir}">
> <include name="**/*Bean.java"/>
> </fileset>
> <entityfacade/>
> </ejbdoclet>
> </target>
>
> <target name="gen-all-ejbdoclet">
> <ejbdoclet addedtags="@xdoclet-generated at ${TODAY_UK}"
> destdir="${src.dir}" ejbspec="2.0" excludedtags="@version,@author,@todo"
> force="true" verbose="true">
> <fileset dir="${src.dir}">
> <include name="**/*.java"/>
> </fileset>
> <remotefacade />
> <remoteinterface/>
> <localinterface/>
> <homeinterface/>
> <localhomeinterface/>
> <entitypk/>
> <valueobject/>
> <utilobject includeGUID="true" cacheHomes="true" />
> </ejbdoclet>
> </target>
>
>
> Any help would really be appreciated.
>
> Cheers
> Rohit
>
> Find local movie times and trailers on Yahoo! Movies.
> http://au.movies.yahoo.com
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user