{ "id": "83627", "key": "TIMOB-6585", "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": "12090", "description": "", "name": "Sprint 2011-50", "archived": true, "released": true, "releaseDate": "2011-12-19" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-12-13T19:38:11.000+0000", "created": "2011-12-12T16:13:02.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "branch-v8", "verified-1.8.0.1" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2012-01-11T15:28:30.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": "Unable to build an application that uses the Urban Airship module. Receive the following build error when attempting to build an application that uses the UA module:\r\n\r\n{code}\r\n[ERROR] Error(s) compiling generated Java code\r\n[ERROR] /Users/jenglish/Documents/Titanium Studio Workspace4/Urban Airship Test/build/android/gen/com/appcelerator/urbanairshiptest/UrbanAirshipTestApplication.java:40: cannot find symbol\r\n{code}\r\n\r\nThe problem is that the generated application java file references the bootstrap class with uppercase first letter and lowercase on everything else\r\n\r\nGenerated application.java file snippet\r\n{code}\r\npublic final class UrbanAirshipTestApplication extends TiApplication\r\n{\r\n\tprivate static final String TAG = \"UrbanAirshipTestApplication\";\r\n\r\n\t@Override\r\n\tpublic void onCreate()\r\n\t{\r\n\t\tsuper.onCreate();\r\n\r\n\t\tappInfo = new UrbanAirshipTestAppInfo(this);\r\n\t\tpostAppInfo();\r\n\r\n\r\n\t\tV8Runtime runtime = new V8Runtime();\r\n\r\n\r\n\t\t\r\n\t\truntime.addExternalModule(\"ti.urbanairship\", ti.urbanairship.UrbanairshipBootstrap.class);\r\n{code}\r\n\r\nIt is referencing the bootstrap class as \"ti.urbanairship.UrbanairshipBootstrap.class\". Notice in the generated module bootstrap.java file that the class is \"ti.urbanairship.UrbanAirshipBootstrap\" (with mixed case).\r\n\r\n{code}\r\npublic class UrbanAirshipBootstrap implements KrollExternalModule\r\n{\r\n\tpublic void bootstrap()\r\n\t{\r\n\t\tnativeBootstrap();\r\n\t}\r\n\r\n\tprivate native void nativeBootstrap();\r\n}\r\n{code}\r\n\r\nWhile we could workaround this for the UA module I am sure that other modules out in the marketplace are going to experience the same issue.", "attachment": [], "flagged": false, "summary": "Android: Modules: V8 Cannot find symbol for mixed case module bootstrap class", "creator": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "environment": "SDK: 1.8.0.1.v20111212124623\r\nRuntimes: Android V8\r\nOS: OS X Snow Leopard\r\n\r\nUsing the \"apilevel2\" branch of the module source located in my fork of the modules repository", "comment": { "comments": [ { "id": "176603", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.1.RC3 with v8/rhino on Nexus One (2.2) verified push works. Waiting to verify on 1.9.0 ", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-19T16:06:50.000+0000", "updated": "2011-12-19T16:06:50.000+0000" }, { "id": "178963", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Already verified fix on 1.8.0.1", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T15:28:30.000+0000", "updated": "2012-01-11T15:28:30.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }