{ "id": "61741", "key": "TIMOB-1109", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:13.000+0000", "created": "2011-04-15T02:44:18.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:13.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": "{html}

The javascript Rhino compiler addition assumes that there is no\ncommand line limit and passes all files in one pass. Given a path\nlike C:\\Documents and Settings\\myuser\\My\nDocuments\\Projects\\Titanium\\KitchenSink\\build\\android\\bin\\assets\\Resources\\examples\\sound_local.js\nit fails to compile.

{html}", "attachment": [], "flagged": false, "summary": "Android: JS Compilation Assumes Unlimited Command Line", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124869", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Customer verified that moving the KitchenSink example higher in\nthe directory tree worked around the issue.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:44:18.000+0000", "updated": "2011-04-15T02:44:18.000+0000" }, { "id": "124870", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [54629899a5631d2d2e1ef9ca4025c5831f640d1a])\ninitial implementation of Rhino JS->bytecode compiler for\nproduction apps, dramatically decreasing startup time and runtime\ncode execution in general. this falls back on dynamic/unoptimized\nevaluation when a compiled script isn't found, and each file is\ncompiled separately to avoid the arg size limit in windows. added a\n\"ti.android.threadstacksize\" property that allows each app to\ncontrol the stack size allocated for each JS thread (by default\nit's 16K, but this may not be big enough for some apps) [#1109]\n[#1805] \nhttp://github.com/appcelerator/titanium_mobile/commit/54629899a5631...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:44:18.000+0000", "updated": "2011-04-15T02:44:18.000+0000" }, { "id": "124871", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This has been fixed with both the Rhino compiler and javac w/\ncustom source from platform/android

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:44:19.000+0000", "updated": "2011-04-15T02:44:19.000+0000" }, { "id": "124872", "author": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Where/how should the Ti.android.threadstacksize be set in js ?\nHow can I test this issue?

\n

M.

{html}", "updateAuthor": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:44:19.000+0000", "updated": "2011-04-15T02:44:19.000+0000" }, { "id": "124873", "author": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

pass, Titanium SDK version: 1.5.0 (12/07/10 10:00 8f4eea3...)\njust made a deep js file, bugtest, Android Sim 1.6/2.1

{html}", "updateAuthor": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:44:19.000+0000", "updated": "2011-04-15T02:44:19.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }