[TIMOB-6520] Android: Modules: add support for handling a new apiversion property in a module manifest.xml
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-12-09T01:18:16.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2011-49, Release 1.8.0.1 |
Components | Android |
Labels | branch-v8 |
Reporter | Opie Cyrus |
Assignee | Opie Cyrus |
Created | 2011-12-08T16:06:01.000+0000 |
Updated | 2011-12-09T10:01:04.000+0000 |
Description
Modules built pre 1.8.0.1 need to be rebuilt for use with 1.8.0.1 and later due to changes needed to support multiple runtimes. Adding a new property in the manifest.xml for modules of "apiversion" that can be checked when a project is being built.
If the apiversion is less than 2 or does not exist we will log an error message and exit the build process.
Tested with 1.8.0.1.v20111209011840 with v8/rhino on Mac 10.6.8 with an old module: [ERROR] The 'apiversion' for 'ti.paypal' in the module manifest is not a valid value. Please use a version of the module that has an 'apiversion' value of 2 or greater set in it's manifest file