修改编译文件路径

master
Qin Dong Ming 2024-09-06 21:19:48 +08:00
parent 28bf94c2c0
commit e5994f523f
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public class RuleTest {
try { try {
//外部类文件路径 //外部类文件路径
String externalClassFilePath = String externalClassFilePath =
engineWorkSourcePath + "/com/muyu/abstracts/" + engineVersion.getName() + ".class"; engineWorkSourcePath + engineVersion.getName() + ".class";
Path classFilePath = Paths.get(externalClassFilePath); Path classFilePath = Paths.get(externalClassFilePath);
//获取外部类所在的目录 //获取外部类所在的目录
String externalClassDir = externalClassFilePath.substring(0, externalClassFilePath.lastIndexOf('/')); String externalClassDir = externalClassFilePath.substring(0, externalClassFilePath.lastIndexOf('/'));