Re: [Xdoclet-user] newby questions... jboss.xml, DispatchActionand testing framework

2002-11-15 Thread Dmitri Colebatch
> > 1. I want to add EJBTestRunner to jboss.xml and ejb-jar.xml, can I do > > this without it's own java source file (it's part of an included > > library)? > > ejb-jar.xml is easy actually using a merge file called session-beans.xml > but jboss doesn't seem to have an equivalent. jboss-beans.xml

Re: [Xdoclet-user] newby questions... jboss.xml, DispatchActionand testing framework

2002-11-15 Thread Oliver George
On Sat, 2002-11-16 at 11:14, Oliver George wrote: > Hi guys, > > I'm using xdoclet for the first time this week, and I'm really > impressed. A couple of problems/questions I've come up against... > > 1. I want to add EJBTestRunner to jboss.xml and ejb-jar.xml, can I do > this without it's own ja

[Xdoclet-user] newby questions... jboss.xml, DispatchAction and testing framework

2002-11-15 Thread Oliver George
Hi guys, I'm using xdoclet for the first time this week, and I'm really impressed. A couple of problems/questions I've come up against... 1. I want to add EJBTestRunner to jboss.xml and ejb-jar.xml, can I do this without it's own java source file (it's part of an included library)? 2. Struts a

[Xdoclet-user] ifHasPrimkeyField problem

2002-11-15 Thread Jon Finanger
Is there any trick in using ifHasPrimkeyField? :) To 'fix' a problem with xdoclet not generating the create methods correctly (at least as i see it :) I need to set the pk for the bean after the getdao().create is executed, as it is today the pk is never set which is when the create and the setme

RE: [Xdoclet-user] 1.2.0-beta1 not generate interfaces

2002-11-15 Thread MNewcomb
Post your build.xml source. It looks like under is not finding any EJBs, hence the SAX parse exception when validating the ejb-jar.xml file that was generated. Verify that that you have a nested which finds the appropriate EJBs. Michael > -Original Message- > From: Bruce Scharlau [mai

[Xdoclet-user] 1.2.0-beta1 not generate interfaces

2002-11-15 Thread Bruce Scharlau
Hi, I too am having problems getting xdoclet-1.2.-beta1 to produce code outside of the code in the included samples. Those I hacked around to get them to all compile and deploy on jboss 3. But now I want to try this out with a much simpler example, and tried adapting a few of those files, and n

RE: [Xdoclet-user] xdoclet tags for ormapping (hibernate/castor/jdo/etc.)

2002-11-15 Thread tek1
ok, we can leave the getXXX() and setXXX() generation to the uml tool or ide. so it is ok to associate the @tags with the class attributes, which seem more intuitive for or mapping, instead of the getXXX() methods? if not, what are the reasons for tying the @tags to the getXXX() methods? also,

Re: [Xdoclet-user] jboss.finder-query

2002-11-15 Thread Dmitri Colebatch
>From memory you need to have the query attribute to the @ejb.finder tag. hth dim - Original Message - From: "Konstantin Priblouda" <[EMAIL PROTECTED]> To: "Tim" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, November 15, 2002 8:49 PM Subject: Re: [Xdoclet-user] jboss.finder-

Re: [Xdoclet-user] jboss.finder-query

2002-11-15 Thread Meyer-Willner, Bernhard
There is a new tag now @jboss.query which overrides the EJBQL in @ejb.finder with JBossQL. The tag basically works like @ejb.finder, just that the query is defined in JBossQL (a superset of EJBQL) instead of EJBQL. This is not to be confused with JBossDeclaredSQL. Cheers, Bernie -Ursprüngli

Re: [Xdoclet-user] jboss.finder-query

2002-11-15 Thread Konstantin Priblouda
--- Tim <[EMAIL PROTECTED]> wrote: > I am using 1.2.0b1. > > I have scanned previous entries in the list and > their appears to > be no satisfactory explanation as to how the > jboss.finder-query > tag seems to be ignored: > > * @ejb.finder signature="java.util.Collection > findAllFud()" > *

RE: [Xdoclet-user] jboss.finder-query

2002-11-15 Thread Konstantin Priblouda
--- Matthias Bohlen <[EMAIL PROTECTED]> wrote: > Hi, > > a friend of mine had the same problem. We solved it > using > @ejb.finder signature="..." query="...some EJB > QL query..." > > We threw away the @jboss.finder tags. > > That has has always worked and continues to work > with the new

RE: [Xdoclet-user] jboss.finder-query

2002-11-15 Thread Matthias Bohlen
Hi, a friend of mine had the same problem. We solved it using @ejb.finder signature="..." query="...some EJB QL query..." We threw away the @jboss.finder tags. That has has always worked and continues to work with the new version of XDoclet. You get the additional advantage of app-server ind

[Xdoclet-user] jboss.finder-query

2002-11-15 Thread Tim
I am using 1.2.0b1. I have scanned previous entries in the list and their appears to be no satisfactory explanation as to how the jboss.finder-query tag seems to be ignored: * @ejb.finder signature="java.util.Collection findAllFud()" * @jboss.finder-query name="findAllFud" *

Re: [Xdoclet-user] what is function of tstamp tag?

2002-11-15 Thread Erik Hatcher
Its an Ant task, having nothing to do with XDoclet: http://jakarta.apache.org/ant/manual/CoreTasks/tstamp.html It simply sets Ant properties with formatted date/time strings, ${TODAY} in this case is notable as its used in the addedtags section of Erik wu qihua wrote: I search all the

RE: [Xdoclet-user] No Ant

2002-11-15 Thread Ara Abrahamian
Take a look at xdoclet.XDocletFacade and xdoclet.XDocletFacadeTest classes in xdoclet/core/src. I know, it's very primitive, but at least it works! Ara. > -Original Message- > From: [EMAIL PROTECTED] [mailto:xdoclet-user- > [EMAIL PROTECTED]] On Behalf Of Michael Morton > Sent: Thursday,