[openrtm-commit:02870] r770 - trunk/rtmtools/jp.go.aist.rtm.cuirtcbuilder/src/jp/go/aist/rtm/cuirtcbuilder
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 10月 15日 (日) 22:20:59 JST
Author: ga
Date: 2017-10-15 22:20:59 +0900 (Sun, 15 Oct 2017)
New Revision: 770
Modified:
trunk/rtmtools/jp.go.aist.rtm.cuirtcbuilder/src/jp/go/aist/rtm/cuirtcbuilder/CuiRtcBuilder.java
Log:
#4267 Changed check method for IDL
Modified: trunk/rtmtools/jp.go.aist.rtm.cuirtcbuilder/src/jp/go/aist/rtm/cuirtcbuilder/CuiRtcBuilder.java
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.cuirtcbuilder/src/jp/go/aist/rtm/cuirtcbuilder/CuiRtcBuilder.java 2017-10-12 05:17:26 UTC (rev 769)
+++ trunk/rtmtools/jp.go.aist.rtm.cuirtcbuilder/src/jp/go/aist/rtm/cuirtcbuilder/CuiRtcBuilder.java 2017-10-15 13:20:59 UTC (rev 770)
@@ -103,13 +103,14 @@
generator.addGenerateManager(PyCmanager);
generator.addGenerateManager(Pymanager);
try {
- List<GeneratedResult> results = generator.generateTemplateCode(generatorParam, idlDirs, true);
+ generator.validate(generatorParam.getRtcParam());
+ List<GeneratedResult> results = generator.generateTemplateCode(generatorParam, idlDirs);
for(GeneratedResult target : results) {
String fileName = targetDir + File.separator + target.getName().replace("/", File.separator);
writeFile(fileName, target.getCode(), "UTF-8");
}
//
- RtcParam rtcParam = generatorParam.getRtcParams().get(0);
+ RtcParam rtcParam = generatorParam.getRtcParam();
for( IdlFileParam idlFile : rtcParam.getProviderIdlPathes() ) {
String idlTarget = targetDir + File.separator + "idl" + File.separator + idlFile.getIdlFile();
FileChannel src = new FileInputStream(idlFile.getIdlPath()).getChannel();
More information about the openrtm-commit
mailing list