Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8463] Android: Code comment slows code compilation time

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-07-09T05:11:31.000+0000
Affected Version/sRelease 2.0.1
Fix Version/sRelease 2.1.0, Sprint 2012-11 Core
ComponentsAndroid
Labelscore, module_android, qe-testadded
ReporterMauro Parra-Miranda
AssigneeMax Stepanov
Created2012-03-28T12:24:23.000+0000
Updated2012-07-09T15:48:18.000+0000

Description

Action: Run->Android Emulator Result: Last message in console "[INFO] Compiling Javascript Resources ..." Task manager show python.exe using 100% of the CPU for 10+ minutes. Caused by a block of JavaScript code. See attachment. I've tried putting the code in a c-style comment /* code */ and still seeing the problem. It seems that 'Ti...' has a special meaning to the build interpreter.

Attachments

FileDateSize
tiBug.txt2012-03-28T12:24:23.000+000014353

Comments

  1. Junaid Younus 2012-05-21

    Tested with 2.0.1GA2, issue still exists. I left my laptop for 15 mins, without any progress. It was stuck and I cancelled the test.
  2. Max Stepanov 2012-05-22

    PR pending https://github.com/appcelerator/titanium_mobile/pull/2245
  3. Olga Romero 2012-06-27

    Verified fix with Titanium Studio, build: 2.1.0.201206251749 Titanium SDK: 2.1.0.v20120626204252 Android Emulator
  4. Shyam Bhadauria 2012-07-09

    Re-opening to edit label

JSON Source