Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17008] An additional folder 'template' gets added to the project if some of its platforms are checked after creation from the tiapp.xml file

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-05-21T20:09:15.000+0000
Affected Version/sRelease 3.3.0
Fix Version/s2014 Sprint 10, 2014 Sprint 10 Tooling, Release 3.3.0
ComponentsCLI
Labelsmodule_cli, qe-3.3.0, qe-testadded
ReporterShreya Chowbey
AssigneeChris Barber
Created2014-05-21T10:20:12.000+0000
Updated2014-07-03T10:31:52.000+0000

Description

1. Create a default Titanium project or any template project (like single window) for all Platforms. 2. Now uncheck some platform while creation and than create a project. 3. After the project gets created select the unchecked platforms from Tiapp.xml file and save it. Actual Result: 1. The 'template' folder does not get created for a project which is created for all platforms. 2. The project which is created for selected platform firstly does not have any template folder but once the unchecked platforms are selected from the Tiapp.xml file and saved, a new 'template' folder gets added to the Project folder hierarchy. This 'template' folder also has a 'Resource' folder and 'app.js' file in it. So the same project has two Resource folders as well as two app.js files. Please refer the attached screen shots for more clarification

Attachments

FileDateSize
Screen Shot 2014-05-21 at 3.49.01 PM.png2014-05-21T10:20:12.000+000033052

Comments

  1. Chris Barber 2014-05-21

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5718 3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5719
  2. Olga Romero 2014-05-30

    Tested with Mac osx 10.9.3 Mavericks Appcelerator Studio, build: 3.3.0.201405271647 Titanium SDK, build: 3.3.0.v20140528144113 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-beta npm@1.3.2 titanium@3.3.0-beta titanium-code-processor@1.1.1 Device: BB Z10 (10.2.1) Projects are created with no additional folders or files

JSON Source