{ "id": "170397", "key": "DAEMON-174", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "12519", "key": "DAEMON", "name": "Appcelerator Daemon" }, "fixVersions": [ { "id": "18407", "description": "", "name": "Appc Daemon 1.0.0", "archived": false, "released": true, "releaseDate": "2017-12-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-12-01T16:45:15.000+0000", "created": "2017-11-20T18:12:43.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2017-12-01T17:06:17.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15053", "name": "jdklib", "description": "Library for JDK related functions" } ], "description": "This ticket is to implement an options mechanism similar to ioslib and androidlib.", "attachment": [], "flagged": false, "summary": "jdklib: Implement options mechanism", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "closedSprints": [ { "id": 976, "state": "closed", "name": "2017 Sprint 24 Tooling", "startDate": "2017-11-19T19:00:51.738Z", "endDate": "2017-12-03T19:00:00.000Z", "completeDate": "2017-12-04T23:20:34.438Z", "originBoardId": 219 } ], "comment": { "comments": [ { "id": "431529", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~cbarber] I'm not sure what would be added to jdklib here? We should mixin java.home here in [jdk-info-service|https://github.com/appcelerator/appc-daemon/blob/b39102772b8463279f33b259f45bd2958a87b02c/plugins/appcd-plugin-jdk/src/jdk-info-service.js#L24] but I'm not grasping the usefulness of overriding the executables object for a jdk?", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-11-30T14:58:37.000+0000", "updated": "2017-11-30T14:58:37.000+0000" }, { "id": "431539", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This ticket is simply adding support for {{jdk.searchPaths}} option. In the core's {{server.js}}, we can import {{java.home}} from the Ti CLI's config and copy it into {{jdk.searchPaths}}. Then in the JDK plugin, we simply {{get(options, 'jdk.searchPaths')}} or fall back to the default ones (or whatever we do for Android, etc).", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-11-30T16:15:36.000+0000", "updated": "2017-11-30T16:15:36.000+0000" }, { "id": "431540", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Ah ok, I assumed it extended to executables too as we included them in the java import change here https://github.com/appcelerator/appc-daemon/pull/166/files#diff-955bce450ab6d9d1deaeeb4d6f5a6124R381", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-11-30T16:18:42.000+0000", "updated": "2017-11-30T16:18:42.000+0000" }, { "id": "431542", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Ah, yeah, all of those settings need to be removed. We only need {{jdk.home}} (String) -> {{jdk.searchPaths}} (Array.).", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-11-30T16:23:27.000+0000", "updated": "2017-11-30T16:23:27.000+0000" }, { "id": "431591", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "https://github.com/appcelerator/appc-daemon/pull/214", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-12-01T11:40:22.000+0000", "updated": "2017-12-01T11:40:22.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }