You're saying your configuration below doesn't work? If not, you might
try contacting the Jetty user list.
Matt
On Wed, Sep 24, 2008 at 9:35 AM, Marc Siramy <
marc.siramy@...> wrote:
> Hello,
> to me Jetty philosophy is to enable faster development by changing code and
> visualising modifications without restarting the webapp., especially with
> its 'scan target' feature.
> By default, Jetty scan the 'src/main/webapp' folder in appfuse-light.
> I want also that it takes care of changes in 'src/main/resources' folder for
> detecting changes in files like messages.properties, then restart webapp
> without restarting itself
> In that way, I added a 'scanTargetPattern' in my pom.xml for
> the 'src/main/resources' folder. But when I make changes in
> messages.properties file, Jetty restart appfuse without taking care of those
> changes (I'm obliged to restart Jetty to see any little change).
> So, is anyone know a workaround for this ?
> Thanks
> Marc
> P.S. part of my maven-jetty-plugin configuration
> <scanTargetPatterns>
> <scanTargetPattern>
> <directory>src/main/webapp</directory>
> <includes>
> <include>**/*.xml</include>
> <include>**/*.properties</include>
> </includes>
> </scanTargetPattern>
> <scanTargetPattern>
> directory>src/main/resources</directory>
> <includes>
> <include>**/*.xml</include>
> <include>**/*.properties</include>
> </includes>
> </scanTargetPattern>
> </scanTargetPatterns>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...