aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-jetty
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2011-11-06 09:02:03 +0000
committerOlivier Lamy <olamy@apache.org>2011-11-06 09:02:03 +0000
commit0da6ef6d8cacd3af20dc309e4e27a73246c25363 (patch)
tree779deb321ae3750500750710900b2a8488668da3 /archiva-jetty
parent4693e534c1a2590a4556359090d242b327da4861 (diff)
downloadarchiva-0da6ef6d8cacd3af20dc309e4e27a73246c25363.tar.gz
archiva-0da6ef6d8cacd3af20dc309e4e27a73246c25363.zip
[MRM-1548] configure a java.io.tmpdir in ./temp for jetty distrib
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198293 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-jetty')
-rw-r--r--archiva-jetty/pom.xml1
-rw-r--r--archiva-jetty/src/main/assembly/bin.xml4
-rw-r--r--archiva-jetty/src/main/temp/safeToDelete.tmp0
3 files changed, 5 insertions, 0 deletions
diff --git a/archiva-jetty/pom.xml b/archiva-jetty/pom.xml
index b015ae692..2f766c267 100644
--- a/archiva-jetty/pom.xml
+++ b/archiva-jetty/pom.xml
@@ -211,6 +211,7 @@
<systemProperty>derby.system.home=%ARCHIVA_BASE%/logs</systemProperty>
-->
<systemProperty>jetty.logs=%ARCHIVA_BASE%/logs</systemProperty>
+ <systemProperty>java.io.tmpdir=./temp</systemProperty>
</systemProperties>
</jvmSettings>
</daemon>
diff --git a/archiva-jetty/src/main/assembly/bin.xml b/archiva-jetty/src/main/assembly/bin.xml
index 0e3206dfa..faa4748be 100644
--- a/archiva-jetty/src/main/assembly/bin.xml
+++ b/archiva-jetty/src/main/assembly/bin.xml
@@ -99,6 +99,10 @@
<include>LICENSE</include>
</includes>
</fileSet>
+ <fileSet>
+ <directory>src/main/temp/</directory>
+ <outputDirectory>/temp</outputDirectory>
+ </fileSet>
</fileSets>
<dependencySets>
<dependencySet>
diff --git a/archiva-jetty/src/main/temp/safeToDelete.tmp b/archiva-jetty/src/main/temp/safeToDelete.tmp
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/archiva-jetty/src/main/temp/safeToDelete.tmp