[openrtm-commit:00883] r344 - in trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python: resource/100/Doc/author resource/100/Doc/authorLong resource/100/Doc/full resource/100/Doc/refer resource/100/aist/AIST1 resource/100/aist/AIST2 resource/100/aist/AIST3 resource/100/aist/AIST4 resource/100/base/service1 resource/100/base/service2 resource/100/build/cmake1 resource/100/build/cmake2 resource/100/idlinherit/inherit1 resource/100/idlinherit/inherit2 resource/100/idltype/type2 resource/100/idltype/type3 resource/100/module/serviceM resource/100/module/serviceM2 src/jp/go/aist/rtm/rtcbuilder/python/manager src/jp/go/aist/rtm/rtcbuilder/python/template/python
openrtm @ openrtm.org
openrtm @ openrtm.org
2012年 8月 13日 (月) 16:15:25 JST
Author: sakamoto
Date: 2012-08-13 16:15:25 +0900 (Mon, 13 Aug 2012)
New Revision: 344
Modified:
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/author/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/authorLong/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/full/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/refer/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST1/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST2/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST3/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST4/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service1/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service2/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake1/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake2/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit1/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit2/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type2/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type3/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM2/idlcompile.bat
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/manager/PythonGenerateManager.java
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.bat.vsl
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.sh.vsl
Log:
Modified IDL Compile Template
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/author/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/author/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/author/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/authorLong/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/authorLong/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/authorLong/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/full/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/full/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/full/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/refer/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/refer/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/refer/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST1/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST1/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST1/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST2/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST2/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST2/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST3/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST3/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST3/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST4/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST4/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST4/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service1/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service1/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service1/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service2/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service2/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service2/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake1/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake1/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake1/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake2/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake2/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake2/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" -I"D:\GlobalAssist\EclipseAISTRep\jp.go.aist.rtm.rtcbuilder.python\resource/100/build/cmake2" idl/MyServiceChildMulti.idl idl/MyServiceChildWithType.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" -I"D:\GlobalAssist\EclipseAISTRep\jp.go.aist.rtm.rtcbuilder.python\resource/100/build/cmake2" idl/MyServiceChildMulti.idl idl/MyServiceChildWithType.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit1/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit1/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit1/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" -I"D:\GlobalAssist\EclipseAISTRep\jp.go.aist.rtm.rtcbuilder.python\resource/100/idlinherit/inherit1" idl/MyServiceChildMulti.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" -I"D:\GlobalAssist\EclipseAISTRep\jp.go.aist.rtm.rtcbuilder.python\resource/100/idlinherit/inherit1" idl/MyServiceChildMulti.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit2/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit2/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit2/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" -I"D:\GlobalAssist\EclipseAISTRep\jp.go.aist.rtm.rtcbuilder.python\resource/100/idlinherit/inherit2" idl/MyServiceChildMulti.idl idl/MyServiceChildWithType.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" -I"D:\GlobalAssist\EclipseAISTRep\jp.go.aist.rtm.rtcbuilder.python\resource/100/idlinherit/inherit2" idl/MyServiceChildMulti.idl idl/MyServiceChildWithType.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type2/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type2/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type2/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type3/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type3/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type3/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM2/idlcompile.bat
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM2/idlcompile.bat 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM2/idlcompile.bat 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,9 +1,8 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/manager/PythonGenerateManager.java
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/manager/PythonGenerateManager.java 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/manager/PythonGenerateManager.java 2012-08-13 07:15:25 UTC (rev 344)
@@ -75,10 +75,8 @@
// IDLファイル内に記述されているServiceClassParamを設定する
for (IdlFileParam idlFileParam : allIdlFileParams) {
- for (ServiceClassParam serviceClassParam : rtcParam
- .getServiceClassParams()) {
- if (idlFileParam.getIdlPath().equals(
- serviceClassParam.getIdlPath()))
+ for (ServiceClassParam serviceClassParam : rtcParam.getServiceClassParams()) {
+ if (idlFileParam.getIdlPath().equals(serviceClassParam.getIdlPath()))
idlFileParam.addServiceClassParams(serviceClassParam);
}
}
@@ -108,7 +106,8 @@
gr = generatePythonSource(contextMap);
result.add(gr);
- if (allIdlFileParams.size() > 0) {
+// if ( 0<allIdlFileParams.size() || 0<rtcParam.getIdlPathes().size()) {
+ if ( 0<allIdlFileParams.size() ) {
gr = generateIDLCompileBat(contextMap);
result.add(gr);
gr = generateIDLCompileSh(contextMap);
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.bat.vsl
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.bat.vsl 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.bat.vsl 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,12 +1,11 @@
echo off
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
-if exist hoge do (
- set mypythonpath=%f:python.exe=%
- omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" #foreach($IdlPath in ${idlPathes})-I"${IdlPath}" #end#foreach($IdlFile in ${allIdlFileParam})idl/${IdlFile.IdlFile} #end
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" #foreach($IdlPath in ${idlPathes})-I"${IdlPath}" #end#foreach($IdlFile in ${allIdlFileParam})idl/${IdlFile.IdlFile} #end
) else do (
echo "python.exe" can not be found.
echo Please modify PATH environmental variable for python command.
)
-endlocal
\ No newline at end of file
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.sh.vsl
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.sh.vsl 2012-08-13 07:14:32 UTC (rev 343)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.sh.vsl 2012-08-13 07:15:25 UTC (rev 344)
@@ -1,2 +1,3 @@
#!/bin/sh
omniidl -bpython -I"%RTM_ROOT%rtm\idl" #foreach($IdlPath in ${idlPathes})-I"${IdlPath}" #end#foreach($IdlFile in ${allIdlFileParam})idl/${IdlFile.IdlFile} #end
+
More information about the openrtm-commit
mailing list