[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jetty-users] can't make hot deploy work
|
Hi.
I followed documentation and end up in adding this code in etc/jetty.xml file
<Call name="addLifeCycle">
<Arg>
<New class="org.eclipse.jetty.deploy.ContextDeployer">
<Set name="contexts"><Ref id="Contexts"/></Set>
<Set name="configurationDir"><SystemProperty name="jetty.home" default="."/>/contexts</Set>
<Set name="scanInterval">1</Set>
</New>
</Arg>
</Call>
and add the file contexts/artivio-stage.xml with this content
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">/artivio-stage</Set>
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/artivio-stage.war</Set>
</Configure>
I expect that every time webapps/artivio-stage.war get updated it gets reloaded.
But it does not. Any help about what pieces I am missing?
I am using jetty 7.0.0 on a Ubuntu 9.04 server.
Thanks.
--
Daniele Dellafiore
http://danieledellafiore.net