Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14209] Tooling: Allow symlinked modules in build process

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-08-20T23:47:14.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 17, 2013 Sprint 17 Core, Release 3.2.0
ComponentsTooling
Labelsn/a
ReporterSindre Sorhus
AssigneeChris Barber
Created2012-11-23T16:00:27.000+0000
Updated2013-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

Comments

  1. Pedro Enrique 2013-04-01

    Module folder must be moved in order for the building scripts to find it.
  2. Sindre Sorhus 2013-04-02

    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.
  3. Sindre Sorhus 2013-08-19

    bump
  4. Chris Barber 2013-08-20

    Pull request: https://github.com/appcelerator/node-appc/pull/52
  5. Lokesh Choudhary 2013-12-06

    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

JSON Source