[openrtm-commit:02711] r981 - in trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC: . src/jp/go/aist/rtm
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 7月 26日 (水) 17:01:25 JST
Author: t-katami
Date: 2017-07-26 17:01:25 +0900 (Wed, 26 Jul 2017)
New Revision: 981
Added:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/Version.java.in
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/build.xml
Log:
[incompat,->RELENG_1_2] Changed it the version information on build.xml is reflected.
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/build.xml
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/build.xml 2017-07-26 05:33:47 UTC (rev 980)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/build.xml 2017-07-26 08:01:25 UTC (rev 981)
@@ -142,6 +142,7 @@
<target name="buildAllLinux">
+ <antcall target="createVersionFile" />
<antcall target="idlCompile" />
@@ -307,6 +308,13 @@
</target>
+ <target name="createVersionFile" description="VersionFileを生成します">
+ <exec executable="sed" dir="${source.common}" output="${source.common}/Version.java">
+ <arg line=" -e 's/@OPENRTM_NAME@/${target.name}/g' -e 's/@OPENRTM_VERSION@/${version}/g' ./Version.java.in">
+ </arg>
+ </exec>
+ </target>
+
<target name="idlCompile" description="IDLファイルをコンパイルします">
<delete dir="src/_SDOPackage" />
<delete dir="src/RTC" />
Added: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/Version.java.in
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/Version.java.in (rev 0)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/Version.java.in 2017-07-26 08:01:25 UTC (rev 981)
@@ -0,0 +1,12 @@
+package jp.go.aist.rtm;
+
+/**
+ * <p>本OpenRTMに関する情報を格納しています。</p>
+ */
+public interface Version {
+
+ public static final String openrtm_name = "@OPENRTM_NAME@";
+ public static final String openrtm_version = "@OPENRTM_VERSION@";
+ public static final String corba_name = "orbd";
+
+}
More information about the openrtm-commit
mailing list