+ // if (trg.indexOf(DataType.DOS_FILE_SEPARATOR) == -1 && trg.indexOf(DataType.UNIX_FILE_SEPARATOR) == -1) {\r
+ // Log.err("The module name must include a path");\r
+ // return false;\r
+ // }\r
+ trg = this.getModulePath();\r
+ if (src.equals(trg)) {\r
+ Log.wrn("Clone", "The source and destination couldn't be same");\r
+ return false;\r
+ }\r
+ trgFile = new File(trg);\r
+ if (trgFile.exists()) {\r
+ Log.wrn("Clone", "The target module already exists");\r
+ return false;\r
+ }\r