Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2191] JSS in Titanium SDK 3.0.0 malfunctioning

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionWon't Fix
Resolution Date2013-12-17T19:02:31.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labels3.0.0.GA, @import, android, jss
ReporterWytze Schouten
AssigneeShak Hossain
Created2013-01-25T13:04:08.000+0000
Updated2016-03-08T07:41:10.000+0000

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. My 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: iOS: File "Resources\app.iphone.jss" uses @import to include ten files in "Resources\jss" folder. Android: File "Resources\Android\global.jss" uses @import to include ten files in "Resources\Android\jss" folder. This 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*: - the compiler seems unable to find app.iphone.jss or the regular \jss folder. - the compiler does find the global.jss, includes it, and throws errors about not being able to understand the @import commands. So my app ends up opening without any JSS applied, i.e. broken.

Comments

  1. Davide Cassenti 2013-04-05

    Hello, Can you please share the source code of a sample app that reproduces the problem?
  2. Mostafizur Rahman 2013-12-10

JSON Source