[TIMOB-17822] CLI: Update node-appc to latest version to address timodule caching
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-11-05T21:17:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 4.0.0 |
Components | CLI, Tooling |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2014-10-06T22:45:01.000+0000 |
Updated | 2015-03-19T23:12:37.000+0000 |
Description
There were some fixes in node-appc's timodule library to address module detection caching.
Master: https://github.com/appcelerator/titanium_mobile/pull/6201 To test: 1) create an app that uses modules 2) verify that the correct modules were found You do not need to do a full build... just look at the output right at the top of a build.
Doesn't work for me. App using ti.map won't build with the following output:
In /Library/Application Support/Titanium/modules/iphone/ti.map/ I have versions 2.0.0, 2.0.1, and 2.0.2. In ~/Library/Application Support/Titanium/modules/iphone/ti.map/ I have version 2.0.2 and 2.0.4 (which is the version created by this 3.5.0 build)
[~skypanther] PR updated and ready for testing. Thank you!
[~cbarber] The new PR builds & finds the c2.0.2 map module in /Library/Application Support/Titanium/modules/iphone/ti.map/ But it doesn't find the newer version 2.0.4 in ~/Library/Application Support/Titanium/modules/iphone/ti.map/ Per http://docs.appcelerator.com/titanium/latest/#!/guide/Using_a_Module both locations should be valid, though the latter is preferred for newer OSX versions.
Small node-appc fix: https://github.com/appcelerator/node-appc/pull/98
That fixed it! PR merged
Verified the implementation. CLI picks up the latest module & no caching issue is seen. Closing. Environment: Appc Studio : 3.5.1.201412091616 Ti SDK : 4.0.0.v20150317234215 CLI : 4.0.0-alpha Alloy : 1.6.0-alpha MAC Yosemite : 10.10.2 Nexus 5 - Android 5.1 Iphone 6 plus - IOS 8.3 Beta