summaryrefslogtreecommitdiff
path: root/Tools/Java/Source/ContextTool/org/tianocore/context/ContextMain.java
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/Java/Source/ContextTool/org/tianocore/context/ContextMain.java')
-rw-r--r--Tools/Java/Source/ContextTool/org/tianocore/context/ContextMain.java48
1 files changed, 0 insertions, 48 deletions
diff --git a/Tools/Java/Source/ContextTool/org/tianocore/context/ContextMain.java b/Tools/Java/Source/ContextTool/org/tianocore/context/ContextMain.java
deleted file mode 100644
index 94ea56a5c7..0000000000
--- a/Tools/Java/Source/ContextTool/org/tianocore/context/ContextMain.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/** @file
- File is ContextMain class .
-
-Copyright (c) 2006, Intel Corporation
-All rights reserved. This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-**/
-package org.tianocore.context;
-
-public class ContextMain {
-
- public static void main(String[] args) {
-
- if (TargetFile.validateFilename("target.txt") == false) {
- String workspacePath = System.getenv("WORKSPACE");
- System.out.printf("%n%s%n", "target.txt can't be found. Please check it in " + workspacePath + "\\Tool\\Conf");
- System.exit(0);
- }
-
- if(ParseParameter.checkParameter(args) == false){
- System.exit(0);
- }
-
- if (TargetFile.readFile() == false){
- System.exit(0);
- }
-
- if (ParseParameter.standardizeParameter(args) > 0){
- System.exit(0);
- }
-
- if (TargetFile.createTempFile("target.txt") == false){
- System.exit(0);
- }
-
- if (TargetFile.readwriteFile() == false){
- System.exit(0);
- }
-
- String workspacePath = System.getenv("WORKSPACE");
- System.out.printf("%n%s%n", workspacePath + "\\Tool\\Conf\\target.txt is updated successfully!");
- }
-}