Commit 9854b082 authored by Holger Witsch's avatar Holger Witsch
Browse files

Hoepfully final version of this package for a while.

Epic fight with the heap of different setups, environments etc. Laurent advices strongly to install the tango_java_apps in the base env and it seems to work now in any env, we shall eventually incoroprate it into a ansible playbook and fix it to a particular env.
parent 3bd86dec
Pipeline #62841 failed with stages
in 9 minutes and 25 seconds
......@@ -10,7 +10,7 @@
# astor, atkmoni, atkpanel, jdraw, jhdbconfig, jhdbviewer, jive, logviewer, synopticAppli
{% set name = "tango_java_apps" %}
{% set version = "0.4" %}
{% set version = "0.5" %}
package:
name: "{{ name|lower }}"
......@@ -27,7 +27,9 @@ source:
- url: file:///segfs/tango/jclient/jpss/Jpss.jar
folder: java/
- url: file:///segfs/bliss/source/applications/jrga/jrga_template
folder: jrga/
folder: scripts/
- url: file:///segfs/bliss/source/applications/jrga/jrgadev
folder: scripts/
- url: file:///segfs/bliss/source/applications/jrga/src/JRga.iml
folder: jrga/
- url: file:///segfs/bliss/source/applications/jrga/src/JRga.ipr
......
......@@ -13,13 +13,14 @@
BLISSADM=~blissadm
if [ -d "${BLISSADM}/bin" ]; then
for name in jvacuum idappli jidappli jpss jvacuum jvacuum2 vacuum jvacuum2_edit jvacuum_appli astor atkmoni atkpanel jdraw jhdbconfig jhdbviewer jive logviewer synopticAppli
for name in jvacuum idappli jidappli jpss jvacuum jvacuum2 vacuum jvacuum2_edit jvacuum_appli astor atkmoni atkpanel jdraw jhdbconfig jhdbviewer jive logviewer synopticAppli jrga_template jrgadev
do
if [ -x "${BLISSADM}/bin/$name" ]; then
mv "${BLISSADM}/bin/$name" "${BLISSADM}/bin/.tango_appli_conda_package_$name"
fi
sed -e "s#tango_app#${CONDA_DEFAULT_ENV}#" ${PREFIX}/bin/${name} >${BLISSADM}/bin/${name}
sed -e "s#OurEnv=.*#OurEnv=${CONDA_DEFAULT_ENV}#" ${CONDA_PREFIX}/bin/${name} >${BLISSADM}/bin/${name}
chmod 555 ${BLISSADM}/bin/${name}
done
fi
......@@ -14,7 +14,7 @@
BLISSADM=~blissadm
if [ -d "${BLISSADM}/bin" ]; then
for name in jvacuum jidappli jpss jvacuum jvacuum2 vacuum jvacuum2_edit jvacuum_appli astor atkmoni atkpanel jdraw jhdbconfig jhdbviewer jive logviewer synopticAppli
for name in jvacuum jidappli jpss jvacuum jvacuum2 vacuum jvacuum2_edit jvacuum_appli astor atkmoni atkpanel jdraw jhdbconfig jhdbviewer jive logviewer synopticAppli jrgadev jrga_template
do
rm -rf ${BLISSADM}/bin/$name
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment