>-----Original Message-----
>From: kpriblouda [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, November 27, 2002 12:27 PM
>To: Chuck.R.Irvine
>Cc: xdoclet-user
>Subject: Re: [Xdoclet-user] can't get ofType value-object feature to
>work
>
>
>
>--- [EMAIL PROTECTED] wrote:
>> I would like each of my generated value object
>> classes to extend a 
>> specified class. I've tried using both the ofType
>> attribute and 
>> subelement of the valueobject ant task without
>> success:
>> 
>> <valueobject>
>>    <ofType
>> type="com.sprint.fmsD.ejb.vo.BaseValueObject"/>
>> </valueobject>
>> 
>> and
>> 
>> <valueobject
>> ofType="com.sprint.fmsD.ejb.vo.BaseValueObject"/>
>> 
>> Neither of these work; the generated classes extend
>> java.lang.Object, 
>> which is the default. Do I have to use the
>> "@value-object extends" tag 
>> instead. Or are these two meant to be used together?
>
>ofType is attribute for the subtasks to select classes
>they are interested...

I'm sorry, I don't follow. Maybe an example would work?

>
>And from your @value-object extends I can judge that
>you are using old ( 1.1.2 ) version  of xdoclet.

No, I'm using 1.2beta1. If I use the "@value-object extends" tag, then I 
get the desired subclassing, but I have to modify entity bean class. I 
thought the ant task might allow me to do this globally.

>
>regards,
>
>=====
>Konstantin Priblouda ( ko5tik )    Freelance Software developer
>< http://www.pribluda.de > < play java games -> http://www.yook.de >
>< render charts online -> http://www.pribluda.de/povray/ >
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>http://mailplus.yahoo.com
>



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to