On 9/16/07, nessus <[EMAIL PROTECTED]> wrote:
>
> hi, matt,
>
> the question is as subject. And the reproducible scenario is: I tried to
> create a totally new test project by running the command
> D:\nessus\appfuse>mvn archetype:create
> -DarchetypeGroupId=org.appfuse.archetypes
>  -DarchetypeArtifactId=appfuse-basic-struts
> -DremoteRepositories=http://static.a
> ppfuse.org/repository -DarchetypeVersion=2.0-SNAPSHOT
> -DgroupId=com.etpass.etpay
>  -DartifactId=payet, then I found all the ApplicationResources_*.properties
> were not well internationalized, like the one I would use and attached with
> this post.
>
> This problem didnot occur before the weekend. So can you figure out what
> modification you made caused this problem?

Thank you for testing 2.0. You are correct, this is a bug. I've fixed
it and redeployed the latest archetypes. If you rm -r
~/.m2/repository/org/appfuse/archetypes, it should work now.

The cause of the problem seems to be copy/pasting files in IDEA rather
than doing it using Finder (or Windows Explorer).

>
> Another question is I need all the souce file to add some attribute to User,
> Role, and my own logic to authenticate User. But before the weekend I tried
> mvn appfuse:full-source and all the source codes were retrieved, while I
> could not successfully run mvn jetty:run again. I did not snapshot the
> venue, but I remembered the exception is it could not locate the
> org.appfuse.....StartupListener, whereas it should be my own
> com.etpass.....StartupListener. Am I right?

Using full-source should work. It sounds like it might've failed to
rename your packages - especially if it's looking for org.appfuse.*.

> Or if my solution is not the brightest way which needs all source code,
> would you recommend a better one?

This is the best solution for now. Of course, if you just want to
modify User, you can just modify the model objects using the following
guide.

http://appfuse.org/display/APF/AppFuse+Core+Classes

This won't allow you to modify the StartupListener, but you can always
copy/paste the code into your own listener and replace the <listener>
in web.xml with yours.

Hope this helps,

Matt

>
> thank you, matt, and others.
>
> http://www.nabble.com/file/p12728469/ApplicationResources_zh_CN.properties
> ApplicationResources_zh_CN.properties
> --
> View this message in context: 
> http://www.nabble.com/Is-AppFuse-well-versioned--tf4463967s2369.html#a12728469
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> 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