[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Jetty 7.2.1 and configuring a ResourceCollection via Maven
|
Michael Gorovoy wrote:
> If you could reproduce the problem with a simple test application, please create a bug report at http://bugs.eclipse.org/bugs/ and attach the source code for your test app and it will be investigated.
I don't see how a test application would explain anything. My question comes down to: how do I instantiate a ResourceCollection from a Maven pom.xml using Jetty 7.2.1.v20101111 (jetty-maven-plugin)?
Using Jetty 7.2.0.v20101020 I'm doing it like this:
----
<baseResource implementation="org.eclipse.jetty.util.resource.ResourceCollection">
<resourcesAsCSV>
/path/to/profile-specific-dir,
/path/to/another-dir
</resourcesAsCSV>
</baseResource>
----
Since setResourcesAsCSV and all other setter methods have been removed from the ResourceCollection class in Jetty 7.2.1.v20101111 the above code doesn't work anymore and now I don't know how to change the pom.xml to instantiate a ResourceCollection using a list of directories.
Should create a bug report anyway?
Nils.
------------------------------------------------------------------------
VPRO
phone: +31(0)356712911
e-mail: info@xxxxxxx
web: www.vpro.nl
------------------------------------------------------------------------