Project: appceleratorstudio
Issue TISTUD-1416: Titanium Mobile Module project wizard overwrites default manifest content
Close to a blocker, but you can get around it # Create a new mobile module project for iOS. Fill in any default values # Go through the wizard # Attempt to package the project. You will get an error of "missing required manifest key 'name'" Inspecting the manifest file, you should have something like: {code} # # this is your module manifest and used by Titanium # during compilation, packaging, distribution, etc. # version: 0.1 apiversion: 2 description: My module author: Your Name license: Specify your license copyright: Copyright (c) 2012 by Your Company # these should not be edited name: testmodule4 moduleid: asdasd.asdas guid: 60a2774b-54c6-47d2-9889-d38698d3c0d3 platform: iphone minsdk: 2.0.0.v20120322190311 {code} but instead, you get: {code} #appname: testModule #publisher: ingo #url: #image: appicon.png #appid: com.test #desc: undefined #type: module #guid: e292c47a-1210-46e9-9721-4444553793dd {code} We need to preserve the contents of the manifest file and only change elements as necessary. BasicNewTitaniumProject.generateInitialManifest() is not useful in the context of module generation. It may also cause problems with other templates too, as it seems we are completely overwriting the original manifest. We should append/modify as necessary.
Story points: 8