[openrtm-commit:00881] r342 - 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月 10日 (金) 14:24:27 JST
Author:
Date: 2012-08-10 14:24:27 +0900 (Fri, 10 Aug 2012)
New Revision: 342
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.sh
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.sh
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.sh
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.sh
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.sh
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.sh
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.sh
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.sh
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.sh
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.sh
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.sh
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.sh
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.sh
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.sh
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.sh
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.sh
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.sh
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.sh
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/Py_RTC.py.vsl
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 Parse Error Message and IDL Pathes
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/author/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl DAQService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/author/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/author/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/author/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl DAQService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/authorLong/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl DAQService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/authorLong/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/authorLong/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/authorLong/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl DAQService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/full/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl DAQService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/full/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/full/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/full/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl DAQService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/refer/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl DAQService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/refer/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/refer/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/refer/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl DAQService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST1/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST1/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST1/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST1/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST2/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST2/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST2/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST2/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST3/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST3/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST3/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST3/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST4/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST4/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST4/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST4/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service1/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service1/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service1/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service1/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service2/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl DAQService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service2/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service2/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service2/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl DAQService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake1/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl DAQService.idl
\ No newline at end of file
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake1/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake1/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake1/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl DAQService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake2/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyServiceChildMulti.idl MyServiceChildWithType.idl
\ No newline at end of file
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake2/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake2/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake2/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyServiceChildMulti.idl MyServiceChildWithType.idl
+omniidl -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
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit1/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyServiceChildMulti.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit1/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit1/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit1/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyServiceChildMulti.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" -I"D:\GlobalAssist\EclipseAISTRep\jp.go.aist.rtm.rtcbuilder.python\resource/100/idlinherit/inherit1" idl/MyServiceChildMulti.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit2/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyServiceChildMulti.idl MyServiceChildWithType.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit2/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit2/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idlinherit/inherit2/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyServiceChildMulti.idl MyServiceChildWithType.idl
+omniidl -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
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type2/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type2/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type2/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type2/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type3/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type3/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type3/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/idltype/type3/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM2/idlcompile.bat 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,11 @@
-omniidl.exe -bpython MyService.idl DAQService.idl
+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
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM2/idlcompile.sh
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM2/idlcompile.sh 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/module/serviceM2/idlcompile.sh 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython MyService.idl DAQService.idl
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" idl/MyService.idl idl/DAQService.idl
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/manager/PythonGenerateManager.java 2012-08-10 05:24:27 UTC (rev 342)
@@ -90,6 +90,7 @@
contextMap.put("tmpltHelperPy", new TemplateHelperPy());
contextMap.put("pyConv", new PythonConverter());
contextMap.put("allIdlFileParam", allIdlFileParams);
+ contextMap.put("idlPathes", rtcParam.getIdlPathes());
return generateTemplateCode10(contextMap);
}
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/Py_RTC.py.vsl
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/Py_RTC.py.vsl 2012-08-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/Py_RTC.py.vsl 2012-08-10 05:24:27 UTC (rev 342)
@@ -282,6 +282,8 @@
#if(${servicePort.servicePortInterfaces.size()}>0)
self.addPort(self._${servicePort.name}Port)
#end#end#end
+#if(${tmpltHelper.checkDetailContent(0,${rtcParam})}) ${rtcParam.getDetailContent(0)}
+#end
return RTC.RTC_OK
@@ -304,6 +306,8 @@
#end
#if(${rtcParam.IsNotImplemented(1)})${sharp}#end """
#if(${rtcParam.IsNotImplemented(1)})${sharp}#end
+#if(${tmpltHelper.checkDetailContent(1,${rtcParam})}) ${rtcParam.getDetailContent(1)}
+#end
#if(${rtcParam.IsNotImplemented(1)})${sharp}#end return RTC.RTC_OK
@@ -329,6 +333,8 @@
#end
#if(${rtcParam.IsNotImplemented(2)})${sharp}#end """
#if(${rtcParam.IsNotImplemented(2)})${sharp}#end
+#if(${tmpltHelper.checkDetailContent(2,${rtcParam})}) ${rtcParam.getDetailContent(2)}
+#end
#if(${rtcParam.IsNotImplemented(2)})${sharp}#end return RTC.RTC_OK
@@ -354,6 +360,8 @@
#end
#if(${rtcParam.IsNotImplemented(3)})${sharp}#end """
#if(${rtcParam.IsNotImplemented(3)})${sharp}#end
+#if(${tmpltHelper.checkDetailContent(3,${rtcParam})}) ${rtcParam.getDetailContent(3)}
+#end
#if(${rtcParam.IsNotImplemented(3)})${sharp}#end return RTC.RTC_OK
@@ -379,6 +387,8 @@
#end
#if(${rtcParam.IsNotImplemented(4)})${sharp}#end """
#if(${rtcParam.IsNotImplemented(4)})${sharp}#end
+#if(${tmpltHelper.checkDetailContent(4,${rtcParam})}) ${rtcParam.getDetailContent(4)}
+#end
#if(${rtcParam.IsNotImplemented(4)})${sharp}#end return RTC.RTC_OK
@@ -404,6 +414,8 @@
#end
#if(${rtcParam.IsNotImplemented(5)})${sharp}#end """
#if(${rtcParam.IsNotImplemented(5)})${sharp}#end
+#if(${tmpltHelper.checkDetailContent(5,${rtcParam})}) ${rtcParam.getDetailContent(5)}
+#end
#if(${rtcParam.IsNotImplemented(5)})${sharp}#end return RTC.RTC_OK
@@ -429,6 +441,8 @@
#end
#if(${rtcParam.IsNotImplemented(9)})${sharp}#end """
#if(${rtcParam.IsNotImplemented(9)})${sharp}#end
+#if(${tmpltHelper.checkDetailContent(9,${rtcParam})}) ${rtcParam.getDetailContent(9)}
+#end
#if(${rtcParam.IsNotImplemented(9)})${sharp}#end return RTC.RTC_OK
@@ -454,6 +468,8 @@
#end
#if(${rtcParam.IsNotImplemented(6)})${sharp}#end """
#if(${rtcParam.IsNotImplemented(6)})${sharp}#end
+#if(${tmpltHelper.checkDetailContent(6,${rtcParam})}) ${rtcParam.getDetailContent(6)}
+#end
#if(${rtcParam.IsNotImplemented(6)})${sharp}#end return RTC.RTC_OK
@@ -479,6 +495,8 @@
#end
#if(${rtcParam.IsNotImplemented(7)})${sharp}#end """
#if(${rtcParam.IsNotImplemented(7)})${sharp}#end
+#if(${tmpltHelper.checkDetailContent(7,${rtcParam})}) ${rtcParam.getDetailContent(7)}
+#end
#if(${rtcParam.IsNotImplemented(7)})${sharp}#end return RTC.RTC_OK
@@ -504,6 +522,8 @@
#end
#if(${rtcParam.IsNotImplemented(8)})${sharp}#end """
#if(${rtcParam.IsNotImplemented(8)})${sharp}#end
+#if(${tmpltHelper.checkDetailContent(8,${rtcParam})}) ${rtcParam.getDetailContent(8)}
+#end
#if(${rtcParam.IsNotImplemented(8)})${sharp}#end return RTC.RTC_OK
@@ -529,6 +549,8 @@
#end
#if(${rtcParam.IsNotImplemented(10)})${sharp}#end """
#if(${rtcParam.IsNotImplemented(10)})${sharp}#end
+#if(${tmpltHelper.checkDetailContent(10,${rtcParam})}) ${rtcParam.getDetailContent(10)}
+#end
#if(${rtcParam.IsNotImplemented(10)})${sharp}#end return RTC.RTC_OK
@@ -554,6 +576,8 @@
#end
#if(${rtcParam.IsNotImplemented(11)})${sharp}#end """
#if(${rtcParam.IsNotImplemented(11)})${sharp}#end
+#if(${tmpltHelper.checkDetailContent(11,${rtcParam})}) ${rtcParam.getDetailContent(11)}
+#end
#if(${rtcParam.IsNotImplemented(11)})${sharp}#end return RTC.RTC_OK
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.bat.vsl 2012-08-10 05:24:27 UTC (rev 342)
@@ -1 +1,12 @@
-omniidl.exe -bpython #foreach($IdlFile in ${allIdlFileParam})${IdlFile.IdlFile} #end
+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
+
+) 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
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-10 05:24:10 UTC (rev 341)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.sh.vsl 2012-08-10 05:24:27 UTC (rev 342)
@@ -1,2 +1,2 @@
#!/bin/sh
-omniidl -bpython #foreach($IdlFile in ${allIdlFileParam})${IdlFile.IdlFile} #end
+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