[openrtm-commit:02942] r777 - trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/manager

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 12月 2日 (土) 19:43:29 JST


Author: ga
Date: 2017-12-02 19:43:29 +0900 (Sat, 02 Dec 2017)
New Revision: 777

Modified:
   trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/manager/CommonGenerateManager.java
Log:
The character code was modified. #4376

Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/manager/CommonGenerateManager.java
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/manager/CommonGenerateManager.java	2017-12-02 10:37:52 UTC (rev 776)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/manager/CommonGenerateManager.java	2017-12-02 10:43:29 UTC (rev 777)
@@ -51,8 +51,7 @@
 	public List<GeneratedResult> generateTemplateCode10(
 			Map<String, Object> contextMap) {
 		List<GeneratedResult> result = new ArrayList<GeneratedResult>();
-		RtcParam rtcParam = (RtcParam) contextMap.get("rtcParam");
-
+		
 		GeneratedResult gr;
 
 		gr = generateREADME(contextMap);
@@ -76,16 +75,12 @@
 		return generate(infile, outfile, contextMap);
 	}
 
-	public GeneratedResult generateRTCConf(Map<String, Object> contextMap) {
-		String outfile = "rtc.conf";
-		String infile = "common/rtc.conf.vsl";
-		return generate(infile, outfile, contextMap);
-	}
-
 	public GeneratedResult generateRTCConf10(Map<String, Object> contextMap) {
 		String outfile = "rtc.conf";
 		String infile = "common/rtc.conf.vsl";
-		return generate(infile, outfile, contextMap);
+		GeneratedResult result = generate(infile, outfile, contextMap);
+		result.setNotBom(true);
+		return result;
 	}
 
 	public GeneratedResult generateComponentConf(Map<String, Object> contextMap) {
@@ -92,7 +87,9 @@
 		RtcParam rtcParam = (RtcParam) contextMap.get("rtcParam");
 		String outfile = rtcParam.getName() + ".conf";
 		String infile = "common/Component.conf.vsl";
-		return generate(infile, outfile, contextMap);
+		GeneratedResult result = generate(infile, outfile, contextMap);
+		result.setNotBom(true);
+		return result;
 	}
 
 	public GeneratedResult generate(String infile, String outfile,



More information about the openrtm-commit mailing list