This should be fixed now - can you please confirm? Thanks,
Matt On 9/17/07, nessus <[EMAIL PROTECTED]> wrote: > > Matt, > > I dont know whether only not overwriting existing files under > src\main\resources\* and/or other possible folders will solve this problem, > but I am happy to hear good news from you. > > looking forward to your notification. > > Nessus. > > > mraible wrote: > > > > OK - I tried this on Windows and was able to reproduce the problem. It > > doesn't happen on OS X. I'll attempt to fix now by changing > > full-source so it doesn't overwrite any files that already exist. > > > > Matt > > > > On 9/17/07, nessus <[EMAIL PROTECTED]> wrote: > >> > >> Matt, > >> > >> take these steps: > >> > >> 1.create a struts2 basic project. OK > >> 2.jetty:run-war. OK > >> 3.appfuse:full-source. properties files in src\main\resources are deleted > >> and copied back. The content are NOT OK now. > >> 4.jetty:run. The login.jsp showed like the image I uploaded before. > >> > >> Nessus > >> > >> > >> mraible wrote: > >> > > >> > I'm unable to reproduce this - attached is a run-war-before.png > >> > screenshot and a run-after.png screenshot. > >> > > >> > Matt > >> > > >> > On 9/17/07, nessus <[EMAIL PROTECTED]> wrote: > >> >> > >> >> Matt, > >> >> > >> >> After creating, > >> >> If I run mvn jetty:run-war, zh_CN.properties is fine which I use at > >> mose > >> >> cases; > >> >> If I run mvn appfuse:full-source (whether after creating or after > >> >> jetty:run-war), this file is deleted first and then copied back, at > >> this > >> >> time the content become unreadable, the directory is > >> src\main\resources\. > >> >> I > >> >> uploaded an image for you. > >> >> > >> >> So I think the problem resides where the files are copied from and the > >> >> source are well encoded? > >> >> > >> >> Need help about this problem which might be slightly different from > >> >> yesterday's. > >> >> Nessus. > >> >> > >> >> > >> >> mraible wrote: > >> >> > > >> >> > Which files become unreadable? I just tried this and opened up > >> >> > ApplicationResources_ko.properties before and after in TextWrangler > >> >> > and it looks fine. > >> >> > > >> >> > Matt > >> >> > > >> >> > On 9/17/07, nessus <[EMAIL PROTECTED]> wrote: > >> >> >> > >> >> >> Matt, > >> >> >> > >> >> >> according to http://issues.appfuse.org/browse/APF-891, > >> >> >> > >> >> >> after mvn archetype:create > >> -DarchetypeGroupId=org.appfuse.archetypes > >> >> >> -DarchetypeArtifactId=appfuse-basic-struts > >> >> >> -DremoteRepositories=http://static.appfuse.org/repository > >> >> >> -DarchetypeVersion=2.0-SNAPSHOT -DgroupId=com.mycompany.app > >> >> >> -DartifactId=myproject these files are well encoded, but when mvn > >> >> >> appfuse:full-source BUILD SUCCESSFUL, all these files became > >> >> unreadable. > >> >> >> > >> >> >> please check it. > >> >> >> > >> >> >> > >> >> >> mraible wrote: > >> >> >> > > >> >> >> > The ApplicationResources_*.properties files should be fixed as > >> well. > >> >> >> > Have you seen different? > >> >> >> > > >> >> >> > Matt > >> >> >> > > >> >> >> > On 9/17/07, nessus <[EMAIL PROTECTED]> wrote: > >> >> >> >> > >> >> >> >> Matt, > >> >> >> >> > >> >> >> >> thank you, the full-source and jetty:run works fine now. > >> >> >> >> > >> >> >> >> But would you like recheck the original question of this thread? > >> >> that > >> >> >> is, > >> >> >> >> the applicationresources_*.properties files again became > >> >> human-unread. > >> >> >> >> > >> >> >> >> nessus. > >> >> >> >> > >> >> >> >> > >> >> >> >> mraible wrote: > >> >> >> >> > > >> >> >> >> > 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] > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > >> >> >> >> -- > >> >> >> >> View this message in context: > >> >> >> >> > >> >> >> > >> >> > >> http://www.nabble.com/Is-AppFuse-well-versioned--tf4463967s2369.html#a12748393 > >> >> >> >> 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] > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > >> >> >> -- > >> >> >> View this message in context: > >> >> >> > >> >> > >> http://www.nabble.com/Is-AppFuse-well-versioned--tf4463967s2369.html#a12748832 > >> >> >> 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] > >> >> > > >> >> > > >> >> > > >> >> http://www.nabble.com/file/p12749542/malcode.png > >> >> -- > >> >> View this message in context: > >> >> > >> http://www.nabble.com/Is-AppFuse-well-versioned--tf4463967s2369.html#a12749542 > >> >> 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] > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Is-AppFuse-well-versioned--tf4463967s2369.html#a12749710 > >> 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] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Is-AppFuse-well-versioned--tf4463967s2369.html#a12750154 > 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]
