[ALOY-1373] /platform and /i18n folder contents can be lost on build
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2016-03-18T22:38:57.000+0000 |
Affected Version/s | alloy 1.8.0 |
Fix Version/s | n/a |
Components | I18N |
Labels | qe-5.1.2 |
Reporter | Eric Wieber |
Assignee | Chris Barber |
Created | 2016-03-18T22:34:51.000+0000 |
Updated | 2018-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.
The
/platform
and/i18n
directories will only be deleted if they contain analloy_generated
file, which clearly states that this folder is going to be deleted next build. This behavior is by design.Closing as invalid. If this is incorrect, please reopen.