comparison zshrc-maven @ 22:fd29e12b3a2e

give Maven's VM more room to breathe
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 10 Feb 2012 10:07:59 +0100
parents 8b245298349a
children
comparison
equal deleted inserted replaced
21:ee88f708d3ce 22:fd29e12b3a2e
1 # 1 #
2 # zshrc for Maven 2 # zshrc for Maven
3 # 3 #
4
5 export MAVEN_OPTS="-Xmx768m"
4 6
5 switchMaven() { 7 switchMaven() {
6 local maven_version="$1" 8 local maven_version="$1"
7 local new_path=`removeFromPath "maven"` 9 local new_path=`removeFromPath "maven"`
8 export M2_HOME=/usr/share/maven-bin-${maven_version} 10 export M2_HOME=/usr/share/maven-bin-${maven_version}