{ "id": "63904", "key": "TIMOB-3272", "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": "11364", "description": "Mobile 1.8.0 M11", "name": "Sprint 2011-32", "archived": true, "released": true, "releaseDate": "2011-08-15" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-08-19T10:53:10.000+0000", "created": "2011-04-15T03:41:02.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11260", "description": "", "name": "Release 1.6.2", "archived": true, "released": true, "releaseDate": "2011-04-20" }, { "id": "11367", "description": "", "name": "Release 1.7.1", "archived": true, "released": true, "releaseDate": "2011-06-21" } ], "issuelinks": [ { "id": "11573", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "77000", "key": "AC-3137", "fields": { "summary": "Conflict with SVN", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-09-23T16:09:42.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}

Problem

\r\n

The Android build scripts aren't respecting the ignoreDirs and\r\nignoreFiles builder.py when the platform specific resources are\r\ncopied over.

\r\n

Steps to Reproduce

\r\n
    \r\n
  1. Create an app
  2. \r\n
  3. In the app, create a folder \".svn\" in\r\n\"Resources/android/images/res-long-land-hdpi\".
  4. \r\n
  5. Create a file named \"junk.js\" with the contents \"I am not valid\r\nJavaScript\".
  6. \r\n
  7. Build the project, and you should see that the .svn folder get\r\nrenamed to a string of characters + .svn and its contents are\r\nincluded in the generated output.
  8. \r\n
\r\n

Trace Level Log

\r\n
\r\n[DEBUG] /Library/androidsdk/platforms/android-4/tools/aapt package -m -J /Code/PlaygroundMobile/build/android/gen -M /Code/PlaygroundMobile/build/android/AndroidManifest.xml -S /Code/PlaygroundMobile/build/android/res -I /Library/androidsdk/platforms/android-4/android.jar\r\n[WARN]     (skipping (null) file '/Code/PlaygroundMobile/build/android/res/drawable-long-land-hdpi/_3fad5f03a1.ds_store')\r\n[WARN]     (skipping (null) file '/Code/PlaygroundMobile/build/android/res/drawable-long-land-hdpi/_svn_haha_9029eff9fd.js')\r\n[WARN] For your density-specific images (android/images/high|medium|low|res-*) to be effective, you should put a <supports-screens> element with anyDensity=\"true\" in the <android><manifest> section of your tiapp.xml or in a custom AndroidManifest.xml\r\n
\r\n

Tested On

\r\n

Titanium SDK version: 1.7.0 (03/03/11 10:45 87a2113...)

\r\n

Associated Helpdesk Ticket

\r\n

http://developer.appcelerator.com/helpdesk/view/76276

{html}", "attachment": [], "flagged": false, "summary": "Android: Build Scripts for Platform Specific Resources Don't Respect ignoreDirs and ignoreFiles", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": "Tested on:\r\n\r\n* Titanium Mobile SDK version 1.6.2 to 1.7.1\r\n* Mac OS X\r\n* Titanium Studio\r\n", "comment": { "comments": [ { "id": "158875", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "This has also been reported again in TC-113, and discussed in [Mobile SDK conflict with SVN|http://developer.appcelerator.com/question/120708/mobile-sdk-conflict-with-svn] and [Excluding .svn files|http://developer.appcelerator.com/question/114541/excluding-svn-files] (contains possible code fix)", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-07T05:47:15.000+0000", "updated": "2011-07-07T05:47:15.000+0000" }, { "id": "158876", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Note possibly related: TIMOB-3021", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-07T05:51:36.000+0000", "updated": "2011-07-07T05:51:36.000+0000" }, { "id": "160312", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Another user has expressed their need for a fix for this, in [Mobile SDK conflict with SVN|http://developer.appcelerator.com/question/120708/mobile-sdk-conflict-with-svn#answer-214015]", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-22T04:11:43.000+0000", "updated": "2011-07-22T04:11:43.000+0000" }, { "id": "162353", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request ready:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/354\r\n\r\nTesting notes:\r\n\r\n* Failcase above is good to test with.\r\n* If you test the failcase first, then use the same project to test the fixed version, you'll want to do the following before building your test app with the fixed version:\r\n\r\n{code}\r\n> touch tiapp.xml\r\n> rm -r build/android/*\r\n{code}\r\n\r\nThat cleans out the bad stuff that got in there during the failcase test.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-08-09T23:34:46.000+0000", "updated": "2011-08-09T23:34:46.000+0000" }, { "id": "163433", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "PR work", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-08-19T10:53:10.000+0000", "updated": "2011-08-19T10:53:10.000+0000" }, { "id": "166841", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.v20110922234950\nAfter compiling check the /build/android/res/drawable-long-land-hdpi directory to make sure you dont have a _svn_junk_.js the original directory does not get renamed", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-23T16:09:42.000+0000", "updated": "2011-09-23T16:09:42.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }