You're definitely traversing down a path I haven't tried. It might work, but that's purely a coincidence if it does. The main reason is because AMP doesn't overwrite any files if they already exist. We may be able to write an "upgrade" plugin, but it would probably be pretty primitive as it's unlikely we'd develop something that retains your changes and merges in new items from SVN.
It'd be easy enough to add "overwrite existing files" functionality. However, I don't know how "rename packages" would handle that. I'm unsure if it renames and overwrites or not. The easiest thing I've found is to use Beyond Compare (on Windows) to compare a newly created project with your existing one. You should only need to diff files like pom.xml, web.xml, web-tests.xml and config.xml (for Tapestry). Otherwise, most files haven't changed since the last release. I'll be upgrading the AppFuse demos in the next few days - I'm generally able to do them in 5-10 minutes (each) because they don't contain the full-source. If they do contain the full-source, I don't worry about diffing because if all the tests pass - that's good enough for me! Matt On 9/4/07, dmcneal <[EMAIL PROTECTED]> wrote: > > Thanks for the quick reply! I double checked to make sure, but the > http://static.appfuse.org/repository is currently in my pom.xml (which was > what baffled me when I originally got the message). This is the first time I > tried to upgrade an appfuse application... so it is possible I am going do a > path that has yet to be traveled. After performing the upgrade steps on the > wiki what would be my next step to verify a successful upgrade? I assumed > that if I ran the full-source it would update the appfuse core files that > have been updated. > > Donnie > > > mraible wrote: > > > > It looks like you need to have http://static.appfuse.org/repository as > > a repository in your pom.xml. I don't know if full-source will work > > running it twice as it's not currently implemented to overwrite files. > > However, it should still parse/fix your pom files - so it's possible > > it'll work. I just tried it on a modular project and it failed halfway > > through (OOM). I was able to run it again and it worked the 2nd time. > > > > Matt > > > > -- > > 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/Error-attempting-to-upgrade-2.0-rc1-SNAPSHOT-to-2.0-rc1-tf4380550s2369.html#a12487675 > 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]
