Thanks! I didn't read the code properly, I can see now the Scanner's TimerTask is only started if (getScanInterval() > 0).
Dan On Wed, Sep 19, 2012 at 5:43 PM, Joakim Erdfelt <[email protected]> wrote: > try ... OSGiAppProvider.setScanInterval(0); > > -- > Joakim Erdfelt <[email protected]> > www.webtide.com > Developer advice, services and support > from the Jetty & CometD experts. > > > > On Wed, Sep 19, 2012 at 9:25 AM, Dan Gravell < > [email protected]> wrote: > >> At the moment, it looks like you have to configure an OSGiAppProvider in >> a Jetty configuration file. >> >> However, this class extends ScanningAppProvider, which scans a directory >> for changes and attempts to pick up new WARs etc. >> >> How do I disable this scanning? It doesn't go down well with people who >> want their machine to hibernate etc... >> >> Am I left to supplying Integer.MAX_VALUE as the argument? >> >> Dan >> >> _______________________________________________ >> jetty-users mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/jetty-users >> >> > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users > >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
