[TIMOB-14976] Android Build: Init the build/android directory and files
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-10-05T02:14:31.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 20, 2013 Sprint 20 Core, Release 3.2.0 |
Components | Android, Tooling |
Labels | androidbuild, ay-verified, cb-verified |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2013-08-27T23:33:12.000+0000 |
Updated | 2017-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
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).
Pull request: https://github.com/appcelerator/titanium_mobile/pull/4760
Closing ticket as fixed.