Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20054] Windows: Use and generate correct Main_class.h when compiling

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2015-11-23T23:59:40.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.1.2
ComponentsWindows
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2015-11-23T21:52:28.000+0000
Updated2015-12-08T00:41:05.000+0000

Description

titanium_prep for Windows gets compiled using Androids Main_class.h. This file should also be generated and replaced with the latest Main.class when building for Windows using ant.

Comments

  1. Gary Mathews 2015-11-23

    titanium_prep: https://github.com/appcelerator/titanium_prep/pull/24 titanium_mobile_windows: https://github.com/appcelerator/titanium_mobile_windows/pull/483 titanium_mobile_windows 5_1_X: https://github.com/appcelerator/titanium_mobile_windows/pull/484
  2. Ewan Harris 2015-12-08

    Verified using: Windows 10 Pro Appc CLI Core 5.1.0 Appc CLI NPM 4.2.2 Ti SDK 5.1.2.v20151206185250 Ti CLI 5.0.5 When building a platform project for wp-device and packaging the app using the Titanium CLI the build now errors out with the below, when building using the appc cli there are no adverse effects
       [ERROR] Failed to encrypt JavaScript files
       [ERROR] This application cannot be built with the Titanium open source SDK because it is an Appcelerator Platform registered application. Please use the Appcelerator Platform CLI tools or Appcelerator Studio to build this application.
       
    Closing ticket

JSON Source