Re: [Xdoclet-user] JUnit test for Util.getLocalHome()

2003-03-05 Thread michel . verbist
Try http://www.junitee.org/ Michel "Chris Butler"

Re: [Xdoclet-user] Value Objects : What am I missing ?

2003-03-05 Thread Adam
is it marked with the appropriate persistence markers? Why don't you paste in the @tag markup and the method declarations. it could be something as simple as a typo. - Original Message - From: "Nathaniel Rahav" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: We

Re: [Xdoclet-user] Value Objects : What am I missing ?

2003-03-05 Thread Nathaniel Rahav
No, I'm sorry, scratch that. I'm still having the problem. My ValueObject does indeed have a getPersonUId and setPersonUId method, generated by xdoclet. But my PersonCMP does not set the UId when it instantiates a value object to return back to the calling method. That is, my PersonCMP whic

Re: [Xdoclet-user] Value Objects : What am I missing ?

2003-03-05 Thread Nathaniel Rahav
Hey, I've looked a little more closely at the generated Value Object and I see my problem... it exposes the primary key with the methods getPrimaryKey and setPrimaryKey but not with the field as it's named in my object ("getPersonUId()") thanx tho Nat .. .From: "Ada

Re: [Xdoclet-user] How to compile samples? Basic question!

2003-03-05 Thread Richard Stack
The easiest way is to set your XDOCLET_HOME as you did your JAVA_HOME then you can add this to your build.xml file ... Richard Acir Resende wrote: > I´m using xdoclet-bin-1.2b2 and I can´t compile the > samples. The outcome from Ant is: > > "BUILD FAILED file:C:/xdoclet/samples/build.xml:41

Re: [Xdoclet-user] read-mostly pattern in XDoclet

2003-03-05 Thread Richard Stack
The best reference implimentation for Xdoclet is xpetstore : http://xpetstore.sourceforge.net/ Working code is always the best documentation. Regards Richard Sean Garagan wrote: > Good day, > > We are trying to implement a read-mostly pattern with XDoclet 1.1.2 for > Weblogic and JBoss. This

[Xdoclet-user] How to compile samples? Basic question!

2003-03-05 Thread Acir Resende
I´m using xdoclet-bin-1.2b2 and I can´t compile the samples. The outcome from Ant is: "BUILD FAILED file:C:/xdoclet/samples/build.xml:41: taskdef class xdoclet.DocletTask cannot be found" It seems that Ant can´t find the xdoclet classes. Can you help me? Thanks Acir _

Re: [Xdoclet-user] xdoclet problem on Mac OSX

2003-03-05 Thread Andrew Stevens
On Wed, 2003-03-05 at 14:35, Dave Steinbrunn wrote: > I'm trying to use the webdoclet task to generate my war and some jsp > taglibs. When I run my ant task to do this, I get the following error: > > neutron--> ant -buildfile build2.xml > Buildfile: build2.xml > > war: > [webdoclet] Make sure

[Xdoclet-user] read-mostly pattern in XDoclet

2003-03-05 Thread Sean Garagan
Good day, We are trying to implement a read-mostly pattern with XDoclet 1.1.2 for Weblogic and JBoss. This seems to be causing problems in that finders from the RO beans are being pushed into the RW home interface. Are there examples somewhere to show how to do this? Thanks, Sean -

[Xdoclet-user] transactions?

2003-03-05 Thread SainTiss
Hi, I've got a session bean method, which calls create() on three different entity EJB's, and as such inserts three tuples in the DB... Now I'd like these three calls to be part of one and the same transaction, so that, if e.g. the second call fails, the database would be unchanged... I thought

[Xdoclet-user] JUnit test for Util.getLocalHome()

2003-03-05 Thread Chris Butler
Maybe I’m just daft here, but what’s the easiest way to use Junit to do local Util Object testing? In particular I want to do something like:    SomeObjectLocalHome lhome = SomeObjectUtil.getLocalHome();   Also I’ve noticed that junitejb.sourceforge.net seems to have disappeared… I th

Re: [Xdoclet-user] JDO Vendor Extensions

2003-03-05 Thread Michael Mattox
> The vendor extension elements should end up in different places with field > and collection tags. If not, can you demonstrate just what happens? Ok, I see the motivation now. For the extensions I'm using, they go inside the block. So the @jdo.field-vendor-extension tag is all that is needed.

RE: [Xdoclet-user] using a table in M:N relationship

2003-03-05 Thread Ionel GARDAIS
Hi, > You don't need a extra bean for the mapping. > In the example I sent you, the mapping between > person and drink in m:n. > > Have a look at > * @jboss.relation-mapping > style="relation-table" > * @jboss.relation-table > table-name="Drink_Person_rel" > * create-table="true"

[Xdoclet-user] xdoclet problem on Mac OSX

2003-03-05 Thread Dave Steinbrunn
Hello, I'm switching from doing my Java dev on linux to Mac OSX. I also just recently started using xdoclet to generate my ejb's and web applications, which worked great on linux. However, I'm running into some problems running the same build files on my new mac. First, the problem: I'm

RE: [Xdoclet-user] using a table in M:N relationship

2003-03-05 Thread Rupp,Heiko
Hi, > From: Ionel GARDAIS [mailto:[EMAIL PROTECTED] > I have designed my database with a table for managing > M:N relationship. > > My question is : > do I need to create a bean for this "relationship only > table" or do the tags added to the relation beans are > enought for Xdoclet/JBoss to use

Re: [Xdoclet-user] JDO Vendor Extensions

2003-03-05 Thread David Jencks
The vendor extension elements should end up in different places with field and collection tags. If not, can you demonstrate just what happens? thanks david jencks On 2003.03.05 08:16 Michael Mattox wrote: > I build the latest version from CVS and I'm using it now. I noticed this > in > the samp

Re: [Xdoclet-user] JDO Vendor Extensions

2003-03-05 Thread Michael Mattox
I build the latest version from CVS and I'm using it now. I noticed this in the samples: /** * @jdo.field * collection-type="collection" * embedded-element="false" * element-type="test.jdo.SuperChild" * default-fetch-group="true" * @jdo.collection

[Xdoclet-user] using a table in M:N relationship

2003-03-05 Thread Ionel GARDAIS
Hi, Thanks to Heiko Rupp, I've been able to handle 1:N relationship. I have designed my database with a table for managing M:N relationship. My question is : do I need to create a bean for this "relationship only table" or do the tags added to the relation beans are enought for Xdoclet/JBoss to

Re: [Xdoclet-user] valueobject packagesubstitution makes entitycmp task failed

2003-03-05 Thread Ionel GARDAIS
Hi, > Can you > post the relevant bits of your build script, and the > VO-related tags > from one of your CMP beans? from build.xml : from a bean : - Class le

Re: [Xdoclet-user] XDOCLET 2.0 when??

2003-03-05 Thread Jordi Valldaura
Thanks Aslak - Original Message - From: "Aslak Hellesøy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 04, 2003 10:09 PM Subject: RE: [Xdoclet-user] XDOCLET 2.0 when?? > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf O