Would it be possible to first put the pojo in the model package, then use appfuse:gen and then refactor the pojo back to the subpackage? I think an ide like eclipse would do this quite well. Perhaps you will have to adjust a couple of references manually.

Probably not the solution you're looking for, but just in case.

Ger-Jan

Oscar Alvarez wrote:
Hello.
Im using appfuse 2, with struts 2 basic archetype.
Like the subject says, i'm getting an error when trying to generate CRUD
from an POJO existing in sub-package o model package...

sudo mvn appfuse:gen -Dentity=oirs.TipoFormulario

...

[INFO] [ERROR] The 'oirs.TipoFormulario' entity does not exist in
'src/main/java/cl/hhha/web/model'.



sudo mvn appfuse:gen -Dentity=oirs/TipoFormulario

...

[INFO] [ERROR] The 'oirs/TipoFormulario' entity does not exist in
'src/main/java/cl/hhha/web/model'.


How can i generate thar CRUD?

Thanks in advance



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to