You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by thorsten maus <lo...@yahoo.com> on 2004/08/18 09:00:43 UTC
xdoclet ejb.value-object generatePKConstructor
hi there ..
im actually writing an appliacation using maven
(multiproject ) and xdoclet...
im trying to let xdoclet auto-generate the
value-class. although im trying to tell it that i dont
want to have a constructor method xdoclet tries to
create one and runs into problems ..
ill show you the code-sniplets:
project.properties:
..
maven.xdoclet.ejbdoclet.valueobject.0=true
maven.xdoclet.ejbdoclet.valueobject.0.generatePKConstructor=false
..
the entity bean class:
..
*
* @ejb.value-object
* generatePKConstructor="false"
* match="*"
..
the problem is that im using Integer as the primary
key class and the creation of the constructor ends up
in a maven error message:
symbol : constructor Integer ()
location: class java.lang.Integer
pk = new java.lang.Integer();
so ... why is xdoclet creating the constructor
although i tell him not to do so ???
thanks
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org