Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3379] Require doesn't handle relative paths.

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionDuplicate
Resolution Date2011-04-15T03:43:34.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-13
ComponentsiOS
Labelsios
ReporterBlain Hamon
AssigneeReggie Seagraves
Created2011-04-15T03:43:33.000+0000
Updated2017-03-03T06:24:12.000+0000

Description

Similar to #3349, Require doesn't do relative pathing properly, but instead does everything relative to the root of the resources dire, despite the current path of the js executing. The issue lies around krollBridge.mm:631. This should be standardized.

Comments

  1. Blain Hamon 2011-04-15

    This is a dupe of #3349 for all intents and purposes.

  2. Rick Blalock 2011-08-10

    How are you planning on handling this then? Will the default be relative and if no file is found relative go to resources? i.e. standard for CommonJS is to look in a default folder (like 'modules') first, if not found, then it will go through a few other steps.
  3. Lee Morris 2017-03-03

    Closing issue due to time passed and irrelevance of the ticket.

JSON Source