Hey Matt

I have downloaded andromeda and I am trying it out.

Meanwhile I still stuck :( . I have added two more
bean classes to my test project
BeanD and BeanE, now xdoclet generates the interfaces
for the two new beans but it still does nothing for
beanA,beanB and beanC, this is getting wierd.


Any clues anyone?

--- Matthias Bohlen <[EMAIL PROTECTED]> wrote:
> Hi Edward,
> 
> an alternative would be to model your beans and
> relationships in UML and
> let AndroMDA generate all the necessary XDoclet tags
> for you
> automatically.
> 
> Try http://www.andromda.org and
> http://team.andromda.org/tiki
> 
> Cheers...
> Matthias
> 
> ---
> 
> Matthias Bohlen
> "Consulting that helps project teams to succeed..."
> http://www.mbohlen.de/
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED]
> On Behalf 
> > Of ed banfa
> > Sent: Sunday, February 29, 2004 1:40 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Xdoclet-user] Xdoclet not generating
> local and 
> > local home inrerfaces
> > 
> > 
> > Hello all,
> > I am trying to generate local and local home
> > interafaces for two entity beans (BeanA and BeanB)
> > that have a 1-1 bidirectional relationship with
> each
> > other. Now BeanB is also invloved in a 1:Many
> > bidirectional relationship with another bean
> called
> > BeanC.
> > I am also trying to use xdoclet to generate the
> > primary key  classes for these entity beans.
> > I have tried to configure my xdoclet-build.xml to
> > generate the classes that I want but  all I get
> > generated are only the primary key classes of the
> > above beans. Xdoclet ignores the generation of the
> > interfaces
> > 
> > I have the following class level tags defined in
> all
> > my beans
> > 
> > @ejb.home
> >  local-class="ejb.user.XXHomeLocal"
> >  generate="true"
> > @ejb.interface 
> >  local-class="ejb.user.XXLocal"
> >  generate="true"
> > @ejb.pk
> >  class="ejb.user.XXPK"
> >  generate="true"
> > 
> > I tried 
> > 
> > 
> > 
> > my ejdoclet target  in xdoclet-build.xml
> defination is
> > as follows:
> > 
> > <?xml version="1.0" encoding="UTF-8"?>
> > 
> > <project name="Cafeman" default="ejbdoclet"
> > basedir=".">
> > 
> > <path id="xdoclet.classpath">
> > 
> > <pathelement location="C:/Program 
> > Files/eclipse/workspace/cafeman/bin"/>
> > 
> > <pathelement 
> >
>
location="E:/java/jboss/jboss-3.2.1/server/default/lib/jboss-j
> > 2ee.jar"/>
> > 
> > <pathelement 
> >
>
location="E:/java/tomcat/jakarta-tomcat-4.1.27/common/lib/comm
> > ons-logging-api.jar"/>
> > 
> > <fileset dir="C:/Program 
> >
>
Files/eclipse/plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.1/">
> > 
> > <include name="*.jar"/>
> > 
> > </fileset>
> > 
> > </path>
> > 
> > <!-- Init -->
> > 
> > <target name="init">
> > 
> > <tstamp>
> > 
> > <format property="TODAY" pattern="d-MM-yy"/>
> > 
> > </tstamp>
> > 
> > <property name="src.dir" value="src" />
> > 
> > <property name="generated.src.dir" value="gen-src"
> />
> > 
> > <property name="generated.java.dir" 
> > value="${generated.src.dir}/java" />
> > 
> > <property name="config.dir" value="config" />
> > 
> > <property name="build.dir" value="build" />
> > 
> > <property name="dist.dir" value="dist" />
> > 
> > </target>
> > 
> > 
> > <!-- Prepare -->
> > 
> > <target name="prepare" depends="init">
> > 
> > <taskdef
> > 
> > name="xdoclet"
> > 
> > classname="xdoclet.DocletTask"
> > 
> > classpathref="xdoclet.classpath"
> > 
> > />
> > 
> > <taskdef
> > 
> > name="ejbdoclet"
> > 
> > classname="xdoclet.modules.ejb.EjbDocletTask"
> > 
> > classpathref="xdoclet.classpath"
> > 
> > />
> > 
> > <mkdir dir="${build.dir}" />
> > 
> > <mkdir dir="${build.dir}/ejb" />
> > 
> > <mkdir dir="${build.dir}/ejb/META-INF" />
> > 
> > <mkdir dir="${build.dir}/j2ee" />
> > 
> > <mkdir dir="${dist.dir}" />
> > 
> > <mkdir dir="${generated.src.dir}" />
> > 
> > <mkdir dir="${generated.src.dir}/META-INF" />
> > 
> > <mkdir dir="${generated.java.dir}" />
> > 
> > </target>
> > 
> > <!-- 
> >
>
===================================================================
> > -->
> > 
> > <!-- ejbdoclet -->
> > 
> > <target name="ejbdoclet" depends="prepare">
> > 
> > <ejbdoclet
> > 
> > destdir="${generated.src.dir}"
> > 
> > mergedir="parent-fake-to-debug"
> > 
> > excludedtags="@version,@author,@todo"
> > 
> > addedtags="@xdoclet-generated at
> ${TODAY},@copyright
> > The Cafeman Team,@author e.banfa @version
> ${version}"
> > 
> > ejbspec="2.0"
> > 
> > verbose="true"
> > 
> > >
> > 
> > <fileset dir="${src.dir}">
> > 
> 
=== message truncated ===


=====
EDWARD BANFA

NETPLAY TECHNOLOGIES INC.
JOS, PLATEAU STATE
NIGERIA.

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to