This is probably a bug. Since you have amp.fullSource set to true, it
thinks the appfusepackage is your groupId. Hopefully it's easy enough
for you to change. Nevertheless, it's something we should fix. If you
add it to JIRA, we'll try to fix it before 2.0.

http://issues.appfuse.org/browse/APF

Matt

On 9/7/07, Rob Hills <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have followed the instructions at:
>
> http://www.appfuse.org/display/APF/AppFuse+Core+Classes
>
> so I could add an attribute to the org.appfuse.model.User class that's 
> required for my
> application.  I've not removed anything from the User class.
>
> I now have problems with mvn appfuse:gen
>
> If I clear away all generated code and run mvn appfuse:gen -Dentity=Job 
> (where "Job" is a
> simple class with no dependency on the User class) it runs without error.
>
> However, when I run it on the next entity (another simple one with no 
> dependency on User) it
> fails.  Investigating further, I've found that the _first_ time I run 
> appfuse:gen, it creates the
> main/java/org/appfuse/webapp/action/UserAction.java source which contains an 
> invalid
> import:
>
> import au.com.medimorphosis.model.User
>
> which of course doesn't exist.
>
> Thereafter, any attempt to run appfuse:gen without first clearing out the 
> generated java code
> will fail with an "error at import au.com.medimorphosis.model.User".
>
> Has anyone else tried to modify any of the Core AppFuse classes and then run 
> appfuse:gen?
> Is this a bug or is there something I'm missing?
> Rob Hills
> Waikiki, Western Australia
> Mobile +61 (412) 904-357
> Fax: +61 (8) 9529-2137
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

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

Reply via email to