-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 szczepiq wrote:
> Maven jetty:run uses app > resources (jsp, etc.) directly from the source tree. At least this is > the default behavior and I'm not sure you can configure it You can in fact configure everything. To change the web app source dir, you can set the "webAppSourceDirectory" task property to some other location. For the most fine-grained control you can populate the webAppConfig property with a JettyPluginWebAppContext object. The Jetty plugin has a little quirk in this area: AbstractJettyRunTask.configureWebApplication() does not configure the webAppConfig object if it has already been created, so if you create it in your build script, you have to configure all the default properties yourself. For example the contextPath property is ignored. Perhaps I should file a bug report. Cheers, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAklYpH8ACgkQXjXn6TzcAQmtCwCguLoRI/H9jznLNhml6ADWu6yf /qkAoIaN+tP71US4FAxjPArfzRkmfEPs =A17p -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email