You must Login before you can answer or comment on any questions.
Hi there. Is there a doc somewhere that shows how to build from source? I seem to be missing some components from the github such as those in the lib directory - ant.jar, xmlapis.jar, ant-nodeps.jar, ant-launcher.jar and titanium.jar? Thanks
Here is how to build Titanium Mobile from source:
Pre-requisite: You need Python and "scons" to build. If you're running 2.5 you may need to install JSON, if it's not already installed. v2.6 already includes the JSON module.
- Download the Titanium Mobile source from Git.
git clone email@example.com:appcelerator/titanium_mobile.git or git clone git://github.com/appcelerator/titanium_mobile.git or http://github.com/appcelerator/titanium_mobile/zipball/master.
Unzip the project and run
sconsfrom the command line within the project root directory:
[ZIPPATH]/sconsAssuming your build was successful, you will see a zip file in the
Unzip the new distribution file and put the new
mobilesdksource in the Titanium application directory:
/Library/Application Support/Titanium/mobilesdk/osx/You can do this by navigating to the
/Library/Application Support/Titanium/directory and typing the following:
unzip "[ZIPPATH]"/titanium_mobile/dist/ mobilesdk-1.0.0-osx.zipChange the zip name if needed
This will install Titanium Mobile in the proper directory (mobilesdk/osx/). You can manually do this, too. Either way.
Restart Titanium Developer and select the new SDK version for your project (it's in the Edit Project tab).
I'm not sure about the last one, but the other four look to be part of the normal Apache ant distribution (ant.apache.org).
OK, so I must have had a file corruption because I deleted and reinstalled the github clone and now it works fine.
I would still like to see a doc on this tho for prosperities sake - especially in sofar as how to extend titanium with new modules.
Think you can help? Login to answer this question!