[openrtm-commit:02431] r677 - in trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python: manager template/python
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 2月 11日 (土) 12:47:43 JST
Author: ga
Date: 2017-02-11 12:47:43 +0900 (Sat, 11 Feb 2017)
New Revision: 677
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/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 bat/sh file for Python #3907
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 2017-02-11 03:34:58 UTC (rev 676)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/manager/PythonGenerateManager.java 2017-02-11 03:47:43 UTC (rev 677)
@@ -69,9 +69,11 @@
}
List<IdlFileParam> allIdlFileParams = new ArrayList<IdlFileParam>();
- allIdlFileParams = new ArrayList<IdlFileParam>();
allIdlFileParams.addAll(rtcParam.getProviderIdlPathes());
allIdlFileParams.addAll(rtcParam.getConsumerIdlPathes());
+ List<IdlFileParam> allIdlFileParamsForBuild = new ArrayList<IdlFileParam>();
+ allIdlFileParamsForBuild.addAll(allIdlFileParams);
+ allIdlFileParamsForBuild.addAll(rtcParam.getIncludedIdlPathes());
// IDLファイル内に記述されているServiceClassParamを設定する
for (IdlFileParam idlFileParam : allIdlFileParams) {
@@ -92,6 +94,7 @@
contextMap.put("pyConv", new PythonConverter());
contextMap.put("allIdlFileParam", allIdlFileParams);
contextMap.put("idlPathes", rtcParam.getIdlPathes());
+ contextMap.put("allIdlFileParamBuild", allIdlFileParamsForBuild);
return generateTemplateCode10(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 2017-02-11 03:34:58 UTC (rev 676)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.bat.vsl 2017-02-11 03:47:43 UTC (rev 677)
@@ -2,7 +2,7 @@
setlocal
for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
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
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" #foreach($IdlPath in ${idlPathes})-I"${IdlPath}" #end#foreach($IdlFile in ${allIdlFileParamBuild})idl/${IdlFile.IdlFile} #end
) else (
echo "python.exe" can not be found.
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 2017-02-11 03:34:58 UTC (rev 676)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.sh.vsl 2017-02-11 03:47:43 UTC (rev 677)
@@ -1,3 +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
+omniidl -bpython -I"%RTM_ROOT%rtm\idl" #foreach($IdlPath in ${idlPathes})-I"${IdlPath}" #end#foreach($IdlFile in ${allIdlFileParamBuild})idl/${IdlFile.IdlFile} #end
More information about the openrtm-commit
mailing list