Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8178] MobileWeb: Module build.py Inconsistencies

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2012-03-22T08:52:19.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterDawson Toth
AssigneeChris Barber
Created2012-03-22T07:18:26.000+0000
Updated2012-03-22T08:52:19.000+0000

Description

Inconsistencies

Two problems: 1. By convention on iOS, sdk_path should come from titanium.xcconfig. 2. Markdown or markdown2 is included in sdk/module/support. But the path was not being changed before importing them, forcing users to manually install the modules. I have demonstrated how to fix these two problems in a commit on GitHub. I did not send a pull request, because I have been informed that pull requests are detrimental. https://github.com/dawsontoth/titanium_mobile/commit/a5d9bf95ba7bcb1f98b9f51964410a7b3376cb89

Comments

  1. Chris Barber 2012-03-22

    Mobile Web's build.py does not need a titanium.xcconfig. xcconfig is an xcode thing and is unnecessary for mobileweb. Mobile Web's build.py is loading the markdown files from the "common" folder, which is being added to the system path before importing markdown. On my system, this "common" directory is /Library/Application Support/Titanium/mobilesdk/osx/2.0.0/common.

JSON Source