Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-19 Thread Thiago H. de Paula Figueiredo
On Thu, Mar 19, 2009 at 11:26 AM, Hugues Narjoux wrote: > I commented out the line :// > webapp.setDefaultsDescriptor(webapp.getResourceBase() + > "/WEB-INF/webdefault.xml"); > > and it works just G-R-E-A-T !!! Since I've worked with Jetty for the first time I just cannot think of using any other

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-19 Thread Hugues Narjoux
I commented out the line :// webapp.setDefaultsDescriptor(webapp.getResourceBase() + "/WEB-INF/webdefault.xml"); and it works just G-R-E-A-T !!! Just one thing for those who would follow the same path: don't forget this : http://tapestry.apache.org/tapestry5/jetty.html Make sure the log4j version

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-19 Thread Thiago H. de Paula Figueiredo
On Thu, Mar 19, 2009 at 11:11 AM, Hugues Narjoux wrote: > Thanks, looks like I am getting closer and closer ! But I alway get a 404... Make sure TapestryFilter is being loaded by putting a breakpoint inside it. If not, your Jetty configuration may be wrong. > What does your webdefault.xml look l

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-19 Thread Hugues Narjoux
Thanks, looks like I am getting closer and closer ! But I alway get a 404... What does your webdefault.xml look like please ? Cheers Hugues On Thu, Mar 19, 2009 at 1:15 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, Mar 19, 2009 at 5:17 AM, Hugues Narjoux > wrote: > > I

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-19 Thread Thiago H. de Paula Figueiredo
On Thu, Mar 19, 2009 at 5:17 AM, Hugues Narjoux wrote: > I will try launching jetty using a java class. If I can do this, it will > solve all my pbs,,, This is exactly the code I use: Server server = new Server(); Connector connector = new SelectChannelConnector(); connector.setPort(80); server

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-19 Thread Hugues Narjoux
There is a minor tweak though, WTP >>> has an option (in Tomcat server properties dialog) select 'never publish >>> automatically' >>> >>> regards, >>> Peter >>> >>> - Original Message - >>> From: "Thiago H. d

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Robert Zeigler
ot; To: "Tapestry users" Sent: Wednesday, 18 March, 2009 16:02:50 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: [T5.0.18] Class re-loading and eclipse debugger On Wed, Mar 18, 2009 at 10:57 AM, Hugues Narjoux wrote: WTP was great here because it would let you configure a deploy

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Luther Baker
ions on the plug-in, > try > > uncheck the ones you don't need). > > > > regards, > > Peter > > > > > > - Original Message ----- > > From: "Hugues Narjoux" > > To: "Tapestry users" > > Sent: Wednesday, 18 Marc

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Hugues Narjoux
e are some configuration options on the plug-in, try > uncheck the ones you don't need). > > regards, > Peter > > > - Original Message - > From: "Hugues Narjoux" > To: "Tapestry users" > Sent: Wednesday, 18 March, 2009 18:32:20 GM

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Kalle Korhonen
a 6 ? > > Peter > > - Original Message - > From: "Peter Stavrinides" > To: "Tapestry users" > Sent: Wednesday, 18 March, 2009 19:19:53 GMT +02:00 Athens, Beirut, > Bucharest, Istanbul > Subject: Re: [T5.0.18] Class re-loading and eclipse debugger >

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Peter Stavrinides
; plug-in, try >> uncheck the ones you don't need). >> >> regards, >> Peter >> >> >> - Original Message - >> From: "Hugues Narjoux" >> To: "Tapestry users" >> Sent: Wednesday, 18 March, 2009 18:32:20 GMT +

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Peter Stavrinides
March, 2009 19:19:53 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: [T5.0.18] Class re-loading and eclipse debugger Yes, but the problem with these is exactly what you mentioned, they are not being maintained, once you move to newer versions of Tomcat and Java 6 then you are go

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Kalle Korhonen
(there are some configuration options on the plug-in, > try > > uncheck the ones you don't need). > > > > regards, > > Peter > > > > > > - Original Message - > > From: "Hugues Narjoux" > > To: "Tapestry users"

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Robert Zeigler
plug-in, try uncheck the ones you don't need). regards, Peter - Original Message - From: "Hugues Narjoux" To: "Tapestry users" Sent: Wednesday, 18 March, 2009 18:32:20 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: [T5.0.18] Class re-loading and

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Peter Stavrinides
13 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: [T5.0.18] Class re-loading and eclipse debugger There are perfectly good Tomcat launchers for Eclipse as well that don't use the cumbersome WTP infrastructure that copies files around (causing these issues a

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Kalle Korhonen
been an issue for years already... and > > unfortunately there is no end in site. There is a minor tweak though, WTP > > has an option (in Tomcat server properties dialog) select 'never publish > > automatically' > > > > regards, > > Peter > > > >

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Peter Stavrinides
estry users" Sent: Wednesday, 18 March, 2009 18:32:20 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: [T5.0.18] Class re-loading and eclipse debugger But if you disable the automatic publishing, how would your modifications be updated ? I tried it, even with manual publising

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Hugues Narjoux
iginal Message - > From: "Thiago H. de Paula Figueiredo" > To: "Tapestry users" > Sent: Wednesday, 18 March, 2009 16:02:50 GMT +02:00 Athens, Beirut, > Bucharest, Istanbul > Subject: Re: [T5.0.18] Class re-loading and eclipse debugger > > On Wed, Mar 18, 2

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Peter Stavrinides
ago H. de Paula Figueiredo" To: "Tapestry users" Sent: Wednesday, 18 March, 2009 16:02:50 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: [T5.0.18] Class re-loading and eclipse debugger On Wed, Mar 18, 2009 at 10:57 AM, Hugues Narjoux wrote: > WTP was grea

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Thiago H. de Paula Figueiredo
On Wed, Mar 18, 2009 at 10:57 AM, Hugues Narjoux wrote: > WTP was great here because it > would let you configure a deployment descriptor and automaticaly deploy and > re-assemble your webapp. I guess the problem is exactly the reassemble process. Many times, when using WTP in a Struts (a

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Hugues Narjoux
I just ran a test: when a java file is modified, WTP recompiles, publishes it to the server location automatically (so the .class file is updated) but tapestry won't see the change ... This is odd ... You're right, jetty or tomcat launchers are much easier to use. But I have an overly complex proj

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Thiago H. de Paula Figueiredo
On Wed, Mar 18, 2009 at 10:29 AM, Hugues Narjoux wrote: > Wow ! Thanks for the quick reply ! You're welcome! > However even if i ignore the message, the modification won't appear ... I don't use WTP for a very long time (it was much worse and error prone than Tomcat Launcher), so I don't know w

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Hugues Narjoux
Wow ! Thanks for the quick reply ! However even if i ignore the message, the modification won't appear ... How does this class relaoding thing works ? Is tapestry detecting a change in the .class file ? Or a change in the class loader ? Thanks Hugues On Wed, Mar 18, 2009 at 2:03 PM, Thiago H. d

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Borut BolĨina
Check this out http://bbwebcraft.blogspot.com/2009/01/task-3-rapid-turnaround-in-tapestry-5.html Cheers, borut 2009/3/18 Hugues Narjoux > Hi, > I am using Tapestry 5.0.18 and I read a lot about tapestry being able to > reload classes without a restart. See: > http://tapestry.apache.org/tapestry

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Thiago H. de Paula Figueiredo
On Wed, Mar 18, 2009 at 10:00 AM, Hugues Narjoux wrote: > Hi, > I am using Tapestry 5.0.18 and I read a lot about tapestry being able to > reload classes without a restart. See: > http://tapestry.apache.org/tapestry5/guide/reload.html > > But when I run my webapp in eclipse with WTP tools, and whe

[T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Hugues Narjoux
Hi, I am using Tapestry 5.0.18 and I read a lot about tapestry being able to reload classes without a restart. See: http://tapestry.apache.org/tapestry5/guide/reload.html But when I run my webapp in eclipse with WTP tools, and whenever I make a change to one of my page class, eclipse is always com