XDCscript - Package-Object.packageBase

From RTSC-Pedia

Jump to: navigation, search
revision tip
—— LANDSCAPE orientation
[printable version]  [offline version]offline version generated on 18-Nov-2017 00:11 UTC

XDCscript - Package-Object.packageBase

Absolute path to a package's base directory

Synopsis

 
 
var pkg = xdc.loadPackage(...);
pkg.packageBase

Description

This parameter is the absolute path to package's base; i.e., the directory containing the package's build script (package.bld). For example, if the package xdc.runtime is located in c:/packages/xdc/runtime, then packageBase equals c:/packages/xdc/runtime/.

To be robust, clients should not assume that this string ends with a directory separator.

See Also

XDCscript - xdc.loadPackage Load specified package
xdc.IPackage Client documentation for xdc.IPackage

[printable version]  [offline version]offline version generated on 18-Nov-2017 00:11 UTC
Copyright © 2008 The Eclipse Foundation. All Rights Reserved
Personal tools
package reference