Re: Fast testing of Tapestry Apps
OooOOoH! I feel like I may be too late, but maven 2 + jetty + tapestry 4 makes for more fun than you can shake a stick at! No kidding, setup a maven web project project. Now youve removed everything except for the java language and compilation. We lke the java language, but compilation... Then, setup the jetty6 plugin. No more compilation. Drives like a ferarri. No eject button in this model. You write java code and run mvn compile and the app is reloaded. If you modify a tapestry template the template change is visible immediately. Theres a fair amount between here and there but Ill be happy to help in anyway I can -- you need only message me off list. The relevant plugin config is: plugins plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty6-plugin/artifactId version6.0.0beta17/version configuration scanTargets scanTargetsrc/main/resources//scanTarget /scanTargets !-- u wont need this unless youre develping on windows -- webDefaultXmlsrc/main/resources/webdefault.xml/webDefaultXml systemProperties systemProperty namenet.sf.ehcache.disabled/name valuetrue/value /systemProperty systemProperty nameorg.apache.tapestry.disable-caching/name valuefalse/value /systemProperty /systemProperties scanIntervalSeconds10/scanIntervalSeconds /configuration /plugin /plugins Umm, ok, hope your search goes well. Josh On 8/21/06, Marcus [EMAIL PROTECTED] wrote: try http://www.sysdeo.com/sysdeo/eclipse/tomcatplugin install plugin and configure parameters in eclipse, after configure your-project properties and with 1 clique you will deploy app into tomcat. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fast testing of Tapestry Apps
Hello, here is how I do it http://mail-archives.apache.org/mod_mbox/maven-users/200608.mbox/[EMAIL PROTECTED] Cheers, Borut 2006/8/21, Fabbed [EMAIL PROTECTED]: Hi everybody, i am relative new to Tapestry. I was wondering if there is a way of fast testing my tapestry apps or do i always have to deploy my source code in the tomcat servlet container before testing my app in the browser? That takes so much time... What i liked about JSP or for instance PHP is that you have your editor open, you save your code, you presss alt+tab switch to your web browser, press F5 and you see the results. How can i do that while developing in Tapestry? Thanks for any advice. -- View this message in context: http://www.nabble.com/Fast-testing-of-Tapestry-Apps-tf2139725.html#a5905141 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Fast testing of Tapestry Apps
... startup the container with -Dorg.apache.tapestry.disable-caching=true (command line option). At least that's with tap3, not sure if tap4 uses the same switch. -Original Message- From: Fabbed [mailto:[EMAIL PROTECTED] Sent: Montag, 21. August 2006 13:34 To: users@tapestry.apache.org Subject: Fast testing of Tapestry Apps Hi everybody, i am relative new to Tapestry. I was wondering if there is a way of fast testing my tapestry apps or do i always have to deploy my source code in the tomcat servlet container before testing my app in the browser? That takes so much time... What i liked about JSP or for instance PHP is that you have your editor open, you save your code, you presss alt+tab switch to your web browser, press F5 and you see the results. How can i do that while developing in Tapestry? Thanks for any advice. -- View this message in context: http://www.nabble.com/Fast-testing-of-Tapestry-Apps-tf2139725.html#a5905 141 Sent from the Tapestry - User forum at Nabble.com. - 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]
Re: Fast testing of Tapestry Apps
You can also do what we do and test using jetty rather than tomcat. That way I can restart everything right within eclipse. disable-caching is great too. On Mon, 2006-08-21 at 04:33 -0700, Fabbed wrote: Hi everybody, i am relative new to Tapestry. I was wondering if there is a way of fast testing my tapestry apps or do i always have to deploy my source code in the tomcat servlet container before testing my app in the browser? That takes so much time... What i liked about JSP or for instance PHP is that you have your editor open, you save your code, you presss alt+tab switch to your web browser, press F5 and you see the results. How can i do that while developing in Tapestry? Thanks for any advice. -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fast testing of Tapestry Apps
Tomcat can be started/stopped from Eclipse as well... Dan Adams wrote: You can also do what we do and test using jetty rather than tomcat. That way I can restart everything right within eclipse. disable-caching is great too. On Mon, 2006-08-21 at 04:33 -0700, Fabbed wrote: Hi everybody, i am relative new to Tapestry. I was wondering if there is a way of fast testing my tapestry apps or do i always have to deploy my source code in the tomcat servlet container before testing my app in the browser? That takes so much time... What i liked about JSP or for instance PHP is that you have your editor open, you save your code, you presss alt+tab switch to your web browser, press F5 and you see the results. How can i do that while developing in Tapestry? Thanks for any advice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fast testing of Tapestry Apps
try http://www.sysdeo.com/sysdeo/eclipse/tomcatplugin install plugin and configure parameters in eclipse, after configure your-project properties and with 1 clique you will deploy app into tomcat.