summaryrefslogtreecommitdiff
path: root/Tools/Python/ListWorkspace.py
diff options
context:
space:
mode:
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-31 16:26:40 +0000
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-31 16:26:40 +0000
commit808def96aa4589fba9c2d0ea55837754a3b7a4f7 (patch)
tree0ea221c59abb2474c694e7ab5bd61006be77e47e /Tools/Python/ListWorkspace.py
parent9216450d1143056a50a5f916984a2d7faf590488 (diff)
downloadedk2-platforms-808def96aa4589fba9c2d0ea55837754a3b7a4f7.tar.xz
Retiring the ANT/JAVA build and removing the older EDK II packages that required ANT/JAVA.
Last Ant/Java build was r7166 Developers requiring the Java/Ant packages should checkout the branch from: https://edk2.tianocore.org/svn/edk2/branches/AntJava git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7168 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Python/ListWorkspace.py')
-rwxr-xr-xTools/Python/ListWorkspace.py47
1 files changed, 0 insertions, 47 deletions
diff --git a/Tools/Python/ListWorkspace.py b/Tools/Python/ListWorkspace.py
deleted file mode 100755
index 1a1c9deaef..0000000000
--- a/Tools/Python/ListWorkspace.py
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/env python
-
-"""List the contents of the Framework Database to the screen in a readble
-form."""
-
-import os, sys, getopt, string, xml.dom.minidom, zipfile, md5
-from XmlRoutines import *
-from WorkspaceRoutines import *
-
-def openDatabase(f):
-
- print "Dumping the contents of %s workspace database file." % f
-
- db = xml.dom.minidom.parse(inWorkspace(f))
-
- return db
-
-def showSpds(db):
-
- print "--------\nPackages\n--------"
-
- for spdFile in XmlList(db, "/FrameworkDatabase/PackageList/Filename"):
- spdFileName = XmlElementData(spdFile)
- spd = xml.dom.minidom.parse(inWorkspace(spdFileName))
- spdName = XmlElement(spd, "/PackageSurfaceArea/SpdHeader/PackageName")
-
- print " %-24s %-10s" % (spdName, spdFileName)
-
-def showFpds(db):
-
- print "--------\nPlatforms\n--------"
-
- for fpdFile in XmlList(db, "/FrameworkDatabase/PlatformList/Filename"):
- fpdFileName = XmlElementData(fpdFile)
- fpd = xml.dom.minidom.parse(inWorkspace(fpdFileName))
- fpdName = XmlElement(fpd, "/PlatformSurfaceArea/PlatformHeader/PlatformName")
-
- print " %-24s %-10s" % (fpdName, fpdFileName)
-
-# This acts like the main() function for the script, unless it is 'import'ed
-# into another script.
-if __name__ == '__main__':
-
- db = openDatabase("Tools/Conf/FrameworkDatabase.db")
-
- showSpds(db)
- showFpds(db)