feat():测试
parent
10a211b6ef
commit
602de88ba3
|
@ -46,7 +46,7 @@ public class OSSFileLoad {
|
||||||
return Result.error("预下载文件不存在");
|
return Result.error("预下载文件不存在");
|
||||||
}
|
}
|
||||||
// 本地文件下载路径
|
// 本地文件下载路径
|
||||||
String localPath = "home/app.jar"+fileName;
|
String localPath = "home/app.jar/"+fileName;
|
||||||
// ObjectMetadata object = ossClient.getObject(new GetObjectRequest(bucketName, filePath + fileName), new File(localPath));
|
// ObjectMetadata object = ossClient.getObject(new GetObjectRequest(bucketName, filePath + fileName), new File(localPath));
|
||||||
// System.out.println(object);
|
// System.out.println(object);
|
||||||
//
|
//
|
||||||
|
@ -76,9 +76,9 @@ public class OSSFileLoad {
|
||||||
}
|
}
|
||||||
|
|
||||||
//对路径里的.java文件进行编译
|
//对路径里的.java文件进行编译
|
||||||
SourceCodeCompiler.javaCompilerPath("/home/app.jar");
|
SourceCodeCompiler.javaCompilerPath("/home/app.jar/");
|
||||||
System.out.println("第一步");
|
System.out.println("第一步");
|
||||||
File outputDir = new File("home/app.jar"); // 或者是你指定的其他输出目录
|
File outputDir = new File("home/app.jar/"); // 或者是你指定的其他输出目录
|
||||||
System.out.println("第一步");
|
System.out.println("第一步");
|
||||||
File[] classFiles = outputDir.listFiles(); // 获取输出目录中的所有文件
|
File[] classFiles = outputDir.listFiles(); // 获取输出目录中的所有文件
|
||||||
System.out.println("第三步");
|
System.out.println("第三步");
|
||||||
|
|
Loading…
Reference in New Issue