[openrtm-commit:01903] r612 - trunk/rtmtools/jp.go.aist.rtm.toolscommon
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 4月 16日 (土) 13:34:19 JST
Author: ga
Date: 2016-04-16 13:34:19 +0900 (Sat, 16 Apr 2016)
New Revision: 612
Modified:
trunk/rtmtools/jp.go.aist.rtm.toolscommon/build.xml
trunk/rtmtools/jp.go.aist.rtm.toolscommon/n2a
Log:
Modified: trunk/rtmtools/jp.go.aist.rtm.toolscommon/build.xml
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.toolscommon/build.xml 2016-04-14 03:59:22 UTC (rev 611)
+++ trunk/rtmtools/jp.go.aist.rtm.toolscommon/build.xml 2016-04-16 04:34:19 UTC (rev 612)
@@ -64,7 +64,7 @@
<exec executable="${java.home}\..\bin\idlj">
<arg line="-fall -td ${source} -i ${idl.path} -emitAll ${idl.Logger}"/>
</exec>
-<!--
+
<exec executable="n2a">
<arg line="${source}\_SDOPackage\*.java"/>
</exec>
@@ -77,7 +77,7 @@
<exec executable="n2a">
<arg line="${source}\RTM\*.java"/>
</exec>
--->
+
</target>
<target name="clean" description="ビルドで生成されたファイルを削除します">
Modified: trunk/rtmtools/jp.go.aist.rtm.toolscommon/n2a
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.toolscommon/n2a 2016-04-14 03:59:22 UTC (rev 611)
+++ trunk/rtmtools/jp.go.aist.rtm.toolscommon/n2a 2016-04-16 04:34:19 UTC (rev 612)
@@ -1,8 +1,8 @@
-#!/bin/sh
-#
-for var in $1
-do
- "%JAVA_HOME%/bin/native2ascii" var var.tmp
- del var
- move var.tmp var
-done
+#!/bin/bash
+
+for var in $* ; do
+ echo $var
+ $JAVA_HOME/bin/native2ascii $var $var.tmp
+ rm $var
+ mv $var.tmp $var
+done
More information about the openrtm-commit
mailing list