Re: Reloading component templates from Maven's jetty plugin

2008-12-23 Thread Olle Hallin
How is your IDE configured? In Eclipse, it is possible to set it to build automatically when a file is saved. For .tml files, "build" means copy it from src/main/resources to target/classes. It is also possible to turn this feature off, requiring one to both save (Ctrl-S) and build (Ctrl-B) before

Re: Reloading component templates from Maven's jetty plugin

2008-12-23 Thread Josh Long
Hello, What configuration, exactly, is anyone using to achieve this? I'm not getting any results, alas. I tried excluding **/components/**, **/pages/**, etc from src/main, src/main/tesources, src/main/java, etc No luck.Would anybody mind sharing this with me? I'm simply looking to be able to type

Re: Reloading component templates from Maven's jetty plugin

2008-12-22 Thread Olle Hallin
See http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin .Search for . Olle 2008/12/22 kace > > Ive done the following > > - src/main/resources configured as a source directory in IntelliJ. > - you have configured IntelliJ to comp

Re: Reloading component templates from Maven's jetty plugin

2008-12-22 Thread kace
Ive done the following - src/main/resources configured as a source directory in IntelliJ. - you have configured IntelliJ to compile .tml files. (Settings -> Compiler -> Resource Patterns) still only picks up changes to tml files under webapp folder ie to pages not components. @Olle - how do yo

Re: Reloading component templates from Maven's jetty plugin

2008-12-22 Thread Olle Hallin
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 > Thank you for the help. I've adjusted my IntelliJ environment as you > suggested and its working, sort of. > It do

Re: Reloading component templates from Maven's jetty plugin

2008-12-21 Thread Josh Long
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, wh

Re: Reloading component templates from Maven's jetty plugin

2008-12-21 Thread Hugo Palma
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 Intell

Re: Reloading component templates from Maven's jetty plugin

2008-12-21 Thread Olle Hallin
I'm not an IntelliJ user myself, but I have a vague memory of a collegue that had problems like these. I think you must configure IntelliJ to copy .tml files from src/main/resources to target/classes (where Tapestry can find them). It does not do this out of the box. HTH, Olle 2008/12/21 kace

Re: Reloading component templates from Maven's jetty plugin

2008-12-21 Thread kace
I have the same setup but haven't been able to get my project to pick up changes to classes or component templates but it does work for pages within webabb. I run the maven command from within itellij IDEA `process classes` for it to pick up the changes to the classes and `process resources` t

Reloading component templates from Maven's jetty plugin

2008-12-20 Thread Josh Long
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 t