[ALOY-1596] Mobileweb assets copied on alloy new
GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-01-05T17:24:54.000+0000 |
Affected Version/s | Alloy 1.10.9 |
Fix Version/s | CLI Release 7.0.2 |
Components | Samples & Templates |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2017-12-19T14:51:40.000+0000 |
Updated | 2018-01-19T16:54:27.000+0000 |
Description
Description
Similar to ALOY-1322, mobileweb assets are still being copied when creating a new alloy app.
There's a lot more mentions of mobileweb in the test suite than blackberry I believe so not sure simple this would be, is it actually more involved that just removing the platform/mobileweb folder? [~fmiao] any recommendations?
Steps to reproduce
appc new -t titanium -n mwassets --id com.foo
ls mwassets/app/assets/
Actual
mobileweb assets are there
Expected
No mobileweb assets
Comments
JSON Source
PR: https://github.com/appcelerator/alloy/pull/866
This change caused some runtime errors around OS_MOBILEWEB usage in Alloy, have fixed but need to push
[~fmiao] I think this now makes
platform=mobileweb
in xml invalid, I'm worrisome of us breaking apps with this change.[~eharris], yeah I'm gonna revert the merge.
New PR: https://github.com/appcelerator/alloy/pull/869 Verification:
Run
appc new
Check app/assets
- Should be no mobileweb folderNode Version: 8.9.1 NPM Version: 5.5.1 Mac OS: 10.13.1 Appc CLI: 7.0.0-master.6 Appc CLI NPM: 4.2.11 Titanium SDK version: 7.0.1.GA Validated fix with this environment.