For deploying to a server, I use Eclipse's Export-> WAR file option, then I copy the war to the webapps directory on the server's Tomcat installation.
Hot-reload doesn't work as well as advertised, due to Jar locking problems. There is a workaround, but it essentially makes a new copy of the entire app or locked jars each time which eats up space. So I usually stop Tomcat, then delete the old war and old expanded directories. Then I copy over the new WAR and start Tomcat. On Dec 3, 2007 12:31 PM, Daniel Jue <[EMAIL PROTECTED]> wrote: > Several people including myself are using Tomcat 5.5.x as our > deployment app server. I also use it in development on my local > workstation. > > I recommend searching the list for Tomcat (we're almost always talking > about Tomcat 5.0+) > > I use Eclipse WTP with a Tomcat. With Tapestry 5+, It is suggested to > use Maven to handle your jar dependencies. HLS recommends Mavan > 2.0.5, but I use 2.0.6 with no problems. > > In order for Eclipse to pick up the jars referenced in your Maven POM, > you need a classpath variable like this: > > M2_REPO > C:/Documents and Settings/Username/.m2/repository > > You can start your application by running the Tapestry Archetype > command from your workspace (in a console/cmd window) > > Also, whenever you update your POM/ update the libraries with > Maven/start a new app, you'll want to execute this command from the > directory of you project's POM (if you use WTP): > > mvn eclipse:eclipse -Dwtpversion=1.5 -U > > I don't use the LibCopy plugin, or any 3rd party Eclipse Maven plugin. > I just let Maven regenerate the eclipse files as needed, using the > above command. The -U tells maven to look for updates for libraries > referenced in your POM, using the repositories listed in your POM. > > Maven is a real timesaver, except for particular libraries that don't > publish to a public maven repository, like newer versions of iText, > etc. There is a free Maven book online, which teaches you everything > you'll ever need to know. > > > On Dec 3, 2007 11:58 AM, Thomas Zenglein > > <[EMAIL PROTECTED]> wrote: > > Hi, > > I m currently evaluating T5 as a framework. I am new in tapestry. Fot that > > purpose I wrote a small test application that runs fine in jetty > > application server. Wedo however use tomcat 5.5 as the standard application > > server in our project and we must stick to this decision due to external > > dependencies. What is the recommended way of integrating T5 into tomcat 5.5 > > and has anyone experience with such a setup? > > > > Thanks in advance, > > Thomas > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
