From RTSC-Pedia
revision tip
LANDSCAPE orientation[printable version] [offline version] | offline version generated on 02-Oct-2009 22:10 UTC |
XDCscript - xdc.getPackageBase
Return a package's base directory
Contents |
Synopsis
| var dir = xdc.getPackageBase(packageName); |
Parameters
- packageName
- a '.' separated package name; e.g., "ti.sysbios.knl".
Description
xdc.getPackageBase returns an absolute path to the specified package's base directory.
Return Value
xdc.getPackageBase returns a full path string to the specified package's base directory and throws an exception if the package can not be found.
Throws
If the specified package can not be found along the current package path, xdc.getPackageBase() throws an xdc.services.global.XDCException exception with an id equal to "xdc.PACKAGE_NOT_FOUND".
[printable version] [offline version] | offline version generated on 02-Oct-2009 22:10 UTC |
Copyright © 2008 The Eclipse Foundation. All Rights Reserved