Classes under myapp.components, myapp.pages, myapp.base and myapp.mixins are hot-deployed by Tapestry. Exclude these from the Jetty hot-deploy feature.
Olle 2008/12/22 Josh Long <starbux...@gmail.com> > Thank you for the help. I've adjusted my IntelliJ environment as you > suggested and its working, sort of. > It does seem like a waste, though. For my page templates I need only make a > change and jetty scans it and makes the change. With the component > templates, jetty perceives it as a class change, which necessitates a > restart of the web app. > > This is, frankly, no better than using JSF with the jetty plugin. > > What, exactly, is the use case described in the docs where it says > component > and page templates will be reloaded? I have no doubt it works somewhere, > but > it's not fully elaborated upon. What do I have to use/ do to have true > reloading of component an page templates without restarting the app? Do I > need Eclipse on OS X with Tomcat? What's the happy path of that feature? > I'm > willing to switch to whatever it is... > > Thanks, as usual, for your indulgence, > Josh > http://www.joshlong.com > > > > > > On Sun, Dec 21, 2008 at 2:41 PM, Hugo Palma <hugo.m.pa...@gmail.com> > wrote: > > > I have that same setup running without any problems, T5 + Jetty + Maven + > > IntelliJ. > > Can you check if IntelliJ is copying your templates to the build > directory > > (target/classes) ? > > > > If not then check if you have the following configured: > > > > - src/main/resources configured as a source directory in IntelliJ. > > - you have configured IntelliJ to compile .tml files. (Settings -> > Compiler > > -> Resource Patterns) > > > > On Sun, Dec 21, 2008 at 7:46 AM, Josh Long <starbux...@gmail.com> wrote: > > > > > Hi, > > > > > > I have a maven project generated usig the stock mvn archetype for > > tapestry > > > 5. > > > > > > According to the docs, component templates should be in > > > src/main/resources/. I can't seem to get those to 'reload' correctly, > > > forcing me to ctrl + c the maven jetty plug in and re run. > > > > > > Any input on how to change this (from tapestry or the maven jetty plug > > > in?) would be appreciated. I'm editing in Intellij (I opened the pom > > > with IntelliJ, which in turn created a project). Im doing Build > > > > Rebuild project to try and trigger the refresh, but no go. > > > > > > Any input on possible configuration changes/options woud be > appreciated. > > > > > > Thanks > > > Josh > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > > > > > > > -- > Joshua Long > http://www.joshlong.com/ > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se