|
@@ -135,17 +135,6 @@ public class OBJToGLBUtil {
|
|
|
//ShellUtil.execCmd("cp -r " + objPath + " " + dockerPath+ objPathFile.getName() );
|
|
|
File file = new File(targetPath);
|
|
|
FileUtil.copyContent(objPathFile,file,true);
|
|
|
- String dirName = "";
|
|
|
- if(file.exists()){
|
|
|
- File[] files = file.listFiles();
|
|
|
- for (File file1 : files) {
|
|
|
- if(file1.isDirectory()){
|
|
|
- dirName = file1.getName();
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- targetPath +="/" + dirName;
|
|
|
- sourcePath +="/" + dirName;
|
|
|
|
|
|
String cmd = ShellCmd.osgbTob3dmCmd.replaceAll("@path",FilePath.MNT_BASE_PATH);
|
|
|
cmd =cmd.replaceAll("@inputFile",targetPath);
|