Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14976] Android Build: Init the build/android directory and files

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-10-05T02:14:31.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 20, 2013 Sprint 20 Core, Release 3.2.0
ComponentsAndroid, Tooling
Labelsandroidbuild, ay-verified, cb-verified
ReporterChris Barber
AssigneeChris Barber
Created2013-08-27T23:33:12.000+0000
Updated2017-03-14T18:07:36.000+0000

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/ *** 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//AppInfo.java *** AndroidManifest.xml => build/android/AndroidManifest.xml *** App.java => build/android/gen//Application.java *** Activity.java => build/android/gen//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

Comments

  1. Allen Yeung 2013-08-28

    Summary log from chat recorded on poker session Core Sprint 18 Poker Session: [10:11:32 PM] Matt Langston: Remove the elcipse .project and .classpath files, and create a new ticket to generate a Maven pom.xml file from the tiapp.xml file, and then generate a proper eclipse project files using Maven (e.g. mvn eclipse:eclipse).
  2. Chris Barber 2013-10-05

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/4760
  3. Lee Morris 2017-03-14

    Closing ticket as fixed.

JSON Source