{ "id": "164080", "key": "TIMOB-24054", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2016-10-21T02:37:54.000+0000", "created": "2016-10-19T21:09:10.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "alloy", "modules" ], "versions": [ { "id": "18253", "name": "Release 5.5.0", "archived": false, "released": true, "releaseDate": "2016-09-13" }, { "id": "18322", "name": "Release 5.5.1", "archived": false, "released": true, "releaseDate": "2016-09-28" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T17:01: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h5.Issue Description \r\nThe folder modules inside app/lib/ can not be named modules, that is causing errors at running. \r\n\r\nh5.Steps to Replicate \r\n# Download the attached project \r\n# Run \r\n# Error will appear\r\n# Change the folder name inside app/lib from modules to modulez\r\n# Run\r\n# Project Works \r\n\r\nThis started on SDK 5.5.0 and 5.5.1", "attachment": [ { "id": "60565", "filename": "Test.zip", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-19T21:09:06.000+0000", "size": 10473498, "mimeType": "application/zip" } ], "flagged": false, "summary": "Alloy: Can't name custom common js module folder as \"modules\"", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 5.5.1, 5.5.2\r\nCLI 5.5.1\r\nXcode 8.0 ", "comment": { "comments": [ { "id": "399424", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber] thoughts? My understanding is \"modules\" means something to our build tools, and it's ill-advised for our customers to namefolders with this.\r\nEither \r\na) we deem it's ok to have custom folder names in app/lib\r\nb) or we document somewhere please don't use \"modules\" in the following folders.\r\n\r\nNot marking this ticket as critical since the workaround is NOT to use \"modules\"", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-20T03:42:21.000+0000", "updated": "2016-10-20T03:42:21.000+0000" }, { "id": "399427", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~cng] I'm not sure about Alloy, but you cannot name your app \"modules\" because the compiled executable \"modules\" would collide with the \"modules\" directory that stores module assets. The iOS build has a list of blacklisted names that are disallowed app names and resources in the root of the Resources or platform-specific Resources directory. These blacklisted names either collide with a Titanium resource or are known red flags with Apple.\r\n\r\nFrom https://github.com/appcelerator/titanium_mobile/blob/master/iphone/cli/commands/_build.js#L72-L85:\r\n\r\n* contents\r\n* resources\r\n* plugins\r\n* watch\r\n* _codesignature\r\n* embedded.mobileprovision\r\n* info.plist\r\n* pkginfo\r\n* assets.car\r\n* modules\r\n* LaunchScreen.storyboardc\r\n* hyperloop\r\n", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-10-20T03:48:29.000+0000", "updated": "2016-10-20T03:48:29.000+0000" }, { "id": "399428", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~fmiao] thoughts?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-20T03:50:13.000+0000", "updated": "2016-10-20T03:50:13.000+0000" }, { "id": "399483", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~cbarber] Do we have those documented in the Wiki? Would be good to add so we can refer to that in the future, thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-20T12:06:21.000+0000", "updated": "2016-10-20T12:06:21.000+0000" }, { "id": "399495", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~hansknoechel] I doubt it.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-10-20T14:44:56.000+0000", "updated": "2016-10-20T14:44:56.000+0000" }, { "id": "399496", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Added the list [here|https://wiki.appcelerator.org/display/guides2/Creating+a+New+Project+File].", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-20T14:49:22.000+0000", "updated": "2016-10-20T14:49:22.000+0000" }, { "id": "399500", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "[~cng], not an alloy issue. As Chris mentioned, {{modules}} is blacklisted in the ios build.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-10-20T16:06:47.000+0000", "updated": "2016-10-20T16:06:47.000+0000" }, { "id": "414210", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue will not fix.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T17:01:13.000+0000", "updated": "2017-03-21T17:01:13.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }