[openrtm-commit:00974] r402 - trunk/rtmtools
openrtm @ openrtm.org
openrtm @ openrtm.org
2013年 2月 2日 (土) 01:45:47 JST
Author: n-ando
Date: 2013-02-02 01:45:47 +0900 (Sat, 02 Feb 2013)
New Revision: 402
Modified:
trunk/rtmtools/build_all
trunk/rtmtools/build_features
trunk/rtmtools/build_plugins
trunk/rtmtools/make_packages
Log:
Now version.txt is created by build_plugin and it is used by other processes.
Modified: trunk/rtmtools/build_all
===================================================================
--- trunk/rtmtools/build_all 2013-01-31 16:42:36 UTC (rev 401)
+++ trunk/rtmtools/build_all 2013-02-01 16:45:47 UTC (rev 402)
@@ -144,6 +144,11 @@
if test "x$JARDIR" = "x" ; then
JARDIR=$JARDIR_DEFAULT
fi
+ if test -f version.txt ; then
+ rm -f version.txt
+ fi
+ echo "VERSION=$VERSION" >> version.txt
+ echo "PROJECT_VERSION=$PROJECT_VERSION" >> version.txt
}
#------------------------------------------------------------
Modified: trunk/rtmtools/build_features
===================================================================
--- trunk/rtmtools/build_features 2013-01-31 16:42:36 UTC (rev 401)
+++ trunk/rtmtools/build_features 2013-02-01 16:45:47 UTC (rev 402)
@@ -124,7 +124,12 @@
if test "x$VERSION" = "x" || test "x$PROJECT_VERSION" = "x" ; then
echo "Environment variable VERSION/PROJECT_VERSION is not set."
echo "Getting from ./version text."
- . ./version
+ if test ! -f version.txt ; then
+ echo "version.txt not found. Plugins should be built at first."
+ echo "Aborting."
+ exit 1
+ fi
+ . ./version.txt
fi
export VERSION
export PROJECT_VERSION
@@ -152,7 +157,7 @@
fi
echo "ECLIPSE_HOME $ECLIPSE_HOME does not exist."
fi
- echo "Environment variable ECLIPSE_HOME is not set. Seaching..."
+ echo "Environment variable ECLIPSE_HOME is not set. Searching..."
for d in $ECLIPSE_DIRS ; do
tmp=`find -L $d -name .eclipseproduct`
if test "x$tmp" = "x" ; then
Modified: trunk/rtmtools/build_plugins
===================================================================
--- trunk/rtmtools/build_plugins 2013-01-31 16:42:36 UTC (rev 401)
+++ trunk/rtmtools/build_plugins 2013-02-01 16:45:47 UTC (rev 402)
@@ -136,11 +136,16 @@
export PROJECT_VERSION
if test "x$DISTDIR" = "x" ; then
- DISTDIR=openrtp-$VERSION
+ DISTDIR=openrtp-$PROJECT_VERSION
fi
if test "x$JARDIR" = "x" ; then
JARDIR=$JARDIR_DEFAULT
fi
+ if test -f version.txt ; then
+ rm -f version.txt
+ fi
+ echo "VERSION=$VERSION" >> version.txt
+ echo "PROJECT_VERSION=$PROJECT_VERSION" >> version.txt
}
#------------------------------------------------------------
Modified: trunk/rtmtools/make_packages
===================================================================
--- trunk/rtmtools/make_packages 2013-01-31 16:42:36 UTC (rev 401)
+++ trunk/rtmtools/make_packages 2013-02-01 16:45:47 UTC (rev 402)
@@ -153,14 +153,14 @@
# ------------------------------------------------------------
get_version()
{
- if test ! -f ./version ; then
- echo "version file not found. Aborting."
+ if test ! -f ./version.txt ; then
+ echo "version.txt file not found. Aborting."
exit 1
fi
if test "x$VERSION" = "x" || test "x$PROJECT_VERSION" = "x" ; then
echo "Environment variable VERSION/PROJECT_VERSION is not set."
echo "Getting from ./version text."
- . ./version
+ . ./version.txt
fi
ver=`echo $PROJECT_VERSION | sed -e 's/\.//g'`
# openrtp package name
@@ -550,4 +550,20 @@
# ** Eclipse s Client Agent name
# Jakarta Commons-HttpClient/3.1
#
+# ** Mirroring eclipse site
+#
+# *** Mirroring metadata
+#
+# java -jar ~/eclipse-3.8/plugins/org.eclipse.equinox.launcher_<ver>.jar
+# -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication
+# -source Insert Source URL
+# -destination <mirror directory>
+#
+# *** Mirroring artifact
+#
+# java -jar ~/eclipse-3.8/plugins/org.eclipse.equinox.launcher_<ver>.jar
+# -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication
+# -source Insert Source URL
+# -destination <mirror directory>
+#
#------------------------------------------------------------
More information about the openrtm-commit
mailing list