Discussion:
[Middlegen-user] How do you get the related data?
Marco de Booy
2002-05-28 11:51:02 UTC
Permalink
Hello,

This is perhaps not the right place to ask. I am new in CMP and I was glad
to find a tool like Middlegen. I am developing a 4 table application. I
generated all with Middlegen. I had 2 problems. The first problem was with
JBoss and the relationship tags. I moved the key-fields tags 1
relationship-role up and that was solved. The other has to do with the
getting of the related data. I can not find the Collections of the related
table in the data-classes. Do I have to put them in by hand or do I miss
something?

Regards,

Marco
Aslak Hellesoy
2002-05-28 16:26:21 UTC
Permalink
-----Original Message-----
Booy
Sent: 28. mai 2002 15:48
Subject: [Middlegen-user] How do you get the related data?
Hello,
This is perhaps not the right place to ask. I am new in CMP and I
was glad
to find a tool like Middlegen. I am developing a 4 table application. I
generated all with Middlegen. I had 2 problems. The first problem
was with
JBoss and the relationship tags. I moved the key-fields tags 1
relationship-role up and that was solved. The other has to do with the
I'm not sure I understand what you mean by "moving the key-fields up". Can
you explain?
getting of the related data. I can not find the Collections of
the related
table in the data-classes. Do I have to put them in by hand or do I miss
The data classes generated by XDoclet are not relationship-aware. You can
use value objects for that (new feature in the CVS version of XDoclet,
currently undocumented).

Cheers,
Aslak
something?
Regards,
Marco
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Grant Marblestone
2002-05-29 15:41:02 UTC
Permalink
I have been having this problem for a while..

I get cvs of middle getn and then i build and then i run and i get this
message
<!---->

BUILD FAILED
C:\Documents and
Settings\grantm\Desktop\test\middlegen\samples\build.xml:117: Nothing known
about plugin <cmp20>. Make sure the jar file containing the corresponding
plugin class is on the classpath specified in the <taskdef> that defined
middlegen.

Total time: 2 seconds

Tool completed successfully


what am i doing wrongly?

Grant
m***@cybercom.se
2002-05-30 04:34:02 UTC
Permalink
Make sure you use the -d (create missing directories) option when updating
from cvs because some classes have moved.

Markus
-----Original Message-----
Sent: den 29 maj 2002 19:49
Subject: [Middlegen-user] middlegen
I have been having this problem for a while..
I get cvs of middle getn and then i build and then i run and i get this
message
<!---->
BUILD FAILED
C:\Documents and
Settings\grantm\Desktop\test\middlegen\samples\build.xml:117: Nothing
known
about plugin <cmp20>. Make sure the jar file containing the corresponding
plugin class is on the classpath specified in the <taskdef> that defined
middlegen.
Total time: 2 seconds
Tool completed successfully
what am i doing wrongly?
Grant
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Loading...