| /* --COPYRIGHT--,EPL |
| * Copyright (c) 2008 Texas Instruments and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Texas Instruments - initial implementation |
| * |
| * --/COPYRIGHT--*/ |
| var rep = {} |
| |
| /* |
| * ======== getRelease ======== |
| * Given the name of a package tar file return a release object. |
| * |
| * The release object returned contains the following fields: |
| * packageName |
| * version |
| * releaseLabel |
| * deps[] |
| */ |
| rep.getRelease(tarName) |
| { |
| /* extract package's package.bld.xml file */ |
| rep.getBldXML(tarName, tmpfileName); |
| |
| /* get release manifest files */ |
| /* scan XML file for version, release label, and deps */ |
| |
| } |