diff options
Diffstat (limited to 'Tools/Java/Source')
-rw-r--r-- | Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/Clone.java | 14 | ||||
-rw-r--r-- | Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/SelectModuleBelong.java | 10 |
2 files changed, 16 insertions, 8 deletions
diff --git a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/Clone.java b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/Clone.java index 6264a409e4..f4aebe0483 100644 --- a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/Clone.java +++ b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/Clone.java @@ -709,10 +709,16 @@ public class Clone extends IDialog { Log.wrn("Clone", "The target module already exists!");
return false;
}
- if (GlobalData.isDuplicateRelativePath(Tools.getFilePathOnly(trg), mode)) {
- Log.wrn("Clone", "There already exists a same directory with a module");
- return false;
- }
+
+ //
+ // Check if path already exists
+ // Currently we allow user to add multiple msa files in one same directory
+ // Remove this checkpoint
+ //
+// if (GlobalData.isDuplicateRelativePath(Tools.getFilePathOnly(trg), mode)) {
+// Log.wrn("Clone", "There already exists a same directory with a module");
+// return false;
+// }
return checkId(mode);
}
diff --git a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/SelectModuleBelong.java b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/SelectModuleBelong.java index 70342e73cd..e2b306ac9e 100644 --- a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/SelectModuleBelong.java +++ b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/SelectModuleBelong.java @@ -540,11 +540,13 @@ public class SelectModuleBelong extends IDialog { //
// Check if path already exists
+ // Currently we allow user to add multiple msa files in one same directory
+ // Remove this checkpoint
//
- if (GlobalData.isDuplicateRelativePath(Tools.getFilePathOnly(modulePath), mode)) {
- Log.wrn("New File", "There already exists a same directory with a module");
- return false;
- }
+// if (GlobalData.isDuplicateRelativePath(Tools.getFilePathOnly(modulePath), mode)) {
+// Log.wrn("New File", "There already exists a same directory with a module");
+// return false;
+// }
//
// Check if Guid+Version is unique
|