Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2017-01-18 04:05:18 -0500
committerSravan Kumar Lakkimsetti2017-01-18 04:06:38 -0500
commit3c2117cf08fe2b8d245dcf7b125580d8fed49b29 (patch)
tree476e49e2b2541f424d08552feefb88fb163815d3 /production/miscToolsAndNotes
parent33020bfb5f35568e694220cc14950f7da8a9b92c (diff)
downloadeclipse.platform.releng.aggregator-3c2117cf08fe2b8d245dcf7b125580d8fed49b29.tar.gz
eclipse.platform.releng.aggregator-3c2117cf08fe2b8d245dcf7b125580d8fed49b29.tar.xz
eclipse.platform.releng.aggregator-3c2117cf08fe2b8d245dcf7b125580d8fed49b29.zip
Bug 510612 - Use separate temp directory for Maven
operations defined by MAVEN_TMP_DIR Change-Id: I537312eaa52ddb539f86cbece94659b21a9afee7 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'production/miscToolsAndNotes')
-rwxr-xr-xproduction/miscToolsAndNotes/xslUtilityScripts/upVersionParents.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/production/miscToolsAndNotes/xslUtilityScripts/upVersionParents.sh b/production/miscToolsAndNotes/xslUtilityScripts/upVersionParents.sh
index 5d9cc10a..baa22f4c 100755
--- a/production/miscToolsAndNotes/xslUtilityScripts/upVersionParents.sh
+++ b/production/miscToolsAndNotes/xslUtilityScripts/upVersionParents.sh
@@ -14,7 +14,9 @@ export JAVA_HOME=${JAVA_HOME:-${JAVA_8_HOME}}
TMP_DIR=${TMP_DIR:-$(pwd)/../tmp}
mkdir -p $TMP_DIR
-export MAVEN_OPTS=${MAVEN_OPTS:-"-Xmx2560m -XX:MaxPermSize=256M -Djava.io.tmpdir=${TMP_DIR}"}
+MAVEN_TMP_DIR=${MAVEN_TMP_DIR:-${TMP_DIR}}
+mkdir -p ${MAVEN_TMP_DIR}
+export MAVEN_OPTS=${MAVEN_OPTS:-"-Xmx2560m -XX:MaxPermSize=256M -Djava.io.tmpdir=${MAVEN_TMP_DIR}"}
export MAVEN_PATH=${MAVEN_PATH:-/opt/local/apache-maven-3.1.1/bin}
export PATH=${JAVA_HOME}/bin:${MAVEN_PATH}:${PATH}

Back to the top