deployment - Jetty: hot deploy of new files -
jetty's hot deployment great. use every day via jetty:run , saves day.
but.
it won't deploy new files (jsps in src/main/webapp/web-inf/jsp) create in webapp. redeploy modified files.
does know way make jetty hot deploy new files without restarting it?
this current configuration:
<configuration> <scanintervalseconds>5</scanintervalseconds> <webappsourcedirectory>${basedir}/src/main/webapp</webappsourcedirectory> <webappconfig> <defaultsdescriptor>${basedir}/src/main/config/webdefault.xml</defaultsdescriptor> <contextpath>/${project.artifactid}</contextpath> <jettyenvxml>${project.build.directory}/jetty/jetty-env.xml</jettyenvxml> </webappconfig> </configuration>
you try adding scantarget parameter config above.
<scantargets> <scantarget>src/main/webapp/web-inf/jsp</scantarget> </scantargets>
Comments
Post a Comment