Hi,
I have set up ScanTargets and scanTargetPatterns for Jetty in the maven
config file. However, this is not working for me. If I change the sources in
any of these scantarget directories, it does not automatically compile or
reflect it in the web page display. Any ideas on what else needs to be set.
Thanks a lot for any suggestions!!
<scanTargets>
<scanTarget>src/main/webapp/WEB-INF/sitemesh.xml</scanTarget>
<scanTarget>src/main/webapp/WEB-INF/menu-config.xml</scanTarget>
<scanTarget>src/main/webapp/WEB-INF/*.xml</scanTarget>
<scanTarget>src/main/webapp/scripts</scanTarget>
</scanTargets>
<scanTargetPatterns>
<scanTargetPattern>
<directory>src/main/webapp</directory>
<directory>src/main/webapp/WEB-INF/pages</directory>
<directory>src/main/webapp/scripts</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.properties</include>
<include>**/*.jsp</include>
<include>*.jsp</include>
<include>*.xml</include>
<include>*.js</include>
</includes>
<excludes>
<exclude>**/myspecial.xml</exclude>
<exclude>**/myspecial.properties</exclude>
</excludes>
</scanTargetPattern>
</scanTargetPatterns>
<scanIntervalSeconds>5</scanIntervalSeconds>
</configuration>
--
View this message in context:
http://www.nabble.com/scantargets-and-scanTargetPatterns-in-Jetty-Maven-config-tf4131290s177.html#a11749034
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]