{ "id": "78830", "key": "TIMOB-4922", "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": "11363", "description": "Mobile 1.8.0 M10", "name": "Sprint 2011-31", "archived": true, "released": true, "releaseDate": "2011-08-08" }, { "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-11T10:08:52.000+0000", "created": "2011-08-06T09:48:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:46:18.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": "We currently have a broken development model from Eclipse, mostly due to recent changes in ADT as well as various shortcomings in our ant build system and Eclipse. This needs to be fixed -- right now, debugging and building Titanium from Eclipse is almost entirely broken.", "attachment": [], "flagged": false, "summary": "Android: Fix eclipse build", "creator": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "162089", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To setup your workspace for this:\r\n- Close Eclipse, then merge my branch.\r\n- Do an initial scons build from command line so you get the kroll-apt.jar which Eclipse depends on.\r\n- Open Eclipse, and create a new Java project called \"titanium-dist\" inside your workspace\r\n- Right click on the titanium-dist project, and click New > Folder\r\n- Use \"lib\" (without quotes) as the \"Folder name\"\r\n- Click the \"Advanced\" button\r\n- Choose \"Link to alternate location\", then click \"Browse\"\r\n- Browse / select your titanium_mobile/dist/android folder\r\n- Click \"Finish\"\r\n- At this point you'll probably need to clean the entire workbench.\r\n\r\nFor any Titanium Android projects you have in your workspace, you'll need to mess with the classpath a bit, namely:\r\n- Remove any JARs or Project references you previously had\r\n- In the project Preferences > Android, you'll need to add Android library references to \"titanium\" and all of the modules. It's a little tedious, but it should only need to be done once per project.\r\n- In project Preferences > Java Build Path > Libraries, you'll need to make sure all of the JARs in /titanium/lib are included _except_ smalljs.jar and js-debug.jar (Add JARs..)\r\n- You also need to add /titanium-dist/lib/kroll-apt.jar and jaxen-1.1.1.jar either from your existing project or from /titanium-xml/lib to the project's classpath\r\n\r\nAt this point, editing code in Eclipse *should* end up with properly generated and compiled code without needing the external ant builder.", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-07T08:44:14.000+0000", "updated": "2011-08-10T15:41:25.000+0000" }, { "id": "179836", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "closing", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-18T17:45:16.000+0000", "updated": "2012-01-18T17:45:16.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }