Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18454] Windows: apis.jsca becomes corrupted during generation on CI server

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-02-04T22:40:28.000+0000
Affected Version/sn/a
Fix Version/sRelease 4.1.0
ComponentsTooling, Windows
Labelsn/a
ReporterGary Mathews
AssigneeBenjamin Hatfield
Created2015-01-27T23:42:14.000+0000
Updated2017-03-14T19:48:10.000+0000

Description

The apis.jsca file generated on Jenkins becomes corrupted by the console output. Example !http://puu.sh/f7w1R/9b035ffd1f.PNG! The script that runs the JSCA generation on Jenkins is located here: https://github.com/appcelerator/titanium_mobile/blob/master/site_scons/package.py#L63 Calling: https://github.com/appcelerator/titanium_mobile/blob/master/apidoc/docgen.js

Comments

  1. Ingo Muschenetz 2015-01-28

    [~tonylukasavage] and [~cbarber] thoughts?
  2. Tony Lukasavage 2015-01-28

    those are color codes that should be stripped out, but i have no idea why they end up in the generated file. Whatever process that the file generation process is consuming might have had changes to its logging, or log level. It seems quieting down the source process would be the fix.
  3. Chris Barber 2015-01-28

    Use \-\-no-colors.
  4. Chris Barber 2015-01-28

    Also why is there a bunch of \[INFO\] output in a jsca file? Something else is messed up.
  5. Benjamin Hatfield 2015-02-04

    PR ready: https://github.com/appcelerator/titanium_mobile/pull/6617
  6. Lee Morris 2017-03-14

    Closing ticket as fixed.

JSON Source