{ "id": "127860", "key": "AC-1213", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-04-23T02:59:40.000+0000", "created": "2014-03-19T15:04:53.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "36989", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "129313", "key": "TIMOB-16871", "fields": { "summary": "Android: iOS: JavaScript files are not being symlinked", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "36860", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "129313", "key": "TIMOB-16871", "fields": { "summary": "Android: iOS: JavaScript files are not being symlinked", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:35.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": [], "description": "I don’t know if its an XCode thing, or a Titanium SDK thing, but one thing I noticed that is busted is that before, if you were loading a new window via the url message, you could go “back” (or close the window), make some changes, and then reopen it and those changes would take affect. Now, you have to run the build EVERY TIME.", "attachment": [], "flagged": false, "summary": "Constant Rebuilding for minor .js file changes", "creator": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "298356", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for reporting this issue? Do you mean to say that a full build is performed every time and there is no incremental build anymore? or you did not have to build at all for some minor changes earlier?", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-24T02:37:24.000+0000", "updated": "2014-03-24T02:37:24.000+0000" }, { "id": "298406", "author": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If I open a new .js file (say by clicking on a button).\n\nBefore, I could go back to the original window, make changes in the new one, and then click the button again to open the new window with those changes (not including things that require a build, like new files). \n\nNow, the above doesnt work, and the entire project has to be re-built for minor changes.", "updateAuthor": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-24T14:22:37.000+0000", "updated": "2014-03-24T14:22:37.000+0000" }, { "id": "301096", "author": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any update?", "updateAuthor": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-16T14:23:05.000+0000", "updated": "2014-04-16T14:23:05.000+0000" }, { "id": "301627", "author": { "name": "calebcox314", "key": "calebcox314", "displayName": "Caleb Cox", "active": true, "timeZone": "America/Chicago" }, "body": "The change you are mentioning was introduced in git commit [36db944663391636e413646ca47fe06f0591eeed|https://github.com/appcelerator/titanium_mobile/commit/36db944663391636e413646ca47fe06f0591eeed]. After this change, JavaScript resources are always copied when building for the iOS simulator instead of symlinked. To revert back to the previous behavior (symlink simulator resources), change the line:\r\n{code}fs.writeFile(to, r.contents, cb);{code} in ~/Library/Application Support/Titanium/mobilesdk/osx//iphone/cli/commands/build.js to:\r\n{code}copyFile.call(this, from, to, cb);{code}\r\n(for me it is line 2891). This worked for me; hope it helps!", "updateAuthor": { "name": "calebcox314", "key": "calebcox314", "displayName": "Caleb Cox", "active": true, "timeZone": "America/Chicago" }, "created": "2014-04-20T23:51:04.000+0000", "updated": "2014-04-21T01:54:25.000+0000" }, { "id": "301630", "author": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "That worked for me, thanks!\r\n\r\nAny reason why it's not the default?", "updateAuthor": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-21T01:18:54.000+0000", "updated": "2014-04-21T01:18:54.000+0000" }, { "id": "301631", "author": { "name": "calebcox314", "key": "calebcox314", "displayName": "Caleb Cox", "active": true, "timeZone": "America/Chicago" }, "body": "No, I do not know. I cannot tell whether that change was intentional or an accidental. Hopefully, they will fix it soon!", "updateAuthor": { "name": "calebcox314", "key": "calebcox314", "displayName": "Caleb Cox", "active": true, "timeZone": "America/Chicago" }, "created": "2014-04-21T01:54:51.000+0000", "updated": "2014-04-21T01:54:51.000+0000" }, { "id": "301710", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~calebcox314] and [~joshlewis], iOS Simulator and Android emulator builds should be pretty quick. If you only changed JS files, then the rebuild is usually a couple seconds.\r\n\r\nIf you're doing a device build, then the JavaScript is encrypted and the app must be recompiled. Since the description in this ticket does not indicate device or simulator, I have to assume you're talking about device builds.\r\n\r\nPart of the problem is that build targets (simulator, device, dist) control deploy type which in turn controls a bunch of stuff like encryption and code minification. I'm working to decouple this by introducing build configurations. Build configurations will allow you to have total control over a bunch of settings. Unfortunately, it looks like build configurations in its entirety won't be making it into the upcoming Titanium SDK 3.3.0. :(\r\n\r\nAs far as the JS files no longer being symlinked, that's a bug. I doubt this is causing a serious performance issue, but still, every bit helps. I've created a new ticket TIMOB-16871 to fix the symlinking.\r\n\r\nAs for this ticket, this is not something that we plan to fix until build configurations are fully implemented which includes not only the build scripts, but also Titanium Studio.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-04-21T05:50:21.000+0000", "updated": "2014-04-21T05:50:21.000+0000" }, { "id": "302110", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving this ticket as a duplicate of TIMOB-16871 as comments in this ticket indicate a simulator build. Please track that ticket for further updates.\r\n\r\nThere is another ticket for build configurations.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-23T02:59:40.000+0000", "updated": "2014-04-23T02:59:40.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }