From RTSC-Pedia
revision tip
LANDSCAPE orientation[printable version] [offline version] | offline version generated on 02-Oct-2009 22:10 UTC |
XDCscript - xdc.curPath
Return the current package path
Contents |
Synopsis
| var path = xdc.curPath(); |
Description
xdc.curPath returns the current package path after all '^' references have been resolved. For more information about the use of '^' within user specified package paths see Managing the Package Path in the XDCtools User's Guide.
Return Value
xdc.curPath returns a string consisting of one or more repository paths separated by the ';' character.
Examples
To display the current package path:
| print(xdc.curPath()); |
To display the current package path, one repository per line:
| for each (var repo in xdc.curPath().split(';')) { print(repo); } |
[printable version] [offline version] | offline version generated on 02-Oct-2009 22:10 UTC |
Copyright © 2008 The Eclipse Foundation. All Rights Reserved