{ "id": "129243", "key": "TIMOB-16870", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [], "resolution": null, "resolutiondate": null, "created": "2014-04-19T01:04:58.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "cb-tooling" ], "versions": [], "issuelinks": [ { "id": "36734", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "129242", "key": "TIMOB-16869", "fields": { "summary": "CLI: Allow build configuration overrides in the tiapp.xml", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "36736", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "106293", "key": "TIMOB-12025", "fields": { "summary": "CLI: Support build configurations to allow multiple build outputs", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2016-09-14T22:58:52.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "This ticket is phase 3 of 3 phases:\r\n\r\n1. Decouple settings from the deploy type and expose the defaults in an XML file that is in the SDK (TIMOB-12025)\r\n2. Allow setting overrides in the tiapp.xml (TIMOB-16869)\r\n3. Expose build configurations via command line options that allow selection of custom build configuration(this ticket)\r\n\r\nThe new option will be called {{--build-configuration }}. It is designed to mimic the deploy type.\r\n\r\nh4. Build configuration Resolution\r\n\r\nThe follow is the order in which the build configurations are merged:\r\n\r\n Read the global build configurations\r\n Merge custom build configurations from tiapp.xml into the global build configurations\r\n Debug log all overwritten values\r\n Define any new extended build configurations\r\n Debug log the new configuration and all overwritten values\r\n Use the --deploy-type, --build-configuration, or default deploy type to select which build-configuration to use\r\n Debug log which configuration and deploy type have been selected\r\n Merge build configuration specific settings, tags, etc into the tiapp.xml root\r\n Debug log what tiapp.xml values have been overwritten by the build configuration values\r\n The build will reference the tiapp.xml object as it always has, but now it has new options (i.e. minify-js, allow-debugging, etc)", "attachment": [], "flagged": false, "summary": "CLI: Expose build configuration via command line options", "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, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }