Add MigrationTool.java
authoralfred <alfred@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 21 Aug 2006 07:22:45 +0000 (07:22 +0000)
committeralfred <alfred@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 21 Aug 2006 07:22:45 +0000 (07:22 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1333 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/MigrationTools/MANIFEST.MF
Tools/Source/MigrationTools/MigrationTools.msa
Tools/Source/MigrationTools/org/tianocore/migration/MigrationTool.java [new file with mode: 0644]
Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java

index 2786db510b47093d0d7d89481b1de3a604ebcd2b..ae3092ebad41282338942bc8feccf7ae4a21e38e 100644 (file)
@@ -1,2 +1,2 @@
 Manifest-Version: 1.0\r
-Main-Class: org.tianocore.migration.ModuleInfo\r
+Main-Class: org.tianocore.migration.MigrationTool\r
index 0a4ed2e3660d25e8784d1b9be4fd5c01c9f6f31d..e7c78f4ac8366695d13864e37081df45a0d5870d 100644 (file)
@@ -41,5 +41,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     <Filename>org/tianocore/migration/MsaWriter.java</Filename> \r
     <Filename>org/tianocore/migration/SourceFileReplacer.java</Filename>\r
     <Filename>org/tianocore/migration/UI.java</Filename>\r
+    <Filename>org/tianocore/migration/MsaTreeEditor.java</Filename> \r
+    <Filename>org/tianocore/migration/MigrationTool.java</Filename> \r
+    <Filename>org/tianocore/migration/Critic.java</Filename> \r
+    <Filename>org/tianocore/migration/Common.java</Filename>\r
   </SourceFiles>\r
 </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 (file)
index 0000000..be8d55a
--- /dev/null
@@ -0,0 +1,8 @@
+package org.tianocore.migration;\r
+\r
+public class MigrationTool {\r
+       public static void main(String[] args) throws Exception {\r
+               ModuleInfo.ui = FirstPanel.init();\r
+               ModuleInfo.db = new Database();\r
+       }\r
+}\r
index af1259ed62774241ada1c1ef88bfe974a80a1c26..2f3af0309e9c16b8fda479de182c0eab1d5bfec2 100644 (file)
@@ -33,8 +33,8 @@ public class ModuleInfo {
                moduleScan();\r
        }\r
 \r
-       private static UI ui = null;                            //if MIM is still usefull, this can be given to it\r
-       private static Database db = null;                      //if MIM is still usefull, this can be given to it\r
+       public static UI ui = null;                             //if MIM is still usefull, this can be given to it\r
+       public static Database db = null;                       //if MIM is still usefull, this can be given to it\r
        \r
        public String modulepath = null;\r
        \r
@@ -287,9 +287,10 @@ public class ModuleInfo {
                }\r
                return false;\r
        }\r
-\r
+/*\r
        public static final void main(String[] args) throws Exception {\r
                ui = FirstPanel.init();\r
                db = new Database();\r
        }\r
+       */\r
 }
\ No newline at end of file