I tried this and it worked.

Here is my configuration in build.xml

<remoteinterface    pattern="{0}Remote"/>
<homeinterface      pattern="{0}RemoteHome"/>
<localinterface     pattern="{0}Local"/>
<localhomeinterface pattern="{0}LocalHome"/>

<valueobject pattern="{0}"/>

The value objects are generated with only the class name.


Lars Hagrot wrote:
> 
> I want to use the following name patttern:
> 
> Entity bean:
> Domain name + 'EntityBean'
> 
> Value object:
> Domain name  (only)
> 
> Example
> 
> Domain name: Organization
> 
> Bean impl:          OrganizationEntityBean
> Local Home:       OrganizationEntityLocalHome
> Local interface:   OrganizationEntityLocal
> Primary Key:     OrganizationKey
> Value object:     Organization
> 
> I think I have figured out how to get everything as I want but not the
> Value Object name.
> I seems like there is no way to get rid of the  'Value' postfix.
> 
> The reason for this (my) name pattern is that the Entity bean is only a
> persistence mechanism that occasionally is replaced by something else.
> 
> Value objects, by the other hand, is used vertically in all layers and
> have a longer lifetime. Therefore they are more suitable if you want to
> realize a domain model.
> 
> Regards
> Lars Hagrot
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> SourceForge.net hosts over 70,000 Open Source Projects.
> See the people who have HELPED US provide better services:
> Click here: http://sourceforge.net/supporters.php
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user

-- 
                                      _/_/_/       _/_/_/        _/_/_/
Ivens Porto                         _/     _/    _/            _/
OSE - Open Systems Engineering     _/     _/    _/            _/
http://www.ose.com.br             _/     _/      _/_/_/      _/_/_/_/
Phone: (55) 34 - 3214-5995       _/     _/            _/    _/
Fax:   (55) 34 - 3214-5994      _/     _/            _/    _/
                                 _/_/_/        _/_/_/       _/_/_/


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to