summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-05-27 08:34:03 +0200
committerYves Fischer <yvesf-git@xapek.org>2016-05-31 22:49:18 +0200
commit9e49cfad330d4e5f44fa9ff22ea86e52c2ec685b (patch)
treed2ec8a916e69b8e248f9f1a7e81270b0b3b140b1
parent41b5090d169bfed6bba74a55081a75bbb143bfad (diff)
downloaddebian-packages-9e49cfad330d4e5f44fa9ff22ea86e52c2ec685b.tar.gz
debian-packages-9e49cfad330d4e5f44fa9ff22ea86e52c2ec685b.zip
delete environmens.inc.sh
-rw-r--r--README.md24
-rw-r--r--packages/scripts/resources/lib/environments.inc.sh24
2 files changed, 23 insertions, 25 deletions
diff --git a/README.md b/README.md
index 24bc213..82d4737 100644
--- a/README.md
+++ b/README.md
@@ -16,9 +16,31 @@ export PATH=$PATH:/opt/scripts/bin/
source /opt/scripts/lib/activate.inc.sh
```
+### Example
+
+```bash
+function __env_ideajava8() {
+ __activator oraclejdk8 idea-iu2016 groovy-bin-2.4.5
+ __activator gwt-chromium cern-scripts
+ 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_fwk24() {
+ __activator oraclejdk7
+ __activator gwt-chromium
+ __activator idea-iu2016
+ __activator cern-scripts
+ export PATH=/opt/grails2.2.1/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"
+}
+```
+
## Build packages
```
# ./gradlew packages:jvmtop:buildDeb
# dpkg -i packages/jvmtop/build/distributions/jvmtop*deb
-``` \ No newline at end of file
+```
diff --git a/packages/scripts/resources/lib/environments.inc.sh b/packages/scripts/resources/lib/environments.inc.sh
deleted file mode 100644
index d615b47..0000000
--- a/packages/scripts/resources/lib/environments.inc.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-# Examples:
-#
-# function __env_ideajava8() {
-# __activator oraclejdk8 idea-iu2016 groovy-bin-2.4.5
-# __activator gwt-chromium cern-scripts
-#
-# 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_fwk24() {
-# __activator oraclejdk7
-# __activator gwt-chromium
-# __activator idea-iu2016
-# __activator cern-scripts
-#
-#
-# export PATH=/opt/grails2.2.1/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"
-# }