4 Replies Latest reply on Dec 16, 2010 4:10 AM by Alperen Paker

    ricfaces xhtml edit problem for jetty

    Alperen Paker Newbie

      Hi,

       

      I am using Richfaces with facelets (xhtml). I use maven jetty plugin for development.

      When jetty is running, I modify a xhtml file but the change does not work until I restart jetty.

       

      Here is my maven jetty plugin configuration:

       

      <plugin>
                      <groupId>org.mortbay.jetty</groupId>
                      <artifactId>maven-jetty-plugin</artifactId>
                      <version>6.1.9</version>
                      <configuration>
                          <jettyEnvXml>${basedir}/src/test/resources/${jetty-env-file}</jettyEnvXml>
                          <webDefaultXml>${basedir}/src/test/resources/webdefault.xml</webDefaultXml>
                      </configuration>
      </plugin>
      

       

      When I edit css, jsp or html files I can see the changes without restarting.

      But for xhtml files in every change I need to restart jetty again and again.

       

      Is there any solution for that?

       

      Thanks