[openrtm-commit:00944] r385 - trunk/rtmtools
openrtm @ openrtm.org
openrtm @ openrtm.org
2013年 1月 25日 (金) 01:14:20 JST
Author: n-ando
Date: 2013-01-25 01:14:20 +0900 (Fri, 25 Jan 2013)
New Revision: 385
Modified:
trunk/rtmtools/buildall.sh
Log:
JARDIR and JARDIR.zip are now removed when target is clean. refs #2573
Modified: trunk/rtmtools/buildall.sh
===================================================================
--- trunk/rtmtools/buildall.sh 2013-01-24 16:00:53 UTC (rev 384)
+++ trunk/rtmtools/buildall.sh 2013-01-24 16:14:20 UTC (rev 385)
@@ -153,12 +153,13 @@
#------------------------------------------------------------
cleanup_jardir()
{
+ if test -f $JARDIR.zip ; then
+ rm -f $JARDIR.zip
+ fi
if test -d $JARDIR; then
rm -rf $JARDIR
- mkdir $JARDIR
- else
- mkdir $JARDIR
fi
+ mkdir $JARDIR
}
do_ant_build()
@@ -212,8 +213,14 @@
echo "PROJECT_VERSION: $PROJECT_VERSION"
LIBS="-lib ../lib -lib $ECLIPSE_HOME/plugins"
+
+
cleanup_jardir
do_ant_build
+if test "x$TARGET" = "xclean" ; then
+ rm -rf $JARDIR
+ exit 0
+fi
create_zip
exit 0
More information about the openrtm-commit
mailing list