[Yanel-commits] rev 39417 - public/yanel/trunk
michi at wyona.com
michi at wyona.com
Tue Oct 21 11:32:42 CEST 2008
Author: michi
Date: 2008-10-21 11:32:41 +0200 (Tue, 21 Oct 2008)
New Revision: 39417
Modified:
public/yanel/trunk/build.sh
Log:
check .ant-global.properties
Modified: public/yanel/trunk/build.sh
===================================================================
--- public/yanel/trunk/build.sh 2008-10-21 09:06:56 UTC (rev 39416)
+++ public/yanel/trunk/build.sh 2008-10-21 09:32:41 UTC (rev 39417)
@@ -20,19 +20,15 @@
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"
- echo " setenv YANEL_HOME $BUILD_SCRIPT_DIR"
- echo " or"
- echo " export YANEL_HOME=$BUILD_SCRIPT_DIR"
- echo " Windows : Click Start ..."
- echo "Press enter/return to continue ..."
- read answer
+# ----- Check for .ant-global.properties
+if [ -f $HOME/.ant-global.properties ];then
+ echo "INFO: $HOME/.ant-global.properties exists!"
+else
echo ""
+ echo "WARNING: No $HOME/.ant-global.properties file exists! Setting property 'yanel.home' within .ant-global.properties is optional, but makes development of individual resources and realms much more efficiently!"
+ #echo "Press enter/return to continue ..."
+ #read answer
+ echo ""
fi
# ----- Check Java version
More information about the Yanel-commits
mailing list