Titanium

[ALOY-573] App won't compile without Resources/app.js file present

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2013-03-19T19:00:38.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsTitanium SDK
Labelsn/a
ReporterTim Poulsen
AssigneeTony Lukasavage
Created2013-03-19T18:36:31.000+0000
Updated2014-06-22T13:23:11.000+0000

Description

Steps to reproduce

1. Download and import https://github.com/appcelerator-training/tcd_training/tree/master/labcode/Starting/07_networking 2. Build the project

Expected results

App would compile.

Actual results

Because app.js is generated from the alloy code, it shouldn't be necessary. However, the downloaded project doesn't include such a file and the app will not build. Work around: create a Resources/app.js file. It doesn't have to have anything in it. May relate to ALLOY-377

Comments

  1. Tony Lukasavage 2013-03-19 this should probably be moved to a TIMOB ticket. Alloy doesn't have any control over that part of the process, the CLI fails before Alloy is invoked. There might already bea ticket for this but I'm not sure where it is.
  2. Tony Lukasavage 2013-03-19 looks like this was resolved in TIMOB-12722 and should be fixed in TiSDK 3.1.0

JSON Source