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

Android Build: Init the build/android directory and files

    Details

      Description

      • init the build/android directory and files
        • if force rebuild, remove build/android if exists
        • create build/android if does not exist
        • remove directories, if exists
          • build/android/src
          • build/android/res
        • create directories, if does not exist
          • build/android/assets
          • build/android/gen
          • build/android/gen/<split app id>
          • build/android/lib
          • build/android/res
          • build/android/res/drawable
          • build/android/res/values
          • build/android/src (IS THIS EVEN USED??? if not, we don't need the aidl file)
        • copy over files
          • AppInfo.java => build/android/gen/<split app id>/<classname>AppInfo.java
          • AndroidManifest.xml => build/android/AndroidManifest.xml
          • App.java => build/android/gen/<split app id>/<classname>Application.java
          • Activity.java => build/android/gen/<split app id>/<classname>Activity.java
          • classpath => build/android/.classpath
          • project => build/android/.project
            • make sure the .project file is a valid Eclipse project (TIMOB-11700 Make generated android projects importable into eclipse)
          • default.properties => build/android/default.properties
          • gitignore => build/android/.gitignore
          • NOTE: each of the files must be converted from mako templates to handlebars templates
        • merge custom classpath with build/android/.classpath
        • generate activities from tiapp.xml
        • generate services from tiapp.xml
        • write app_modules to build/android/bin/assets/app.json???
      • create directories, if does not exist
        • build/android/bin
        • build/android/bin/assets
        • build/android/bin/assets/Resources
        • build/android/bin/classes

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                cbarber Chris Barber
                Reviewer:
                Allen Yeung
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-17288
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code