Project: titanium
Issue TIMOB-19025: Windows: Build fails if the ti.windows.publishername is not present
h5.Description When building a Windows platform project if the property {{CN=Ewan Harris}} is not defined then the build will error out with the below {code} C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150614181235\windows\cli\commands\_build.js:1703 publisherName: this.cli.tiapp.properties['ti.windows.publishername'].value, ^ TypeError: Cannot read property 'value' of undefined at WindowsBuilder.generateCmakeList (C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150614181235\windows\cli\commands\_build.js:1703:72) at C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150614181235\node_modules\node-appc\node_modules\async\lib\async.js:610:21 at C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150614181235\node_modules\node-appc\node_modules\async\lib\async.js:249:17 at iterate (C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150614181235\node_modules\node-appc\node_modules\async\lib\async.js:149:13) at C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150614181235\node_modules\node-appc\node_modules\async\lib\async.js:160:25 at C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150614181235\node_modules\node-appc\node_modules\async\lib\async.js:251:21 at C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150614181235\node_modules\node-appc\node_modules\async\lib\async.js:615:34 at WindowsBuilder.generateModuleFinder (C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150614181235\windows\cli\commands\_build.js:1614:2) at C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150614181235\node_modules\node-appc\node_modules\async\lib\async.js:610:21 at C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150614181235\node_modules\node-appc\node_modules\async\lib\async.js:249:17 {code} h5.Steps To Reproduce 1. Create a new project 2. Build the project h5.Actual Result The build will error out with the above error h5.Expected Result The build should not error out
Story points: 5