Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

What are the essential vs. generated files/dirs in a Titanium project?

I'm trying to figure out which files in a Titanium project are essential vs. which are generated when building/using Developer. For example, if you were to add your project to a source control repository, or if you were to package your source to distribute to someone else, which files would you include/add/package and which are okay to leave out?

Thanks so much.

— asked April 16th 2010 by Christopher Rumpf
  • control
  • generated
  • packaging
  • source

2 Answers

  • Accepted Answer

    Generally you should check everything in except the 'dist' directory.

    — answered April 16th 2010 by Martin Robinson
  • Can you be a bit clear in making your point…..

    1.the resource folder contains all the hardcodings that you do in Js and other resources such as images etc…

    2.the build folder contains all generated files(java files)–>appcelerator converts your Js coding into Java codes(in terms of android)that runs natively on Android devices.[may be take a peek at those java files, you can understand the java class structures if you have had earlier experiences on developing android apps using eclipse].

    3.now considering your last query about the packaging..guess yo need not have to do any thing other than to switch to distribute tab and follow this video tutorial[ http://vimeo.com/10278960 ]..

    — answered April 17th 2010 by Satta Ravi
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.