See Thread at: http://www.techienuggets.com/Detail?tx=51475 Posted on
behalf of a User

I also have this problem.

In my  web.xml I have

=====
        <servlet>
                <!-- wicket application servlet -->
                <servlet-name>WicketApplication</servlet-name>
                <servlet-class>
                        org.apache.wicket.protocol.http.WicketServlet
                </servlet-class>
                <init-param>
                        <param-name>applicationFactoryClassName</param-name>
                        <param-value>
                                
org.apache.wicket.spring.SpringWebApplicationFactory
                        </param-value>
                </init-param>
                <init-param>
                        <param-name>configuration</param-name>
                        <param-value>development</param-value>
                </init-param>
                <load-on-startup>2</load-on-startup>
        </servlet>

=====

In WicketApplication I also put

                
getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);


But it never detect changes made to .HTML file until I redeploy webapp.


Teerapong Suksuwan


In Response To: 


Hi everybody,

I have read in some older messages of this list that wicket by default takes
care of re-deploying changed classes and HTML files, does that still apply?

It does not work for me, not even with a fresh quickstart project. Neither
HTML files nor Java classes are reloaded when they are changed.

Are there any issues with this under certain circumstances (e.g. having
vista ;-)?

What I just did is this:



mvn archetype:create -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.3.4
-DgroupId=com.mycompany -DartifactId=myproject

cd myproject

mvn package

mvn jetty:run

[changed HomePage.class and HomePage.html]



The changes do not have any effect until I restart jetty.

Any hints on this issue are highly appreciated, thanks a lot in advance!
-- 
<...>
http://www.nabble.com/Hot-deployment---code-swapping-tp19410295p19410295.htm
l
Sent from the Wicket - User mailing list archive at <...>.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to