diff options
author | Yves Fischer <yvesf@cern.ch> | 2016-02-01 09:09:53 +0100 |
---|---|---|
committer | Yves Fischer <yvesf@cern.ch> | 2016-02-01 09:09:53 +0100 |
commit | 37175c8ac467db648a7e5ceb7c5216c2db12b8fc (patch) | |
tree | 30740dacb278ffcff46671295c4e91a445fc33bb /packages/cern-scripts | |
parent | 3cbe8700c8c6cb1ac41b506681234f995ca979ba (diff) | |
download | debian-packages-37175c8ac467db648a7e5ceb7c5216c2db12b8fc.tar.gz debian-packages-37175c8ac467db648a7e5ceb7c5216c2db12b8fc.zip |
cern-scripts: define envs
Diffstat (limited to 'packages/cern-scripts')
-rw-r--r-- | packages/cern-scripts/resources/lib/environments.inc.sh | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/packages/cern-scripts/resources/lib/environments.inc.sh b/packages/cern-scripts/resources/lib/environments.inc.sh index 517f500..a9398bc 100644 --- a/packages/cern-scripts/resources/lib/environments.inc.sh +++ b/packages/cern-scripts/resources/lib/environments.inc.sh @@ -1,6 +1,35 @@ -__env_java8() { - export JAVA_HOME=/usr/lib/jvm/java-8.66-oraclejdk/ - export PATH=$JAVA_HOME/bin:$PATH + +function __env_ideajava8() { + export PATH=/opt/idea-iu15/bin:$PATH + + export JAVA_HOME=/usr/lib/jvm/java-8.66-oraclejdk + export PATH=$JAVA_HOME/bin:$PATH + + export PATH=/opt/gwt-chromium/bin:$PATH + + export PATH=/opt/grails3/bin:$PATH + + export PATH=/opt/cern-scripts/bin:$PATH + + export TNS_ADMIN=/home/yfischer/.cache/tnsnames/admin_localhost + export JAVA_OPTS="-Doracle.net.tns_admin=$TNS_ADMIN" + export GRADLE_OPTS="-Doracle.net.tns_admin=$TNS_ADMIN" + + export PATH=/opt/gwt-chromium/bin:$PATH +} + +function __env_fwk24() { + export PATH=/opt/idea-iu15/bin:$PATH + export PATH=/opt/gwt-chromium/bin:$PATH + export PATH=/opt/grails2.2.1/bin:$PATH + export PATH=/opt/cern-scripts/bin:$PATH + + export TNS_ADMIN=/home/yfischer/.cache/tnsnames/admin_localhost + export JAVA_OPTS="-Doracle.net.tns_admin=$TNS_ADMIN" + export GRADLE_OPTS="-Doracle.net.tns_admin=$TNS_ADMIN" + + export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/ + export PATH=$JAVA_HOME/bin:$PATH +} -}
\ No newline at end of file |