LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Ivano Luberti
Hi everybody I'm a former user of T4 but for many reasons independent from my will, I had to abandon Tapestry a few years ago, while I'm still maintaining some web applications. Now I want to step into T5 and I'm following the tutorial. I have set up under Eclipse and successfully running the tuto

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Muhammad Gelbana
What do you mean by LCR ? You can use https://code.google.com/p/run-jetty-run/ It offers server automatic restart for the server when the code is changed. *-* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Sun, Aug 24, 2014 at 11:27 AM, Ivano Luberti wrote: > Hi

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Chris Mylonas
Least Cost Routing /telco :P On 24/08/2014 8:36 pm, "Muhammad Gelbana" wrote: > What do you mean by LCR ? You can use > https://code.google.com/p/run-jetty-run/ > > It offers server automatic restart for the server when the code is changed. > > *-* > *Muhammad Gelbana* > http:

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Ivano Luberti
Hi Muhammad, I have used the acronym found in Tapestry docs: Live Class Reloading. And I forget to say I want to use Tomcat (this is why I mentioned the Sysdeo plugin) Il 24/08/2014 12:35, Muhammad Gelbana ha scritto: > What do you mean by LCR ? You can use > https://code.google.com/p/run-jetty-ru

Re: zone updates prolong session life

2014-08-24 Thread Thiago H de Paula Figueiredo
On Sat, 23 Aug 2014 09:07:38 -0300, John wrote: I was hoping that maybe the jquery zonerefresh mixin could be made to mark its request in such a way to tell the container not to update the session time? I'm guessing the container part of this work would be outside Tapestry though. I beli

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Thiago H de Paula Figueiredo
On Sun, 24 Aug 2014 07:35:45 -0300, Muhammad Gelbana wrote: What do you mean by LCR ? You can use https://code.google.com/p/run-jetty-run/ +1 for RunJettyRun. It offers server automatic restart for the server when the code is changed. Tapestry's live class reloading works without a ser

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Thiago H de Paula Figueiredo
On Sun, 24 Aug 2014 08:27:21 -0300, Ivano Luberti wrote: And I forget to say I want to use Tomcat (this is why I mentioned the Sysdeo plugin) Regardless of what you're using, for live class reloading to work you need to configure your setup to automatically recompile classes when saved an

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Ivano Luberti
Hi Thiago Il 24/08/2014 21:31, Thiago H de Paula Figueiredo ha scritto: > By the way, it's the first time I've ever seen live class reloading > being referred as LCR. > http://tapestry.apache.org/class-reloading.html isn't that an official page? -- ==

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Chris Mylonas
Ha! Yes it is, and it took until a long way down the page to come across "LCR". It hasn't worked for my environment for months and I've been not bothered to restart jetty when deving. I might just troubleshoot it today! Thanks for asking On 25/08/2014 6:32 am, "Ivano Luberti" wrote: > Hi Thiag

bad secure links

2014-08-24 Thread John
I started running my app in production mode but I get these bad links (the yui compressor throwing exceptions too) http://bespokebookings.com:443/book/ad/JohnDoe?t:state:client=hrDi7mYAc4b+9Eu47WlbXwHGNlY=:H4sIAD1MrU4DQRAe2h6U4DC8AHqrUJUEkks3hKRPMLkblm32ZpbZ4WgNFsmL8EJoNA6FYs9gvnz/H9/QvCw

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Chris Mylonas
Confirming it is failing with a fresh mvn generate and jetty:run from the command line. Snippets follow - jdk1.7, reload mechanic = automatic in jetty, dev mode is on, osx 10.9.4 Changing the java class to read "CM Increment clicked" doesn't get updated. Changing the tml file to "increment normal

Re: bad secure links

2014-08-24 Thread Thiago H de Paula Figueiredo
On Sun, 24 Aug 2014 19:31:34 -0300, John wrote: I started running my app in production mode but I get these bad links (the yui compressor throwing exceptions too) href="http://bespokebookings.com:443/book/ad/JohnDoe?t:state:client=hrDi7mYAc4b+9Eu47WlbXwHGNlY=:H4sIAD1MrU4DQRAe2h6U4DC8

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Thiago H de Paula Figueiredo
On Sun, 24 Aug 2014 17:31:50 -0300, Ivano Luberti wrote: Hi Thiago Ciao, Ivano! Il 24/08/2014 21:31, Thiago H de Paula Figueiredo ha scritto: By the way, it's the first time I've ever seen live class reloading being referred as LCR. http://tapestry.apache.org/class-reloading.html

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Thiago H de Paula Figueiredo
On Sun, 24 Aug 2014 20:02:19 -0300, Chris Mylonas wrote: Confirming it is failing with a fresh mvn generate and jetty:run from the command line. Snippets follow - jdk1.7, reload mechanic = automatic in jetty, dev mode is on, osx 10.9.4 Try disabling automatic reloading in Jetty. Or, bett

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Chris Mylonas
just from the command line. Same environment as before, fresh mvn generate, 5.4b6, 5.2.6 also don't LCR from command line "mvn clean jetty:run" 5.1.0.5 doesn't build anymore, sic "Error unzipping tapestry-core.jar" I'm downloading eclipse atm, making a coffee. Will let you know in the afternoon

Re: zone updates prolong session life

2014-08-24 Thread Kalle Korhonen
The way I deal with this issue is by configuring aggressively short sessions (in the order of a few minutes) and using optional components that make intelligent (i.e. can track user activity on the client) keep-alive requests on pages/workflows that need longer sessions. That's also the principle b

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Kalle Korhonen
You don't need the devloader for live class reloading. You need it to be able to pick up classes from other locations than /lib or /classes, say from your local Maven repo, as explained at the bottom of http://www.eclipsetotale.com/tomcatPlugin/readmeDevLoader.html. Now, you can technically use the

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Ivano Luberti
Ola' Thiago! Il 25/08/2014 01:28, Thiago H de Paula Figueiredo ha scritto: > >> isn't that an official page? > > Yes, it is. But that doesn't mean I have all the official pages. :p > No but you have to admit this is not the least important one about LCR :-) --

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Ivano Luberti
Thanks Kalle, maybe I'm starting to figuring it out. So the devloader enables the container to load classes from paths aoutside WEB-INF/lib and WEB-INF/classes , right? So if instead of the maven project layout I use the classic WTP project layout that has a WebContent folder which includes WEB-IN

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Kalle Korhonen
On Sun, Aug 24, 2014 at 10:43 PM, Ivano Luberti wrote: > Thanks Kalle, maybe I'm starting to figuring it out. > So the devloader enables the container to load classes from paths > aoutside WEB-INF/lib and WEB-INF/classes , right? > That's what I said and that's what the linked resource said. >

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Ivano Luberti
Thanks Kallenow I (hope I) have a clear path Il 25/08/2014 07:48, Kalle Korhonen ha scritto: > On Sun, Aug 24, 2014 at 10:43 PM, Ivano Luberti > wrote: > >> Thanks Kalle, maybe I'm starting to figuring it out. >> So the devloader enables the container to load classes from paths >> aoutside W