[TIMOB-7621] MobileWeb: Compile Ti+ modules
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-03-12T13:01:34.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Sprint 2012-05, Release 2.0.0 |
Components | MobileWeb |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2012-02-10T16:25:25.000+0000 |
Updated | 2017-03-04T00:20:36.000+0000 |
Description
Need to implement the module compile process for Mobile Web modules. This will embed the manifest variables into the module, then minify the module, and bundle everything up.
Pull request: https://github.com/appcelerator/titanium_mobile/pull/1639
To test this, do the following: 0) Do a FULL scons of titanium_mobile 1) Create a module:
2) Build the module
3) Install the module into either the global modules folder -or- create a "modules" folder in your project as a sibling of the Resources directory. 4) Add the module to the tiapp.xml
5) Copy the mymodule/0.1/example/app.js to the Resources/app.js 6) Build the project 7) Run the project in a web browser 8) View the console output and should look like this:
Closing ticket due to MobileWeb no longer being supported.