diff options
4 files changed, 17 insertions, 4 deletions
diff --git a/Tools/Source/MigrationTools/MANIFEST.MF b/Tools/Source/MigrationTools/MANIFEST.MF index 2786db510b..ae3092ebad 100644 --- a/Tools/Source/MigrationTools/MANIFEST.MF +++ b/Tools/Source/MigrationTools/MANIFEST.MF @@ -1,2 +1,2 @@ Manifest-Version: 1.0
-Main-Class: org.tianocore.migration.ModuleInfo
+Main-Class: org.tianocore.migration.MigrationTool
diff --git a/Tools/Source/MigrationTools/MigrationTools.msa b/Tools/Source/MigrationTools/MigrationTools.msa index 0a4ed2e366..e7c78f4ac8 100644 --- a/Tools/Source/MigrationTools/MigrationTools.msa +++ b/Tools/Source/MigrationTools/MigrationTools.msa @@ -41,5 +41,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Filename>org/tianocore/migration/MsaWriter.java</Filename>
<Filename>org/tianocore/migration/SourceFileReplacer.java</Filename>
<Filename>org/tianocore/migration/UI.java</Filename>
+ <Filename>org/tianocore/migration/MsaTreeEditor.java</Filename>
+ <Filename>org/tianocore/migration/MigrationTool.java</Filename>
+ <Filename>org/tianocore/migration/Critic.java</Filename>
+ <Filename>org/tianocore/migration/Common.java</Filename>
</SourceFiles>
</ModuleSurfaceArea>
\ No newline at end of file diff --git a/Tools/Source/MigrationTools/org/tianocore/migration/MigrationTool.java b/Tools/Source/MigrationTools/org/tianocore/migration/MigrationTool.java new file mode 100644 index 0000000000..be8d55a2e1 --- /dev/null +++ b/Tools/Source/MigrationTools/org/tianocore/migration/MigrationTool.java @@ -0,0 +1,8 @@ +package org.tianocore.migration;
+
+public class MigrationTool {
+ public static void main(String[] args) throws Exception {
+ ModuleInfo.ui = FirstPanel.init();
+ ModuleInfo.db = new Database();
+ }
+}
diff --git a/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java b/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java index af1259ed62..2f3af0309e 100644 --- a/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java +++ b/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java @@ -33,8 +33,8 @@ public class ModuleInfo { moduleScan();
}
- private static UI ui = null; //if MIM is still usefull, this can be given to it
- private static Database db = null; //if MIM is still usefull, this can be given to it
+ public static UI ui = null; //if MIM is still usefull, this can be given to it
+ public static Database db = null; //if MIM is still usefull, this can be given to it
public String modulepath = null;
@@ -287,9 +287,10 @@ public class ModuleInfo { }
return false;
}
-
+/*
public static final void main(String[] args) throws Exception {
ui = FirstPanel.init();
db = new Database();
}
+ */
}
\ No newline at end of file |