Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1373] /platform and /i18n folder contents can be lost on build

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionInvalid
Resolution Date2016-03-18T22:38:57.000+0000
Affected Version/salloy 1.8.0
Fix Version/sn/a
ComponentsI18N
Labelsqe-5.1.2
ReporterEric Wieber
AssigneeChris Barber
Created2016-03-18T22:34:51.000+0000
Updated2018-03-07T22:28:26.000+0000

Description

Regarding the changes made in ALOY-1365: If a user adds resources to their /platform or /i18n folders after building once when they were empty, their contents can be lost. *Steps to reproduce issue* 1. Create a new project with ti create 2. cd into the project 3. Run alloy new 4. Build the project with ti build (/platform and /i18n folders are created) 5. Add resources to the /platform and /i18n folders 6. Build the project again with ti build *Expected results* The /project and /i18n folder contents remain and/or are moved to the app/platform and app/i18n folders. May also get the message to move the root folders inside the app directory. *Actual Results* The contents of the folders are deleted and no message is given.

Comments

  1. Chris Barber 2016-03-18

    The /platform and /i18n directories will only be deleted if they contain an alloy_generated file, which clearly states that this folder is going to be deleted next build. This behavior is by design.
  2. Eric Merriman 2018-03-07

    Closing as invalid. If this is incorrect, please reopen.

JSON Source