Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9283] Tooling: Symlinks are ignored compiling on device

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-08-13T15:17:10.000+0000
Affected Version/sRelease 2.1.0, Release 1.8.2, Release 2.0.1
Fix Version/sSprint 2012-16 Core, Release 3.0.0
ComponentsCore
Labelscore
ReporterDavide Cassenti
AssigneeMax Stepanov
Created2011-11-24T01:26:37.000+0000
Updated2017-03-23T18:08:10.000+0000

Description

Problem

When installing on device, my symlinks for folders and files are ignored.

Steps to reproduce

Create a symlink that adds an images directory (located somewhere else on the filesystem) to the Resources folder.

Additional notes

Customer ticket: http://support.appcelerator.com/tickets/APP-653435

Comments

  1. Davide Cassenti 2012-05-24

    Paul Dowsett proposed this solution for v1.8.0, on iOS, but not Android:
       line 517
       -- for root, dirs, files in os.walk(source):
       ++ for root, dirs, files in os.walk(source, True, None, True):
       
  2. Ingo Muschenetz 2012-05-24

    Is this a Titanium Studio ticket? We don't actually do the compiling--we defer to the command-line SDK for that, so the fix I believe is in the SDK.
  3. Neeraj Gupta 2012-07-28

    We need a complete test case (Java Script, Symlinks, folders, etc.) to diagnose this issue.
  4. Davide Cassenti 2012-07-30

    Hello, Take a look to this GIST project for an example of how to replicate the issue: https://gist.github.com/dd29e38d40148a44cdff I created just 2 JS files and added a README with 2 testcases: a symlink to a directory (which has the bug) and a symlink to single javascript files (this works).
  5. Max Stepanov 2012-08-10

    PR pending https://github.com/appcelerator/titanium_mobile/pull/2715
  6. Bill Dawson 2012-08-13

    In the future please put test cases in the JIRA description field or comment, not in a gist.
  7. Blain Hamon 2012-08-13

    Pull merged.
  8. Lee Morris 2017-03-23

    Closing ticket as fixed.

JSON Source