[Yanel-commits] rev 38956 - public/yanel/trunk

michi at wyona.com michi at wyona.com
Mon Sep 29 09:32:25 CEST 2008


Author: michi
Date: 2008-09-29 09:32:25 +0200 (Mon, 29 Sep 2008)
New Revision: 38956

Modified:
   public/yanel/trunk/build.sh
Log:
check on YANEL_HOME added

Modified: public/yanel/trunk/build.sh
===================================================================
--- public/yanel/trunk/build.sh	2008-09-29 06:32:06 UTC (rev 38955)
+++ public/yanel/trunk/build.sh	2008-09-29 07:32:25 UTC (rev 38956)
@@ -18,6 +18,22 @@
   exit 1
 fi
 
+# ----- Check for YANEL_HOME
+YANEL_HOME="$YANEL_HOME"
+if [ "$YANEL_HOME" = "" ];then
+  echo "WARNING: No YANEL_HOME set. Setting YANEL_HOME is optional, but makes development of individual resources and realms much more efficiently!"
+  echo "       Please set YANEL_HOME ..."
+  echo "       MacOS X/Linux/UNIX : Depending on the shell you're using either use"
+#TODO: $PWD is not really correct, because one might start this script from some other location!
+  echo "                 setenv YANEL_HOME $PWD"
+  echo "                 or"
+  echo "                 export YANEL_HOME=$PWD"
+  echo "       Windows : Click Start ..."
+  echo "Press enter/return to continue ..."
+  read answer
+  echo ""
+fi
+
 # ----- Check Java version
 # TODO: ....
 



More information about the Yanel-commits mailing list