[Yanel-commits] rev 42344 - public/yanel/trunk
michi at wyona.com
michi at wyona.com
Sat Apr 11 09:10:45 CEST 2009
Author: michi
Date: 2009-04-11 09:10:44 +0200 (Sat, 11 Apr 2009)
New Revision: 42344
Modified:
public/yanel/trunk/yanel.sh
Log:
info statement moved and info re -f added and most importantly more input parameters added
Modified: public/yanel/trunk/yanel.sh
===================================================================
--- public/yanel/trunk/yanel.sh 2009-04-09 13:57:24 UTC (rev 42343)
+++ public/yanel/trunk/yanel.sh 2009-04-11 07:10:44 UTC (rev 42344)
@@ -57,12 +57,12 @@
shift
$OUR_ANT config "$@"
elif [ "$1" = "build" ]; then
- echo "INFO: Building Yanel..."
shift
# One might want to use the option "-f" for building resources, e.g. "./yanel.sh build -f src/resources/xml/build.xml" instead having to build everything
if [ "$1" = "-f" ];then
- $OUR_ANT -f $2 $3 -Dyanel.source.home=$SCRIPT_DIR
+ echo "INFO: Build using -f ..."
+ $OUR_ANT -f $2 $3 $4 $5 $6 $7 -Dyanel.source.home=$SCRIPT_DIR
error=$?
if [ $error -ne 0 ];then
echo "WARN: Some resource-types may not yet support the '-f' option, please refer to bug 6898 for how to implement it."
@@ -70,9 +70,11 @@
fi
exit 0
fi
-# Build everything by default
-$OUR_ANT "$@"
+ # Build everything by default
+ echo "INFO: Building Yanel..."
+ $OUR_ANT "$@"
+
else
$OUR_ANT run-yanel-cmdl -Dyanel.path=$1
fi
More information about the Yanel-commits
mailing list