From RTSC-Pedia

Jump to: navigation, search
revision tip
—— LANDSCAPE orientation
[printable version]  [offline version]offline version generated on 04-Aug-2010 21:08 UTC

XDCscript - xdc.getPackageRepository

Return a package's repository

Contents

Synopsis

 
var dir = xdc.getPackageRepository(packageName);

Parameters

packageName 
a '.' separated package name; e.g., "ti.sysbios.knl".

Description

xdc.getPackageRepository returns an absolute path to the specified package's repository.

Return Value

xdc.getPackageRepository returns a full path string to the specified package's repository 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.getPackageRepository() throws an xdc.services.global.XDCException exception with an id equal to "xdc.PACKAGE_NOT_FOUND".

[printable version]  [offline version]offline version generated on 04-Aug-2010 21:08 UTC
Copyright © 2008 The Eclipse Foundation. All Rights Reserved


Views
Personal tools
package reference