RE: [Xdoclet-user] Running Xdoclet inside of IntelliJ IDEA

2002-03-07 Thread Ara Abrahamian
Works for me. I marked "Include project classpath" at Ant properties dialog and project classpath has xdoclet.jar in it. Ara. > -Original Message- > From: [EMAIL PROTECTED] [mailto:xdoclet-user- > [EMAIL PROTECTED]] On Behalf Of James Cook > Sent: Friday, March 08, 2002 8:08 AM > To: [E

RE: [Xdoclet-user] Beans extending superclasses

2002-03-07 Thread Ara Abrahamian
So it's not deployable, then mark if ejb:bean generate="false". For %90 of cases xdoclet should guess whether it's deployable/abstract correctly. Ara. > -Original Message- > From: [EMAIL PROTECTED] [mailto:xdoclet-user- > [EMAIL PROTECTED]] On Behalf Of James Cook > Sent: Friday, March

Re: [Xdoclet-user] Home not recognizing PK generation is off

2002-03-07 Thread Dmitri Colebatch
Jim, > I have defined the following fields in my bean class: > > * @ejb:bean > * primkey-field = > "java.lang.Integer" > * @ejb:pk > * generate = > "false" > > Yet the Home interface continues to generate this: > >public com.vxs.scrapbook.ejb.CategoryEntityRemote > findByPrimaryKey(com

[Xdoclet-user] Home not recognizing PK generation is off

2002-03-07 Thread James Cook
I have defined the following fields in my bean class: * @ejb:bean * primkey-field = "java.lang.Integer" * @ejb:pk * generate= "false" Yet the Home interface continues to generate this: public com.

RE: [Xdoclet-user] Beans extending superclasses

2002-03-07 Thread James Cook
OK, I think I see your point. However, the bean class that I am extending is simply a base class with some helper methods, such as logging and looking up JNDI contexts. It is not intended to ever deploy. I don't think the generated interfaces would do you much good in validating the output. I thi

[Xdoclet-user] Running Xdoclet inside of IntelliJ IDEA

2002-03-07 Thread James Cook
I am experiencing a very strange problem with my ejbdoclet task. At the command prompt, I can execute the Ant build without any difficulty. However, inside of IDEA, I get the following error while executing the task: Cannot find doclet class xdoclet.DocletTask$DocletMain Note that it is not comp

RE: [Xdoclet-user] Beans extending superclasses

2002-03-07 Thread Ara Abrahamian
This is the default behavior. You can turn it off by putting @ejb:home generate="false" in BaseEntityBean. Btw, how does BaseEntityBean and the subclass look like? Please post the implements/extends/abstract/etc of both classes so that I can be able to optimize this default behavior to be more int

RE: [Xdoclet-user] How to get constants in the generated interface

2002-03-07 Thread Andrew Stevens
>FROM: Dmitri Colebatch >DATE: 03/05/2002 23:05:15 ... >the options I see are : > >(a) do nothing, and use constants class >(b) your suggestion of using fields int he ejb, and replicating in >interfaces >(c) my suggestion of finder style declarations. or (d) have XDoclet generate a constants cla

Re: [Xdoclet-user] CMR mapping for JBoss in jbosscmp-jdbc.xml wrong

2002-03-07 Thread David Jencks
A very partial answer- in xdoclet cvs, I added a tag jboss:auto-key-fields that will prevent generation of in jbosscmp-jdbc.xml, since it usually does fine by itself and I couldn't get the generated ones to work. I think there is a foreign-key tag or something like it also. I still look at the

[Xdoclet-user] Beans extending superclasses

2002-03-07 Thread James Cook
My EntityBeans need to _extend_ a superclass. If the name of this superclass is BaseEntityBean, the xdoclet generates Home and Remote interfaces that extend an interface called BaseEntityHome? I don't want this. Where is it coming up with BaseEntityHome (or BaseEntity in the case of my Remote inte

[Xdoclet-user] cmr: many-to-one with weblogic

2002-03-07 Thread Timo Weber
Hi, i'm trying to make a many-to-one unidirectional relation run in weblogic6.1. I'm using the newest version of xDoclet from CVS. EJBC doesn't like the generated weblogic-cmp-rdbms-jar.xml... After I thought, I had understood this whole weblogic tag stuff and after I found out that obviously I