I am using appfuse 1.9.4/JSF.
Using appgen to produce all files from pojo is good only when the pojo
is simple. I have a pojo with a many-to-one association with the user
object. When I use the appgen to produce the files from this pojo, I got
the error stating:
[xdoclet] (XDocletMain.start 48 ) Running
<template/>
[xdoclet] (TemplateSubTask.engineStarted 826 ) Generating output
for 'com.abc.model.Product' using template file 'file:/C:/Documents and
Settings/QDING/my projects/abc/extras/appgen/src/sample-data.xdt'.
[xdoclet] (TemplateEngine.invokeMethod 547 ) Invoking method
failed: xdoclet.tagshandler.ClassTagsHandler.forAllClasses, line=21 of
template file: file:/C:/Documents and Settings/QDING/my
projects/abc/extras/appgen/src/sample-data.xdt
In my pojo
/**
* @return the owner.
* @hibernate.many-to-one name="owner"
* class="com.abc.model.User"
* column="user_id" not-null="true" lazy="false"
*/
public User getOwner() {
return owner;
}
Is it possible to use appgen to product artifacts from the pojo having
associations defined?
Qin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]