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 - Package-Object.$vers

The version of this package

Synopsis

 
 
var pkg = xdc.loadPackage(...);
pkg.$vers

Description

The $vers property of a package object is an array of numbers formed from the package's compatibility key array followed by the package's release date in milliseconds since midnight 1/1/1970 GMT.

If the package's compatibility key array has fewer than three elements, the release date is not appended to the array; if it were, every rebuild and re-release of such a package would trigger compatibility warnings even though nothing in the package changed.

[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