Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-20570

Add support for "Resources" dir and --build-only to Android module build

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2016 Sprint 06 Tooling

      Description

      In SDK 5.2.0, we changed the behavior of the platform/ios directory where files are copied to the build directory instead of the output app directory. This broke several modules, so we added support for a "Resources" directory in the module's platform-specific subdirectory (TIMOB-20489).

      This ticket is to add parity and support the "Resources" directory including:

      • All files in the "Resources" directory will be copied to the Android output app directory: build/android/bin/assets/Resources.
      • Add a "Resources" folder to the android/templates/module/default/template/android directory in the titanium_mobile repo. Copy the iOS readme into this "Resources" directory: iphone/templates/module/default/template/iphone/Resources/README.md.
      • Remove android/templates/module/default/template/android/platform/README and replace with iphone/templates/module/default/template/iphone/platform/README.md.

      Also, we need to add support for the --build-only flag. Should be similar to what was needed for the iOS module build:

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                cbarber Chris Barber
                Reviewer:
                Feon Sua Xin Miao
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code