Ok, ok. What WAS I thinking? :)

Frank


On 9/8/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
Frank frank!

this is bad advice!
don't call the configure method yourself. That shouldn't be done.
Because configure m ethod is always already called
What you should do is set in through the web.xml in deployment mode (or developerment if you always want to be in development mode)
But if you have it in deployment configured. And you want to debug through it now.
Configure tomcat or jetty launcher that it sets a system property

-Dwicket.configuration=DEVELOPMENT

Then by default if you deploy it is in deployment. (no files touched) and in the developer you still have development mode.

johan



On 9/8/06, Frank Bille < [EMAIL PROTECTED]> wrote:
What I do to hot deploy in Eclipse is setting configure to DEVELOPMENT in init:

...
class MyApplication extends WebApplication {
...
    init() {
...
        configure(DEVELOPMENT);
...
    }
...
}


This gives you hot update of resources (HTML). For java code run the jetty launcher as debug. Debug gives you hot deploy.


If you find something smarter please let me know.


Frank


On 9/8/06, Chan Man Kam < [EMAIL PROTECTED]> wrote:
Are there any method to degrade the all the wicket AJAX
component to a normal request? It may be useful for debugging.

I am using jetty http server 5.0, wicket 1.2.2 and jetty launcher
to develop and test my project, but after I changed my java
source code, the server cannot updated until I restart the server.
The server can only update the html file I modified.

If I changed to use jetty 6.0 and run the project with
maven (I use datebinder 0.7 to set up my workspace),
the server can update the changes of my java classes, but
it cannot update the changes of the html files. Although I
setup the scanTargets

<scanTargets>
<scanTarget>src/main/java</scanTarget>
</scanTargets>

maven can detect the changes of my html files, but I
cannot update the html files until I restart the
server.

I already tried these method:

getResourceSettings()
.setResourcePollFrequency( Duration.ONE_SECOND);
IResourceFinder resfinder = this.getResourceSettings()
.getResourceFinder();
resfinder.find("C:\\Documents and Settings\\workspace\\project\\");
this.getResourceSettings().setResourceFinder(resfinder);

But the above problem still exists.

Thanks in advance,

Man Kam







-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to