Hi Ludovic,
On May 19, 2008, at 4:29 PM, Ludovic Dubost wrote:
When I run jettyrun from platform web, I don't get the skins loaded.
What I see in the run is that it points to the sources of platform
web for it's web resources.
With this patch:
Index: pom.xml
===================================================================
--- pom.xml (revision 9842)
+++ pom.xml (working copy)
@@ -170,6 +170,7 @@
<configuration>
<contextPath>/xwiki</contextPath>
<classesDirectory>${project.build.directory}/$
{project.build.finalName}/WEB-INF</classesDirectory>
+ <webAppSourceDirectory>${project.build.directory}/$
{project.build.finalName}/</webAppSourceDirectory>
<scanIntervalSeconds>10</scanIntervalSeconds>
<connectors>
<connector
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
It points to the result of the build in target, where the skins have
been unzipped.
I would commit this, but I'm wondering why this was not reported
already and if everybody has this problem ?
Probably because nobody is using it.
I've been trying to figure a way to use the maven jetty plugin
properly (i.e. so that it automatically reloads jar dependencies and
such) but it's not possible right now... I've discussed wit the Jetty
plugin writers and they agree about implementing it but I'm not sure
they're very active on it right now...
This is the issue to watch:
http://jira.codehaus.org/browse/JETTY-241
In the meantime feel free to make the modification you suggest if it
works.
Thanks
-Vincent