[openrtm-commit:01844] r585 - trunk/rtmtools/jp.go.aist.rtm.toolscommon
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 3月 11日 (金) 13:11:37 JST
Author: ga
Date: 2016-03-11 13:11:37 +0900 (Fri, 11 Mar 2016)
New Revision: 585
Added:
trunk/rtmtools/jp.go.aist.rtm.toolscommon/buildForClient.xml
Modified:
trunk/rtmtools/jp.go.aist.rtm.toolscommon/n2a.bat
Log:
Add build file (buildForClient.xml) for IDL compile in client
Added: trunk/rtmtools/jp.go.aist.rtm.toolscommon/buildForClient.xml
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.toolscommon/buildForClient.xml (rev 0)
+++ trunk/rtmtools/jp.go.aist.rtm.toolscommon/buildForClient.xml 2016-03-11 04:11:37 UTC (rev 585)
@@ -0,0 +1,80 @@
+<project name="jp.go.aist.rtm.toolscommon" default="idlCompile">
+
+ <property name="target.name" value="jp.go.aist.rtm.toolscommon" />
+
+ <property name="source" value="src"/>
+ <property name="source.sdo" value="src/_SDOPackage"/>
+ <property name="source.rtc" value="src/RTC"/>
+
+ <property name="dist.dir" value="jar" />
+ <property name="build.dir" value="bin"/>
+ <property name="icons.dir" value="icons"/>
+ <property name="lib.dir" value="lib"/>
+
+ <property environment="env"/>
+ <property name="eclipse.home" value="${env.ECLIPSE_HOME}"/>
+
+ <property name="idl.path" value="idl" />
+ <property name="idl.SDOPackage" value="${idl.path}/SDOPackage11.idl" />
+ <property name="idl.RTC" value="${idl.path}/RTC10.idl" />
+ <property name="idl.Manager" value="${idl.path}/Manager.idl" />
+ <property name="idl.ComponentObserver" value="${idl.path}/ComponentObserver.idl" />
+ <property name="idl.Logger" value="${idl.path}/Logger.idl" />
+
+ <target name="buildAll">
+ <antcall target="clean" />
+ <antcall target="idlCompile" />
+ </target>
+
+ <target name="idlCompile" description="IDLファイルをコンパイルします">
+ <delete dir="${source.sdo}" />
+ <delete dir="${source.rtc}" />
+ <exec executable="${java.home}\..\bin\idlj">
+ <arg line="-fall -td ${source} -i ${idl.path} -emitAll ${idl.SDOPackage}"/>
+ </exec>
+ <exec executable="${java.home}\..\bin\idlj">
+ <arg line="-fall -td ${source} -i ${idl.path} -emitAll ${idl.RTC}"/>
+ </exec>
+ <exec executable="${java.home}\..\bin\idlj">
+ <arg line="-fall -td ${source} -i ${idl.path} -emitAll ${idl.Manager}"/>
+ </exec>
+ <exec executable="${java.home}\..\bin\idlj" >
+ <arg line="-fall -td ${source} -i ${idl.path} -emitAll ${idl.ComponentObserver}" />
+ </exec>
+ <exec executable="${java.home}\..\bin\idlj">
+ <arg line="-fall -td ${source} -i ${idl.path} -emitAll ${idl.Logger}"/>
+ </exec>
+
+ <exec executable="n2a.bat">
+ <arg line="${source}\_SDOPackage\*.java"/>
+ </exec>
+ <exec executable="n2a.bat">
+ <arg line="${source}\OpenRTM\*.java"/>
+ </exec>
+ <exec executable="n2a.bat">
+ <arg line="${source}\RTC\*.java"/>
+ </exec>
+ <exec executable="n2a.bat">
+ <arg line="${source}\RTM\*.java"/>
+ </exec>
+
+ </target>
+
+ <target name="clean" description="ビルドで生成されたファイルを削除します">
+ <delete includeEmptyDirs="true" quiet="true">
+ <fileset dir="${build.dir}" includes="**/*.class" />
+ <fileset dir="." includes="**/*.log" />
+ </delete>
+ <delete dir="${build.dir}/_SDOPackage" quiet="true"/>
+ <delete dir="${build.dir}/OpenRTM" quiet="true"/>
+ <delete dir="${build.dir}/RTM" quiet="true"/>
+ <delete dir="${build.dir}/RTC" quiet="true"/>
+ <delete dir="${build.dir}/jp" quiet="true"/>
+ <delete dir="${source}/_SDOPackage" quiet="true"/>
+ <delete dir="${source}/OpenRTM" quiet="true"/>
+ <delete dir="${source}/RTM" quiet="true"/>
+ <delete dir="${source}/RTC" quiet="true"/>
+ <delete dir="${dist.dir}" quiet="true"/>
+ </target>
+
+</project>
Property changes on: trunk/rtmtools/jp.go.aist.rtm.toolscommon/buildForClient.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/rtmtools/jp.go.aist.rtm.toolscommon/n2a.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.toolscommon/n2a.bat 2016-03-10 03:56:12 UTC (rev 584)
+++ trunk/rtmtools/jp.go.aist.rtm.toolscommon/n2a.bat 2016-03-11 04:11:37 UTC (rev 585)
@@ -1,5 +1,5 @@
for %%A in (%1) do (
- native2ascii.exe %%A %%A.tmp
+ "%JAVA_HOME%\bin\native2ascii.exe" %%A %%A.tmp
del %%A
move %%A.tmp %%A
)
More information about the openrtm-commit
mailing list