Project: titanium
Issue TIMOB-18518: Windows: module generator assumes wrong name for module header file
I tried to generate TableViewRow and ran into some issues. First the script failed with: {code} Generating Titanium.UI.TableViewRow... Implementing Titanium.UI.TableViewRow... /Users/cwilliams/repos/titanium_mobile_windows/Tools/Scripts/module_generator/generate.js:357	if (error) throw error;	^ Error: ENOENT, rename '../../../Source/TitaniumKit/include/Titanium/UI.hpp' {code} That's because the name is UIModule.hpp, not UI.hpp. Some of our modules use the base name (Gesture.hpp), most append "Module" (UIModule.hpp, DatabaseModule.hpp) because the name can't match a neamespace name (i.e. Titanium::Database, Titanium::UI). The module generate should know when to append Module and when not to (or try looking for WhateverModule.hpp and if that doesn't exist fall back to Whatever.hpp).
Story points: 2