summaryrefslogtreecommitdiff
path: root/packages/cern-scripts/resources/lib/environments.inc.sh
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-02-27 15:58:12 +0100
committerYves Fischer <yvesf-git@xapek.org>2016-02-27 15:58:12 +0100
commita307e0474e78c51590aeac95dbc5587a87ef6501 (patch)
treec5c7ca86b0b86704a4c1adc588e7ce249826e98f /packages/cern-scripts/resources/lib/environments.inc.sh
parent77955935e9549a847ae7e0d78819f090d429fdb6 (diff)
downloaddebian-packages-a307e0474e78c51590aeac95dbc5587a87ef6501.tar.gz
debian-packages-a307e0474e78c51590aeac95dbc5587a87ef6501.zip
refactor scripts packages
Diffstat (limited to 'packages/cern-scripts/resources/lib/environments.inc.sh')
-rw-r--r--packages/cern-scripts/resources/lib/environments.inc.sh46
1 files changed, 0 insertions, 46 deletions
diff --git a/packages/cern-scripts/resources/lib/environments.inc.sh b/packages/cern-scripts/resources/lib/environments.inc.sh
deleted file mode 100644
index 8960d95..0000000
--- a/packages/cern-scripts/resources/lib/environments.inc.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-
-function __sub_java7() {
- export JAVA_HOME=/usr/lib/jvm/java-7-oraclejdk
- export PATH=$JAVA_HOME/bin:$PATH
-}
-
-function __sub_java8() {
- export JAVA_HOME=/usr/lib/jvm/java-8-oraclejdk
- export PATH=$JAVA_HOME/bin:$PATH
-}
-
-function __sub_tools() {
- export PATH=/opt/idea-iu15/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"
-}
-
-function __env_ideajava8() {
- __sub_java8
- __sub_tools
-}
-
-function __env_ideajava7() {
- __sub_java7
- __sub_tools
-}
-
-function __env_fwk24() {
- __sub_java7
-
- 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"
-}