Re: template refresh in development

2011-12-17 Thread Chris Collins
that was the trick (coupled with a cmd-9) that makes it work in idea. I will try out the jetty:run thing in a bit. Could we put some notes on the t5 website to help here? Not sure where the best place to put it would be. Best C On Dec 17, 2011, at 9:53 AM, Josh Canfield wrote: > I seem to re

Re: template refresh in development

2011-12-17 Thread Josh Canfield
I seem to recall with Intellij that you also have to add ?*.tml to the resource patterns copied after doing a compile. You access it through the compiler settings. On Wed, Dec 14, 2011 at 12:24 PM, Howard Lewis Ship wrote: > IntelliJ requires that you rebuild (Cmd-F9) after making a change for >

Re: template refresh in development

2011-12-17 Thread Thiago H. de Paula Figueiredo
On Sat, 17 Dec 2011 05:31:19 -0200, Chris Collins wrote: Kalle, could you recommend the magic incarnation for tweaking jetty:run plugin to fix the path so that it will look at the resource tree rather than target (tried scan target). Independent of which setup you have to run your webbap,

Re: template refresh in development

2011-12-17 Thread Kalle Korhonen
On Fri, Dec 16, 2011 at 11:31 PM, Chris Collins wrote: > Kalle, could you recommend the magic incarnation for tweaking jetty:run > plugin to fix the path so that it will look at the resource tree rather than > target (tried scan target).  My preference is to tweak idea since I don't > natively

Re: template refresh in development

2011-12-16 Thread Chris Collins
so from idea cmd-9 did nothing for me (neither did the use of the menu option of cmd-9. Again running with parameters for prod mode set to false. Kalle, could you recommend the magic incarnation for tweaking jetty:run plugin to fix the path so that it will look at the resource tree rather than

Re: template refresh in development

2011-12-14 Thread Kalle Korhonen
On Wed, Dec 14, 2011 at 12:24 PM, Howard Lewis Ship wrote: > IntelliJ requires that you rebuild (Cmd-F9) after making a change for > it to be visible.  I use the built-in Jetty support. > When using mvn jetty:run, the problem is that the directories that the > Jetty instance see contains copies of

Re: template refresh in development

2011-12-14 Thread Howard Lewis Ship
IntelliJ requires that you rebuild (Cmd-F9) after making a change for it to be visible. I use the built-in Jetty support. When using mvn jetty:run, the problem is that the directories that the Jetty instance see contains copies of the files from your workspace; changing them and rebuilding does n

Re: template refresh in development

2011-12-14 Thread Chris Collins
I tried a few ways. I have tried editing tml files both from vi and from intellij. I have also run the archetype demo from mvn jetty:run (so I was not even running through an intellij debug session). I even put a little logic in a page to test if I was in production mode or not (I was not).

Re: template refresh in development

2011-12-14 Thread Howard Lewis Ship
On Wed, Dec 14, 2011 at 12:05 PM, Chris Collins wrote: > Never got any takers on this.  Any tips from any of the wise elders? > > Also what is the functionally equiv of Blackbird since it was taken out of > 5.3? It should just work. What IDE are you using? How are you running the application.

Re: template refresh in development

2011-12-14 Thread Chris Collins
Never got any takers on this. Any tips from any of the wise elders? Also what is the functionally equiv of Blackbird since it was taken out of 5.3? C On Dec 11, 2011, at 9:47 PM, Chris Collins wrote: > Ok, another dumb question from Chris. How do you make template refreshes > work at least in

template refresh in development

2011-12-11 Thread Chris Collins
Ok, another dumb question from Chris. How do you make template refreshes work at least in dev mode? I am specifically setting: configuration.add(SymbolConstants.FILE_CHECK_INTERVAL, "1 s"); configuration.add(SymbolConstants.PRODUCTION_MODE, "false"); Perhaps thats my error. I