Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13129] folder in Resources can't have same name as project

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2016-08-29T18:20:08.000+0000
Affected Version/sRelease 3.0.2
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterRick Blalock
AssigneeEric Merriman
Created2013-03-19T16:37:39.000+0000
Updated2017-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

Comments

  1. Rick Blalock 2013-03-20

    Same error happens when putting any image in the widget's /asset/ folder.
  2. Rick Blalock 2013-03-20

    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!
  3. Tony Lukasavage 2013-03-20

    Rick, was this specific to a particular platform?
  4. Rick Blalock 2013-03-20

    I was compiling for iOS.
  5. Tony Lukasavage 2013-03-26

    Another case coming in from the community: http://developer.appcelerator.com/question/150073/my-android-application-not-showing-in-android-emulator
  6. Chris Barber 2016-08-29

    Dupe of TIMOB-17694.
  7. Lee Morris 2017-03-21

    Closing ticket as duplicate with reference to the above comments.

JSON Source