We haven't done anything to support sub-packages at this time. If it's possible to make it work - it wasn't intentional. With that being said, it might be possible but I don't know how to do it off the top of my head. I'd have to look at the code.

Matt

On Jan 28, 2008, at 8:11 AM, elaroche wrote:


Hi everybody.

I'm sure it has already been asked but I can't found anything :( (bad
keywords for sure).

I'm looking to know how to create sub packages that works with appfuse maven
generation.
I'm using Appfuse 2 last stable release.

archetype: modular
well I've made a Pojo: com.mycompany.myapp.config.model.Parameters

in core:
"mvn appfuse:gen -Dentity=Parameters" told me : Entity unknown !!! so I had
to declare it in  src/main/resources/hibernate.cfg.xml.
But everything else is generated to find
com.mycompany.myapp.model.Parameters (missing config) instead of
com.mycompany.myapp.config.model.Parameters.

so I had to modify all the files (java classes with tests and xml files) in
both core and web.

I'm sure I've done something wrong, well I hope !?

Can someone tell me if it's normal ?
--
View this message in context: http://www.nabble.com/using-sub- packages-tp15136735s2369p15136735.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to