diff options
author | hche10x <hche10x@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-12-11 06:09:30 +0000 |
---|---|---|
committer | hche10x <hche10x@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-12-11 06:09:30 +0000 |
commit | 3cbeeeb8d7af8ebd795146e64fafd147b2953692 (patch) | |
tree | a6fefdd0205a4edfee7b80c1a8e65613ef5e4668 | |
parent | 4629ca40b7d22356337ba5811e9220f0dd1e14ce (diff) | |
download | edk2-platforms-3cbeeeb8d7af8ebd795146e64fafd147b2953692.tar.xz |
1. Fix EDKT483 FrameworkWizard Should support multiple msa files in a same directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2081 6f19259b-4bc3-4df7-8a09-765794883524
-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
|