[AC-2183] Changes to strings.xml do not take effect until after a clean build.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Cannot Reproduce |
| Resolution Date | 2013-09-16T06:46:37.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | n/a |
| Reporter | Gordon Illan |
| Assignee | Shak Hossain |
| Created | 2013-09-11T23:28:54.000+0000 |
| Updated | 2016-03-08T07:41:10.000+0000 |
Description
Update a string in strings.xml and run the app (and trigger the display of the string you just edited). You won't see the updated string. Now do a clean build and run. You will see the updated string.
Hello , I checked this issue. It’s working properly for me without clean project build. Thanks
Well it doesn't work properly for me either. Titanium Studio, build: 3.1.3.201309132423 (c) Copyright 2012-2013 by Appcelerator, Inc. All rights reserved. Build: jenkins-titanium-rcp-master-21 (origin/master) Date: 13 September 2013, 00:23:57
We tried to reproduce this issue with a sample test case but everything worked fine for us with Titanium SDK 3.1.3.GA and Titanium Studio, build: 3.1.3.201309132423. Please test this sample case and let us know if the issue persists. If yes, please let us know what we are doing differently.
Testing Environment:
MacBook Pro OSX Version 10.9 Ti CLI 3.1.2, 3.2.0-cr3 Titanium SDK:3.1.3.GA, 3.2.0.v20131209192649 IOS Simulator 7.0Test Code
strings.xmlvar win1 = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff' }); // create a label var label = Ti.UI.createLabel({ text: L('hello') }); // add to parent win1.add(label); win1.open();Steps to Reproduce:
Create a simple mobile project.
Paste this code in app.js
PasteHello World into strings.xml into i18n directory.
Run the app
Make a little change intoHello World2 into strings.xml and the run the app again.
It’s working properly without clean project build.