On Jun 4, 2012, at 12:04 PM, Vincent Massol wrote:
On Jun 4, 2012, at 11:56 AM, Vincent Massol wrote:
Hi devs,
Just some heads up to let you know I'm planning to reorganize the Jetty tool modules
today as follows:
xwiki-patform-tool-jetty/
|_ xwiki-patform-tool-jetty-listener/ --> JAR
|_ xwiki-patform-tool-jetty-configuration/ --> JAR using Remote Resource Bundle
plugin
|_ xwiki-patform-tool-jetty-resources/ --> ZIP that includes the other 2 modules
The goal of introducing xwiki-patform-tool-jetty-configuration is to be able to use the
Maven Remote resource plugin to substitute the xwiki data dir value.
hmm actually this won't work… For this to work I'll need to either move
xwiki-patform-tool-jetty-resources module in xwiki-enterprise or define the
environment.permanentDirectory value in xwiki-platform which isn't good...
Need to think a bit more about this…
ok so I plan to do the following in the end:
xwiki-patform-tool-jetty/
|_ xwiki-patform-tool-jetty-listener/ --> JAR
|_ xwiki-patform-tool-jetty-resources/ --> JAR using Remote Resource Bundle plugin and
that only includes jetty config files (no binaries)
Then in xwiki-enterprise-jetty-* create the jetty distribution by adding the jetty jars
Please respond if you have a better idea.
Thanks
-Vincent