[TIMOB-1990] Android: JARs for third-level module names do not get included in APK
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:45.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 M02 |
Components | Android |
Labels | android, feature |
Reporter | Bill Dawson |
Assignee | Bill Dawson |
Created | 2011-04-15T03:07:31.000+0000 |
Updated | 2011-04-17T01:57:45.000+0000 |
Description
In the android_native_refactor branch, we have our first third-level module: Ti.Android.Calendar (until now all modules are just Ti.XXXX, but this has "Android" in between "Ti" and "XXX"). Our android compiler does not support this. Failcase: run any app on the android_native_refactor branch that includes this code:
Ti.Android.Calendar.getSelectableCalendars()
You will get an error.
Setting this as a "feature" since third-level modules -- and specifically the Calendar module -- are new features.
(from [d40697ee7462ec28f0348179ca8eebb933e00686]) [#1990 state:fixed-in-qa] Parse third-level module names such as Ti.Android.Calendar http://github.com/appcelerator/titanium_mobile/commit/d40697ee7462ec28f0348179ca8eebb933e00686"> http://github.com/appcelerator/titanium_mobile/commit/d40697ee7462e...
Reopening -- the problem persists in master branch, though I think the feature went into ANR before it was merged in Master.
Assigning to Marshall because he'll need to study the annotation processor he wrote for 1.5
(from [c5cd0952569ac347b38c538ff079ab3b361154a8]) [#1990] Set Ti.Android as parent to Ti.Android.Calendar, add calendar project to dependency.json https://github.com/appcelerator/titanium_mobile/commit/c5cd0952569ac347b38c538ff079ab3b361154a8"> https://github.com/appcelerator/titanium_mobile/commit/c5cd0952569a...
(from [958923fa73323d0d9e3a581ec036de2750049d63]) [#1990] Disable inclusion of Calendar for now because it makes Ti projects fail in android.py https://github.com/appcelerator/titanium_mobile/commit/958923fa73323d0d9e3a581ec036de2750049d63"> https://github.com/appcelerator/titanium_mobile/commit/958923fa7332...
(from [d27b9681f002fdad0840295c8696127a2b3682ed]) add support for external child modules [#1990 state:fixed-in-qa]
external child modules are children of modules
that doesn't necessarily live in the same 'project'
or source round. module jars are now looked up via
a new modules.json that is generated as part of the
ant build. this also fixes the Ti.Android.Calendar module
https://github.com/appcelerator/titanium_mobile/commit/d27b9681f002fdad0840295c8696127a2b3682ed"> https://github.com/appcelerator/titanium_mobile/commit/d27b9681f002...
(from [6ea48c4f72b096f8dc1ef41b0bcbd317b13742fb]) don't add external modules if they aren't referenced in code [#1990] https://github.com/appcelerator/titanium_mobile/commit/6ea48c4f72b096f8dc1ef41b0bcbd317b13742fb"> https://github.com/appcelerator/titanium_mobile/commit/6ea48c4f72b0...
pass Android Sim 1.6/2.1 Titanium SDK version: 1.5.0 (12/06/10 13:14 52a4db3), Custom