11111
parent
949586fd13
commit
3097091526
|
@ -115,7 +115,7 @@ public class RuleEngineVersionServiceImpl extends ServiceImpl<RuleEngineVersionM
|
|||
EngineConfig engineConfig = new EngineConfig();
|
||||
|
||||
// String filePath ="home/"+ossFilePath;
|
||||
String filePath = engineConfig.getSourcePath() + ossFilePath;
|
||||
String filePath = engineWorkSourcePath + ossFilePath+"/";
|
||||
//创建服务器项目容器的java源码文件目录路径
|
||||
File serverFile = new File(engineWorkSourcePath, ossFilePath);
|
||||
//如果目录不存在,则创建目录
|
||||
|
@ -145,7 +145,7 @@ public class RuleEngineVersionServiceImpl extends ServiceImpl<RuleEngineVersionM
|
|||
OutputStream second = null; // 程序的输出 null 用 system.out
|
||||
OutputStream third = null; // 程序的错误输出 .,null 用 system.err
|
||||
// 程序编译参数 注意 我们编译目录是我们的项目目录
|
||||
String[] strings = {"-classpath", "home/lib", "-verbose", "-d", "home/lib", "home/source/" + className + ".java"};
|
||||
String[] strings = {"-classpath", "home/lib/", "-verbose", "-d", "home/lib/", "home/source/" + className + ".java"};
|
||||
log.info("规则引擎的编译参数{}[]", Arrays.toString(strings));
|
||||
// 0 表示成功, 其他表示出现了错误
|
||||
System.out.println(Arrays.toString(strings));
|
||||
|
|
Loading…
Reference in New Issue