> > If you don't mind me asking, where did you get the impression that "the > solution just seems to be 'just use resin for development'" ?
Many people on the struts mailinglist and in private have told me that resin is smart enough to be able to unpack a new version of a war and delete any files which are no longer needed. > Set unpackWARS="false" and autodeploy="true" in your <Host> element in > server.xml. Make sure you app can run inside a packed WAR, i.e. it > doesn't try to read/write from Files using the FileReader/Writer-type > APIs. Then you can use the Ant tasks that come with tomcat to redeploy > a WAR file to a running server. After reading the first response on how to redeploy an app in tomcat and then this one I just have to ask, does anyone else think that it is kind of ridiculous what you have to do? Unless you run from the war file, you have to remove the old war, remove the directory and then remove the work directory. First, you are assuming that the person deploying the app has permission to all of those directories (which is a stretch). Then, you are assuming that the application can go down for more than 30 seconds while redeploying, which is understandable, but still a stretch. I just hope that somebody stands back and look at how the developer has to practically break his/her back to get a few changes made on a running application. This really sucks. Imagine I change a few graphics and some of the language file references in the properties file. Now I have to totally wipe out the running application to make it happen? Run from the war file makes a little bit more sense, except for it's limitations of not allowing apache to serve up graphics and not being able to write anywhere in the current application (uploaded files, etc). Except for the initial use of a war file to move an application from one server to another, war files become more of a pain than a convenience. Remember, I never said I couldn't get it to work, I could write an ant script to move each file one at a time if I wanted, that is far from the point. The point is that the way war files are handled right now makes absolutely no sense. Sorry I seem a bit on edge here, but I am hoping this time my point comes across. Thanks for listening ;) Dan -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Daniel Allen, <[EMAIL PROTECTED]> http://www.mojavelinux.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "The Linux philosophy is to laugh in face of danger. Oops. Wrong one. 'Do it yourself' That's it" -- Linus Torvalds - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
