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 project files need to get checked in?

Which files in projects are precious?

Most files in build are generated, however, without a build directory, an imported mobile project won't have iphone or android support.

I need to know which files I need to check into my VCS.

This should be a FAQ and should be mentioned in the getting started guide.

— asked November 29th 2010 by Jim Fulton
  • mobile
  • repository

2 Answers

  • Accepted Answer

    You can safely exclude the build folder from your VCS - everything else you will want to add to version control.

    — answered November 29th 2010 by Kevin Whinnery
  • Jim,

    Everything within build/iphone/ (And therefor build/android/ etc), unrequired README and LICENSE files.

    That's about it.


    — answered November 29th 2010 by Steve Clarke
    • Steve

      The license file is required, as per the terms of the license ;)

      4(a) You must give any other recipients of the Work or Derivative Works
       a copy of this License;

      — commented November 29th 2010 by Paul Dowsett
    • I did a bit of digging on this and through experimentation found that
      the build/iphone and build/android directories can be empty – at
      least for the template peoject generated when creating a new project.
      The contents of these directories will be generated if they are empty,
      although the android directory mist be older than the manifest and
      tiapp.xml directories.

      — commented November 29th 2010 by Jim Fulton
    • Hal H, you're right, although some online documentation



      "LICENSE - this file just describes the Appcelerator license. This
      is for your reference and not included in your application."

      If it isn't included in the package, it's going to be rather hard to
      adhere to the license. This seems to be be a bug in the documentation,
      the development tool, or the license. :/

      — commented November 29th 2010 by Jim Fulton
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.