Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4447] Android: JSS picks up jss file from the iphone folder

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-11-05T13:59:33.000+0000
Affected Version/sRelease 1.7.0, Release 1.7.1
Fix Version/sSprint 2011-28, Release 1.8.0
ComponentsAndroid
Labelsn/a
ReporterPedro Enrique
AssigneeNatalie Huynh
Created2011-06-16T13:35:57.000+0000
Updated2011-11-05T13:59:33.000+0000

Description

The Problem

If you place the .jss files in their respective "/resources/iphone/" and "/resources/android/" folders and run the app.js file you'll find that on android it loads the "/resources/iphone/app.jss" file instead of the one for "/resources/android/app.jss" file. If you then remove the .jss file from the /iphone/ folder it correctly finds the android .jss file

To reproduce:

Follow instructions and use the code in the gist. https://gist.github.com/2d9511792698cf93dd41

Helpdesk Ticket:

APP-934675

Attachments

FileDateSize
timob4447.zip2011-07-14T12:08:46.000+0000748563

Comments

  1. Don Thorp 2011-06-16

    Pedro, is this with fastdev, without fastdev, or both?
  2. Pedro Enrique 2011-06-16

    This was with FastDev, I will try now without it.
  3. Pedro Enrique 2011-06-16

    Tested with fastdev off and get the same results (after a clean rebuild). Let me know if you need anything else.
  4. Marshall Culpepper 2011-07-14

    To verify this is fixed: Build and run this test for both Android and iOS. In iOS, you should see a horizontal button with red text, in Android you should see a vertical button with blue text.
  5. Natalie Huynh 2011-09-08

    Tested with 1.8.0.v20110906155354 on Motorola Xoom 3.2 Nexus One 2.2.2 iPad 2 4.3.5 Simulator 4.1
  6. Don Thorp 2011-11-05

    Standardizing summary and labels.

JSON Source