Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

XEM-218: Modify the standalone distribution to use the xwiki.data.dir…

… system property
  • Loading branch information...
commit 7637120889e8e1ce575ee0686b2a6999e85952fe 1 parent dfa9622
@vmassol vmassol authored
View
29 ...r-distribution/xwiki-manager-jetty/xwiki-manager-jetty-derby/src/assemble/application.xml
@@ -48,13 +48,40 @@
<outputDirectory>webapps/root</outputDirectory>
<unpack>true</unpack>
</dependencySet>
- <!-- Unpack Jetty files -->
+ <!-- Unpack Jetty files
+ Note1: We need to apply filtering to resolve the "xwikiDataDir" property in start shell scripts.
+ Note2: Since the Assembly plugin doesn't allow us to specify which files should be filtered we need two
+ definitions, one with only start shell scripts and one without them.
+ -->
<dependencySet>
<includes>
<include>org.xwiki.platform:xwiki-platform-tool-jetty-resources</include>
</includes>
<outputDirectory>/</outputDirectory>
<unpack>true</unpack>
+ <!-- TODO: This shouldn't be needed but there's a bug see http://jira.codehaus.org/browse/MASSEMBLY-554 -->
+ <outputFileNameMapping>/</outputFileNameMapping>
+ <unpackOptions>
+ <filtered>true</filtered>
+ <includes>
+ <include>**/start_xwiki*.*</include>
+ </includes>
+ </unpackOptions>
+ </dependencySet>
+ <dependencySet>
+ <includes>
+ <include>org.xwiki.platform:xwiki-platform-tool-jetty-resources</include>
+ </includes>
+ <outputDirectory>/</outputDirectory>
+ <unpack>true</unpack>
+ <!-- TODO: This shouldn't be needed but there's a bug see http://jira.codehaus.org/browse/MASSEMBLY-554 -->
+ <outputFileNameMapping>/</outputFileNameMapping>
+ <unpackOptions>
+ <filtered>false</filtered>
+ <excludes>
+ <exclude>**/start_xwiki*.*</exclude>
+ </excludes>
+ </unpackOptions>
</dependencySet>
<!-- Add JDBC driver for the database to use. -->
<dependencySet>
View
29 ...-distribution/xwiki-manager-jetty/xwiki-manager-jetty-hsqldb/src/assemble/application.xml
@@ -48,13 +48,40 @@
<outputDirectory>webapps/root</outputDirectory>
<unpack>true</unpack>
</dependencySet>
- <!-- Unpack Jetty files -->
+ <!-- Unpack Jetty files
+ Note1: We need to apply filtering to resolve the "xwikiDataDir" property in start shell scripts.
+ Note2: Since the Assembly plugin doesn't allow us to specify which files should be filtered we need two
+ definitions, one with only start shell scripts and one without them.
+ -->
<dependencySet>
<includes>
<include>org.xwiki.platform:xwiki-platform-tool-jetty-resources</include>
</includes>
<outputDirectory>/</outputDirectory>
<unpack>true</unpack>
+ <!-- TODO: This shouldn't be needed but there's a bug see http://jira.codehaus.org/browse/MASSEMBLY-554 -->
+ <outputFileNameMapping>/</outputFileNameMapping>
+ <unpackOptions>
+ <filtered>true</filtered>
+ <includes>
+ <include>**/start_xwiki*.*</include>
+ </includes>
+ </unpackOptions>
+ </dependencySet>
+ <dependencySet>
+ <includes>
+ <include>org.xwiki.platform:xwiki-platform-tool-jetty-resources</include>
+ </includes>
+ <outputDirectory>/</outputDirectory>
+ <unpack>true</unpack>
+ <!-- TODO: This shouldn't be needed but there's a bug see http://jira.codehaus.org/browse/MASSEMBLY-554 -->
+ <outputFileNameMapping>/</outputFileNameMapping>
+ <unpackOptions>
+ <filtered>false</filtered>
+ <excludes>
+ <exclude>**/start_xwiki*.*</exclude>
+ </excludes>
+ </unpackOptions>
</dependencySet>
<!-- Add JDBC driver for the database to use. -->
<dependencySet>
View
29 ...on/xwiki-manager-jetty/xwiki-manager-jetty-mysql/src/assemble/application-no-database.xml
@@ -48,13 +48,40 @@
<outputDirectory>webapps/root</outputDirectory>
<unpack>true</unpack>
</dependencySet>
- <!-- Unpack Jetty files -->
+ <!-- Unpack Jetty files
+ Note1: We need to apply filtering to resolve the "xwikiDataDir" property in start shell scripts.
+ Note2: Since the Assembly plugin doesn't allow us to specify which files should be filtered we need two
+ definitions, one with only start shell scripts and one without them.
+ -->
<dependencySet>
<includes>
<include>org.xwiki.platform:xwiki-platform-tool-jetty-resources</include>
</includes>
<outputDirectory>/</outputDirectory>
<unpack>true</unpack>
+ <!-- TODO: This shouldn't be needed but there's a bug see http://jira.codehaus.org/browse/MASSEMBLY-554 -->
+ <outputFileNameMapping>/</outputFileNameMapping>
+ <unpackOptions>
+ <filtered>true</filtered>
+ <includes>
+ <include>**/start_xwiki*.*</include>
+ </includes>
+ </unpackOptions>
+ </dependencySet>
+ <dependencySet>
+ <includes>
+ <include>org.xwiki.platform:xwiki-platform-tool-jetty-resources</include>
+ </includes>
+ <outputDirectory>/</outputDirectory>
+ <unpack>true</unpack>
+ <!-- TODO: This shouldn't be needed but there's a bug see http://jira.codehaus.org/browse/MASSEMBLY-554 -->
+ <outputFileNameMapping>/</outputFileNameMapping>
+ <unpackOptions>
+ <filtered>false</filtered>
+ <excludes>
+ <exclude>**/start_xwiki*.*</exclude>
+ </excludes>
+ </unpackOptions>
</dependencySet>
<!-- Add JDBC driver for the database to use. -->
<dependencySet>
View
29 ...on/xwiki-manager-jetty/xwiki-manager-jetty-pgsql/src/assemble/application-no-database.xml
@@ -48,13 +48,40 @@
<outputDirectory>webapps/root</outputDirectory>
<unpack>true</unpack>
</dependencySet>
- <!-- Unpack Jetty files -->
+ <!-- Unpack Jetty files
+ Note1: We need to apply filtering to resolve the "xwikiDataDir" property in start shell scripts.
+ Note2: Since the Assembly plugin doesn't allow us to specify which files should be filtered we need two
+ definitions, one with only start shell scripts and one without them.
+ -->
<dependencySet>
<includes>
<include>org.xwiki.platform:xwiki-platform-tool-jetty-resources</include>
</includes>
<outputDirectory>/</outputDirectory>
<unpack>true</unpack>
+ <!-- TODO: This shouldn't be needed but there's a bug see http://jira.codehaus.org/browse/MASSEMBLY-554 -->
+ <outputFileNameMapping>/</outputFileNameMapping>
+ <unpackOptions>
+ <filtered>true</filtered>
+ <includes>
+ <include>**/start_xwiki*.*</include>
+ </includes>
+ </unpackOptions>
+ </dependencySet>
+ <dependencySet>
+ <includes>
+ <include>org.xwiki.platform:xwiki-platform-tool-jetty-resources</include>
+ </includes>
+ <outputDirectory>/</outputDirectory>
+ <unpack>true</unpack>
+ <!-- TODO: This shouldn't be needed but there's a bug see http://jira.codehaus.org/browse/MASSEMBLY-554 -->
+ <outputFileNameMapping>/</outputFileNameMapping>
+ <unpackOptions>
+ <filtered>false</filtered>
+ <excludes>
+ <exclude>**/start_xwiki*.*</exclude>
+ </excludes>
+ </unpackOptions>
</dependencySet>
<!-- Add JDBC driver for the database to use. -->
<dependencySet>
Please sign in to comment.
Something went wrong with that request. Please try again.