Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-802] Ti.include relative paths are always from the app root

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:17.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsAndroid
Labelsandroid, defect, include
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-04-15T02:36:44.000+0000
Updated2011-04-17T01:54:17.000+0000

Description

.. instead of from the directory of the file that is calling Ti.include

Comments

  1. Bill Dawson 2011-04-15

    I can confirm this is cross-platform prob. Problem in iPhone too (I noticed it was only tagged for android here, so I thought maybe it wasn't clear that it's also cross-platform.)

    Also, dupe of #503.

  2. Marshall Culpepper 2011-04-15

    (from [47d9e1b75cc4dd4c20374fbc90cd9529cf7d7b61]) use a stack to manage the relative location of Ti.include paths (since we don't always associate a context with them) [#802 state:resolved] http://github.com/appcelerator/titanium_mobile/commit/47d9e1b75cc4dd4c20374fbc90cd9529cf7d7b61"> http://github.com/appcelerator/titanium_mobile/commit/47d9e1b75cc4d...

  3. hal 2011-04-15

    Marshall / Don

    I think this was a duplicate of #503, wasn't it?
    Please note my comment at the end of #503, which describes a similar bug with relative imageView urls. Are you aware of this? Do we need to raise a fresh ticket for it?

    Thanks
    Hal

JSON Source