[TIMOB-13129] folder in Resources can't have same name as project
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-08-29T18:20:08.000+0000 |
Affected Version/s | Release 3.0.2 |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Rick Blalock |
Assignee | Eric Merriman |
Created | 2013-03-19T16:37:39.000+0000 |
Updated | 2017-03-21T22:53:07.000+0000 |
Description
Pulled from master last night. Alloy 1.1.0
Steps to reproduce:
1. Create any folder in a widget.
2. Place a .js file in that folder with any type of javascript, not important. Or place it in the /assets/ folder, whichever you'd like
3. Run.
4. Compile time errors. You'll either get the following:
http://pastie.org/6628713
or
http://www.screencast.com/t/UvzS2zGdp9B
Same error happens when putting any image in the widget's /asset/ folder.
Ok I figured this out. This bug will need to be moved to the appropriate place. Here's what happened: The Ti project name was the same name as the widget: "uikit". For some reason, if you have a folder name in /Resources/ of the same name as the Ti project, it will not compile. I changed the name of the ti project (e.g. in the tiapp.xml / manifest) so that my widget does not have the same name, and it worked!
Rick, was this specific to a particular platform?
I was compiling for iOS.
Another case coming in from the community: http://developer.appcelerator.com/question/150073/my-android-application-not-showing-in-android-emulator
Dupe of TIMOB-17694.
Closing ticket as duplicate with reference to the above comments.