[TIMOB-14209] Tooling: Allow symlinked modules in build process
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-08-20T23:47:14.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 17, 2013 Sprint 17 Core, Release 3.2.0 |
Components | Tooling |
Labels | n/a |
Reporter | Sindre Sorhus |
Assignee | Chris Barber |
Created | 2012-11-23T16:00:27.000+0000 |
Updated | 2013-12-06T23:25:13.000+0000 |
Description
Titamium Studio can't find symlinked module:
Steps to reproduce:
- Symlink a module into: ~/Library/Application Support/Titanium/modules/iphone
- Build
If I manually move the module folder there it works.
[INFO] One moment, building ...
[WARN] Could not find Titanium Module id: ti.smsview, version: 1.1, platform: iphone
[ERROR] Could not find the following required iOS modules:
[ERROR] id: ti.smsview version: 1.1
[ERROR] Error: Traceback (most recent call last):
File "/Users/sindresorhus/Library/Application Support/Titanium/mobilesdk/osx/2.1.1.GA/iphone/builder.py", line 807, in main
exit(1)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 364, in __call__
raise SystemExit(code)
SystemExit: 1
Module folder must be moved in order for the building scripts to find it.
That's fairly obvious, but it's clearly not a solution. Symlinking is an integral part of a lot of developers workflow and should be supported. This ticket is not invalid.
bump
Pull request: https://github.com/appcelerator/node-appc/pull/52
Verified by creating a symlink for map module in modules folder of the SDK. Environment: Appcel Studio : 3.2.0.201312052211 Ti SDK : 3.2.0.v20131206113246 Mac OSX : 10.8.5 Alloy : 1.3.0-beta CLI - 3.2.0-beta Samsung Galaxy S4 running android 4.2.2 Nexus 5 - android 4.4