Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1990] Android: JARs for third-level module names do not get included in APK

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:57:45.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M02
ComponentsAndroid
Labelsandroid, feature
ReporterBill Dawson
AssigneeBill Dawson
Created2011-04-15T03:07:31.000+0000
Updated2011-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.

Comments

  1. Bill Dawson 2011-04-15

    (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...

  2. Bill Dawson 2011-04-15

    Reopening -- the problem persists in master branch, though I think the feature went into ANR before it was merged in Master.

  3. Bill Dawson 2011-04-15

    Assigning to Marshall because he'll need to study the annotation processor he wrote for 1.5

  4. Bill Dawson 2011-04-15

    (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...

  5. Bill Dawson 2011-04-15

    (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...

  6. Marshall Culpepper 2011-04-15

    (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...

  7. Marshall Culpepper 2011-04-15

    (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...

  8. Matt Schmulen 2011-04-15

    pass Android Sim 1.6/2.1 Titanium SDK version: 1.5.0 (12/06/10 13:14 52a4db3), Custom

JSON Source