From d1d10647bfa04dc45c5b19272deabbfe1bb9da95 Mon Sep 17 00:00:00 2001 From: alfred Date: Mon, 21 Aug 2006 07:22:45 +0000 Subject: [PATCH] Add MigrationTool.java git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1333 6f19259b-4bc3-4df7-8a09-765794883524 --- Tools/Source/MigrationTools/MANIFEST.MF | 2 +- Tools/Source/MigrationTools/MigrationTools.msa | 4 ++++ .../org/tianocore/migration/MigrationTool.java | 8 ++++++++ .../org/tianocore/migration/ModuleInfo.java | 7 ++++--- 4 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 Tools/Source/MigrationTools/org/tianocore/migration/MigrationTool.java 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. org/tianocore/migration/MsaWriter.java org/tianocore/migration/SourceFileReplacer.java org/tianocore/migration/UI.java + org/tianocore/migration/MsaTreeEditor.java + org/tianocore/migration/MigrationTool.java + org/tianocore/migration/Critic.java + org/tianocore/migration/Common.java \ 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