修改C++生成脚本时报错
This commit is contained in:
parent
5ef20c0399
commit
319879574c
|
@ -208,6 +208,7 @@ public class GameController extends BaseController {
|
|||
try {
|
||||
GeneratePipeline generatePipeline = (GeneratePipeline) Class
|
||||
.forName(pipeLineConfig.getClassName().get(index)).newInstance();
|
||||
logger.debug(params.toString());
|
||||
pipeline = generatePipeline.generateFullPipeline(params);
|
||||
} catch (ClassNotFoundException e) {
|
||||
logger.debug("找不到生成pipeline所需要的类");
|
||||
|
|
|
@ -75,8 +75,11 @@ public class GeneratePipelineJava extends GeneratePipeline{
|
|||
String pipelineTemplateFileName=params.get("pipelineTemplateFileName");
|
||||
String challengePipeline=params.get("challengePipeline");
|
||||
String mainContainer=params.get("mainContainer");
|
||||
logger.debug("HERE!");
|
||||
String fullPipeline=StringUtil.getCofigureFileContent(pipelineTemplateFileName);
|
||||
logger.debug("HERE2");
|
||||
fullPipeline=fullPipeline.replaceFirst("MAINCONTAINER", mainContainer).replace("CHALLENGEPIPELINES", challengePipeline);
|
||||
logger.debug("HERE3");
|
||||
fullPipeline=podTemplate+fullPipeline;
|
||||
return fullPipeline;
|
||||
|
||||
|
|
Loading…
Reference in New Issue