[TIMOB-4451] Tooling: Modules are not properly auto-deployed
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-08-09T22:28:11.000+0000 |
Affected Version/s | Release 1.7.0 |
Fix Version/s | Sprint 2011-32, Release 1.8.0 |
Components | Tooling |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Bill Dawson |
Created | 2011-06-17T15:58:00.000+0000 |
Updated | 2017-03-03T22:49:37.000+0000 |
Description
When a module zip file is in the Titanium root directory, then referenced by an app, the zip file is not auto-deployed. It should be.
* Couldn't reproduce at all with Android. * Could only reproduce on iOS when using a development version of the SDK, specifically because I use a symlink from /Library/App.../Titanium/mobilesdk/osx/DEV_1.7.X --->> /Users/bill/src/titanium_mobile/dist/mobilesdk/osx/1.7.2. The presence of the symlink causes the search for modules to occur in /Users/bill/src/titanium_mobile/dist instead of /Library/App.../Titanium (side-effect of abspath() in Python?) @NOLAN can you confirm whether this was the same scenario in which you were experiencing this?
Test case for QE: * Check your /Library/Application Support/Titanium/modules/iphone folder. If there is a ti.barcode folder there, delete it with rm -r
ti.barcode
. * Create a new app/project in Titanium Studio. Make sure that project targets 1.7.0 or 1.7.1 (our production releases, NOT a symlink of a still-in-development version of Titanium Mobile). * Copy the ti.barcode-iphone-1.1.zip (which I send you by e-mail) to /Library/Application Support/Titanium. * Build/release that project to the iPhone Simulator. * Check /Library/Application Support/Titanium/modules/iphone folder. Is there now a ti.barcode sub-folder? (There should be.)Looks like this is fixed. I added an additional step (which I assumed): Added "
Though QE was satisfied, I kept this open to evaluate the dev time bug I was seeing (described in my first comment) when symlinks were used. This has now also been fixed (since july 13 actually :) ). The problem started with this community contribution: https://github.com/appcelerator/titanium_mobile/commit/fb473409c3d3f4dafcc3e48d3b750adf61bed7c6#support/iphone/builder.py Marshall fixed it with this commit: https://github.com/appcelerator/titanium_mobile/commit/9a2d071a0c2eec2d351c7426594945baab81beb6#support/iphone/builder.py
Closing ticket.