{ "id": "82278", "key": "TIMOB-6995", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-08-22T22:21:09.000+0000", "created": "2011-11-03T10:29:50.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "11971", "description": "iOS5 and select Android fixes", "name": "Release 1.7.3", "archived": true, "released": true, "releaseDate": "2011-10-18" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T21:14: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": "10207", "name": "Tooling" } ], "description": "h2. Problem\r\n\r\nPassing a \"dot\" to denote the current directory (and possibly all relative paths) as an argument to {{builder.py}} causes the {{i18n/}} directory in the root of the project to be omitted from the package. It should work with both relative and absolute project paths\r\n\r\nh2. Test case\r\n\r\nThe following (using an absolute path as the third argument) builds the project correctly for distribution:\r\n\r\n{code}\r\n$ builder.py \"distribute\" \"5.0\" \"/Users/dawconsdwitservices/Documents/Titanium Studio Workspace/internacionalization\" \"com.appcelerator.internacionalization\" \"internacionalization\" \"F3AAB07B-9197-48F7-A128-77F18BD9CD3D\" \"Appcelerator Distribution Group\" \"/Users/dawconsdwitservices/adhoc\" \"universal\"\r\n{code}\r\n\r\n\r\nThe following (using \"dot\" as the third argument) causes the {{i18n/}} folder in the root of the project to be omitted from the package. \r\n\r\n{code}\r\n$ cd /Users/dawconsdwitservices/Documents/Titanium Studio Workspace/internacionalization\r\n$ builder.py \"distribute\" \"5.0\" \".\" \"com.appcelerator.internacionalization\" \"internacionalization\" \"F3AAB07B-9197-48F7-A128-77F18BD9CD3D\" \"Appcelerator Distribution Group\" \"/Users/dawconsdwitservices/adhoc\" \"universal\"\r\n{code}\r\n\r\nh2. Discussions\r\n\r\nHelpdesk: [APP-473421|http://support.appcelerator.com/tickets/APP-473421/tickets]\r\n\r\nh2. Workaround\r\n\r\nUse an absolute path\r\n", "attachment": [], "flagged": false, "summary": "Tooling: builder.py + iOS - current directory alias passed as project argument causes i18n directory to be omitted from package", "creator": { "name": "tom", "key": "tom", "displayName": "tom quas", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "tom", "key": "tom", "displayName": "tom quas", "active": true, "timeZone": "Europe/Berlin" }, "environment": "* Titanium Mobile 1.7.3\r\n* iOS 5\r\n* OSX\r\n", "closedSprints": [ { "id": 690, "state": "closed", "name": "2016 Sprint 17 Tooling", "startDate": "2016-08-13T00:01:26.394Z", "endDate": "2016-08-27T00:01:00.000Z", "completeDate": "2016-08-29T03:15:35.641Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "178096", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Tom\r\n\r\nThanks for this ticket. Please note the changes I have made in order for it to be escalated. Refer to the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist] and [this template|https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template] for future tickets.\r\n\r\nWould you mind verifying whether this is still an issue using 1.8.0.1?\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-05T06:40:00.000+0000", "updated": "2012-01-05T06:40:00.000+0000" }, { "id": "178099", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Furthermore, would you please check whether the same issue exists when using \"./\" ?\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-05T06:43:27.000+0000", "updated": "2012-01-05T06:43:27.000+0000" }, { "id": "178101", "author": { "name": "tom", "key": "tom", "displayName": "tom quas", "active": true, "timeZone": "Europe/Berlin" }, "body": "Paul, the script now fails in a different function:\r\n\r\n\r\n$ /Users/tom/Library/Application\\ Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py distribute 5.0 . com.app app F807537D-CB78-466F-AEEA-88941579D843 appcom universal\r\n\r\n...\r\n[INFO] Performing clean build\r\n[ERROR] Error: Traceback (most recent call last):\r\n File \"/Users/tom/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py\", line 1126, in main\r\n install_defaults(project_dir, template_dir, iphone_resources_dir)\r\n File \"/Users/tom/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/tools.py\", line 152, in install_defaults\r\n install_default(graphic, project_dir, template_dir, dest)\r\n File \"/Users/tom/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/tools.py\", line 141, in install_default\r\n shutil.copy(graphic_path, dest)\r\n File \"/usr/local/Cellar/python/2.7.2/lib/python2.7/shutil.py\", line 116, in copy\r\n copyfile(src, dst)\r\n File \"/usr/local/Cellar/python/2.7.2/lib/python2.7/shutil.py\", line 68, in copyfile\r\n raise Error(\"`%s` and `%s` are the same file\" % (src, dst))\r\nError: `./Resources/appicon.png` and `/Users/tom/Projects/app.com/mobile-app/build/iphone/Resources/appicon.png` are the same file\r\n", "updateAuthor": { "name": "tom", "key": "tom", "displayName": "tom quas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-01-05T06:56:42.000+0000", "updated": "2012-01-05T06:56:42.000+0000" }, { "id": "393860", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Marking as fixed. builder.py has been deprecated in favor the new Node.js-based Titanium build system starting with Titanium SDK 3.0.0. The new Titanium build system does not have this problem because it correctly handles relative paths.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-22T22:21:09.000+0000", "updated": "2016-08-22T22:21:09.000+0000" }, { "id": "413092", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T21:14:08.000+0000", "updated": "2017-03-16T21:14:08.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }