{ "id": "63078", "key": "TIMOB-2446", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11229", "name": "Release 1.5.0 M04", "archived": true, "released": true, "releaseDate": "2010-12-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:08.000+0000", "created": "2011-04-15T03:20:04.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-04-17T01:59:08.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
Users may have their own preferences for what belongs in that\n.gitignore if they are using git.
\ncf android.py 256.
(from [c4d696646b56bab6fc6748fc4d0983124d08c162])\n[#2446 state:fixed-in-qa] Don't overwrite\n.gitignore if it's already in build/android, in case developer-user\nwants to specify their own stuff in there. \nhttps://github.com/appcelerator/titanium_mobile/commit/c4d696646b56...
To test:
\nCreate a new project and launch it in Android.
\ncheck the build/android folder and make sure there is our\ndefault .gitignore in there (to be sure I didn't break the actual\ncreation of the .gitignore when it doesn't already exist.)
\nEdit that .gitignore and put something silly and memorable in\nit. Save it.
\n\"touch\" the tiapp.xml to force a full re-build on the next\nlaunch (it's the full rebuild that would previously replace the\n.gitignore.)
\nre-launch the app in Android.
\ngo look at build/android/.gitignore again. Whatever you added\nshould still be in there -- i.e., it shouldn't have gotten\noverwritten.
\nPass
\n$ more .gitignore src
\nlib
\nbin
\nres
\ngen
\nmarshall_lawProgramsWithoutWearingPants
\nAndroidManifest.xml