]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/packaging/PackageIdentification.java
Retiring the ANT/JAVA build and removing the older EDK II packages that required...
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / packaging / PackageIdentification.java
diff --git a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/packaging/PackageIdentification.java b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/packaging/PackageIdentification.java
deleted file mode 100644 (file)
index e986f55..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-/** @file\r
\r
- The file is used to save basic information of package\r
\r
- Copyright (c) 2006, Intel Corporation\r
- All rights reserved. This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution.  The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
- **/\r
-\r
-package org.tianocore.frameworkwizard.packaging;\r
-\r
-import java.io.File;\r
-\r
-import org.tianocore.frameworkwizard.common.Tools;\r
-import org.tianocore.frameworkwizard.common.Identifications.Identification;\r
-import org.tianocore.frameworkwizard.workspace.Workspace;\r
-\r
-public class PackageIdentification extends Identification{\r
-    \r
-    public PackageIdentification(String name, String guid, String version){\r
-        super(name, guid, version);\r
-    }\r
-    \r
-    public PackageIdentification(String name, String guid, String version, String path){\r
-        super(name, guid, version, path);\r
-    }\r
-    \r
-    public PackageIdentification(Identification id){\r
-        super(id.getName(), id.getGuid(), id.getVersion(), id.getPath());\r
-    }\r
-    \r
-    public File getSpdFile(){\r
-        File spdFile = new File(this.getPath());\r
-        return spdFile;\r
-    }\r
-    \r
-    public String toString() {\r
-      return getName() + " " + getVersion() + " [" + Tools.getRelativePath(getSpdFile().getPath(), Workspace.getCurrentWorkspace()) + "]";\r
-    }\r
-    \r
-    public boolean equals(String packageGuid, String packageVersion) {\r
-        boolean b = false;\r
-        if (this.getGuid().equals(packageGuid)) {\r
-            b = true;\r
-            //\r
-            // Check Version\r
-            //\r
-            if (packageVersion != null) {\r
-                if (!Tools.isEmpty(packageVersion)) {\r
-                    if (!packageVersion.equals(this.getVersion())) {\r
-                        b = false;\r
-                    }\r
-                }\r
-            }\r
-        }\r
-        return b;\r
-    }\r
-}\r