[openrtm-commit:02941] r776 - trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.java/src/jp/go/aist/rtm/rtcbuilder/java/manager
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 12月 2日 (土) 19:37:52 JST
Author: ga
Date: 2017-12-02 19:37:52 +0900 (Sat, 02 Dec 2017)
New Revision: 776
Modified:
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.java/src/jp/go/aist/rtm/rtcbuilder/java/manager/JavaGenerateManager.java
Log:
The character code was modified. #4376
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.java/src/jp/go/aist/rtm/rtcbuilder/java/manager/JavaGenerateManager.java
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.java/src/jp/go/aist/rtm/rtcbuilder/java/manager/JavaGenerateManager.java 2017-12-02 10:37:40 UTC (rev 775)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.java/src/jp/go/aist/rtm/rtcbuilder/java/manager/JavaGenerateManager.java 2017-12-02 10:37:52 UTC (rev 776)
@@ -154,13 +154,15 @@
return result;
}
- // 1.0系 (Java)
+ // ソースコード
public GeneratedResult generateCompSource(Map<String, Object> contextMap) {
RtcParam rtcParam = (RtcParam) contextMap.get("rtcParam");
String outfile = "src/" + rtcParam.getName() + "Comp.java";
String infile = "java/Java_Comp.java.vsl";
- return generate(infile, outfile, contextMap);
+ GeneratedResult result = generate(infile, outfile, contextMap);
+ result.setNotBom(true);
+ return result;
}
public GeneratedResult generateRTCSource(Map<String, Object> contextMap) {
@@ -167,7 +169,9 @@
RtcParam rtcParam = (RtcParam) contextMap.get("rtcParam");
String outfile = "src/" + rtcParam.getName() + ".java";
String infile = "java/Java_RTC.java.vsl";
- return generate(infile, outfile, contextMap);
+ GeneratedResult result = generate(infile, outfile, contextMap);
+ result.setNotBom(true);
+ return result;
}
public GeneratedResult generateRTCImplSource(Map<String, Object> contextMap) {
@@ -174,7 +178,9 @@
RtcParam rtcParam = (RtcParam) contextMap.get("rtcParam");
String outfile = "src/" + rtcParam.getName() + "Impl.java";
String infile = "java/Java_RTC_Impl.java.vsl";
- return generate(infile, outfile, contextMap);
+ GeneratedResult result = generate(infile, outfile, contextMap);
+ result.setNotBom(true);
+ return result;
}
public GeneratedResult generateSVCSource(Map<String, Object> contextMap) {
@@ -183,7 +189,9 @@
String outfile = "src/" + TemplateHelper.getBasename(svc.getName())
+ TemplateHelper.getServiceImplSuffix() + ".java";
String infile = "java/Java_SVC.java.vsl";
- return generate(infile, outfile, contextMap);
+ GeneratedResult result = generate(infile, outfile, contextMap);
+ result.setNotBom(true);
+ return result;
}
public GeneratedResult generateClassPath(Map<String, Object> contextMap) {
@@ -196,7 +204,9 @@
RtcParam rtcParam = (RtcParam) contextMap.get("rtcParam");
String outfile = rtcParam.getName() + ".bat";
String infile = "java/run.bat.vsl";
- return generate(infile, outfile, contextMap);
+ GeneratedResult result = generate(infile, outfile, contextMap);
+ result.setNotBom(true);
+ return result;
}
public GeneratedResult generateRunSh(Map<String, Object> contextMap) {
@@ -203,7 +213,9 @@
RtcParam rtcParam = (RtcParam) contextMap.get("rtcParam");
String outfile = rtcParam.getName() + ".sh";
String infile = "java/run.sh.vsl";
- return generate(infile, outfile, contextMap);
+ GeneratedResult result = generate(infile, outfile, contextMap);
+ result.setNotBom(true);
+ return result;
}
// 1.0系 (ビルド環境)
More information about the openrtm-commit
mailing list