{ "id": "108555", "key": "AC-2191", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2013-12-17T19:02:31.000+0000", "created": "2013-01-25T13:04:08.000+0000", "labels": [ "3.0.0.GA", "@import", "android", "jss" ], "versions": [], "issuelinks": [ { "id": "33681", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "85155", "key": "TIMOB-7301", "fields": { "summary": "Android: JSS with import and js with include files not working", "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" } }, "priority": { "name": "Trivial", "id": "5" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:10.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "As of Titanium 3.0.0 I am getting errors and problems because Titanium will apparently use every single .jss file it can find anywhere in the Resources directory and subdirectories.\r\n\r\nMy project is designed for iOS and Android. The JSS is stored in around ten different files for each platform. So this is what it looks like:\r\n\r\niOS: File \"Resources\\app.iphone.jss\" uses @import to include ten files in \"Resources\\jss\" folder.\r\n\r\nAndroid: File \"Resources\\Android\\global.jss\" uses @import to include ten files in \"Resources\\Android\\jss\" folder.\r\n\r\nThis used to work fine from Titanium 1.8.2 up to 2.1.4. When I tried to upgrade to Titanium 3.0.0 the following happened when compiling *for iPhone or iPad*:\r\n\r\n- the compiler seems unable to find app.iphone.jss or the regular \\jss folder.\r\n- the compiler does find the global.jss, includes it, and throws errors about not being able to understand the @import commands.\r\n\r\nSo my app ends up opening without any JSS applied, i.e. broken.\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "JSS in Titanium SDK 3.0.0 malfunctioning", "creator": { "name": "wytzeschouten", "key": "wytzeschouten", "displayName": "Wytze Schouten", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "wytzeschouten", "key": "wytzeschouten", "displayName": "Wytze Schouten", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iPhone, iPad, Android", "comment": { "comments": [ { "id": "246041", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hello,\r\n\r\nCan you please share the source code of a sample app that reproduces the problem?", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-04-05T20:40:19.000+0000", "updated": "2013-04-05T20:40:19.000+0000" }, { "id": "283513", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T06:59:52.000+0000", "updated": "2013-12-17T19:00:32.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }