Hi all,
I've got an entity bean that generates a value object (AccountValue) which gives me the following error ...
[javac] /home/me/projects/build/gen/com/nqai/ejb/entity/account/AccountValue.java:23: AccountValue() is already defined in com.nqai.ejb.entity.account.AccountValue
[javac] public AccountValue( )
[javac] ^
I looked in the AccountValue file and there are two AccoutValue constructors. My build.xml contains ...
<valueobject> <packageSubstitution packages="ejb" substituteWith="value"/> </valueobject>
... and the entity bean is defined as follows ...
* @ejb.bean * name="Account" * type="BMP" * jndi-name="ejb/Account" * view-type="local" * * @ejb.home * extends="javax.ejb.EJBHome" * remote-class="com.nqai.ejb.entity.account.AccountHome" * * @ejb.interface * extends="javax.ejb.EJBHome" * remote-class="com.nqai.ejb.entity.account.Account" * * @ejb.dao * class="com.nqai.ejb.entity.account.AccountDAO" * impl-class="com.nqai.ejb.dao.PostgresqlAccountDAO" * * @ejb.finder * signature="java.lang.String ejbFindByPrimaryKey(String pk)" * * @ejb.finder * signature="java.util.Enumeration ejbFindByID(String pk)" * * @ejb.finder * signature="java.util.Enumeration ejbFindAllAccounts()" * * @ejb.value-object
Any help much appreciated.
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user