I'm using run-jetty-run plugin for eclipse.
In quickstart Tapestry maven project, when i start application on
embedded (in eclipse) jetty and make some changes and build class,
jetty see that changes and i reload my application.
Is this possible in wicket project ?
--
Greetings,
marioosh
-
not: "and i reload my application."
but: "and reload my application."
:)
2009/12/16, marioosh.net :
> I'm using run-jetty-run plugin for eclipse.
>
> In quickstart Tapestry maven project, when i start application on
> embedded (in eclipse) jetty and make some changes and build class,
> jetty see t
I see that work for classes, but not for pages/templates...:(
2009/12/16, marioosh.net :
> not: "and i reload my application."
> but: "and reload my application."
> :)
>
> 2009/12/16, marioosh.net :
>> I'm using run-jetty-run plugin for eclipse.
>>
>> In quickstart Tapestry maven project, when i s
Sorry... inversly: classes are not reloaded, templates/pages yes...
Anybody help with run-jetty-run ?
2009/12/16, marioosh.net :
> I see that work for classes, but not for pages/templates...:(
>
> 2009/12/16, marioosh.net :
>> not: "and i reload my application."
>> but: "and reload my application.
I think this is actually a Tapestry feature, not a jetty feature per se:
http://tapestry.apache.org/tapestry5.1/guide/reload.html
On Wed, Dec 16, 2009 at 7:43 AM, marioosh.net wrote:
> Sorry... inversly: classes are not reloaded, templates/pages yes...
> Anybody help with run-jetty-run ?
>
> 20
did you create the project with Wicket quickstart?
http://wicket.apache.org/quickstart.html
If yes why not use Start class to launch Jetty?
Ernesto
On Wed, Dec 16, 2009 at 1:43 PM, marioosh.net wrote:
> Sorry... inversly: classes are not reloaded, templates/pages yes...
> Anybody help with ru
Yes. I'm using maven2 quickstart project.
I've tried jetty by Start, but the same effect...
change java -> build project -> working old version class, but not new :(
When i change templates, i see a difference, but no when i change java :(
--
Greetings,
marioosh
indeed, this is a Tapestry feature. (I am thinking to look into this, this
would be a really nice feature to have in Wicket as well...)
However, i have now similar behaviour by using JRabel (aka javarebel). This
is a cheap commercial product that makes classes realoadable (also
non-wicket/tapestry
Do you have "Project/Build Automatically" set in Eclipse?
On Dec 16, 2009, at 4:43 AM, marioosh.net wrote:
Sorry... inversly: classes are not reloaded, templates/pages yes...
Anybody help with run-jetty-run ?
2009/12/16, marioosh.net :
I see that work for classes, but not for pages/templates.
you have to launch the Start class in Debug mode, that way the jvm
hotswap can reload your classes for you.
-igor
On Wed, Dec 16, 2009 at 5:44 AM, marioosh.net wrote:
> Yes. I'm using maven2 quickstart project.
> I've tried jetty by Start, but the same effect...
>
> change java -> build project
Hotswap could work in some cases, but in most cases this is not sufficient.
(e.g. add/rename a method/field, change signature of methods, etc, ). JRebel
solves most of these things (with a few exceptions, such as add interfaces,
etc).
Plugging an 'own' classloader could make it possible to reload
there are also plenty of postings on this list about "something weird
is going on in my page" followed by "oops it was jrebel, had to
restart the app"
so there is really no perfect solution. tapestry suffers from the same
problems, maybe not as frequently because it keeps state less often.
-igor
2009/12/16, Igor Vaynberg :
> you have to launch the Start class in Debug mode, that way the jvm
> hotswap can reload your classes for you.
>
> -igor
Thanks a lot, igor!:)
That works!
--
Greetings,
marioosh
-
To unsubscribe, e-
13 matches
Mail list logo