Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-11902

Add ability to provide build-time properties for projects in a separate file

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 3.0.0
    • Fix Version/s: None
    • Component/s: CLI

      Description

      Similar to ANT, we'd like a mechanism whereby individuals can supply a separate file for build-time properties and these would replace variables during the compilation step.

      A good use case for this might be the secret keys in ACS. We'd like to not store them in tiapp.xml, and instead have a separate build.properties file that contains the key/value pairs. This file would then get a .gitignore, so we don't accidentally check it into source control.

      An example:

      tiapp.xml

      <propertyname="acs-oauth-secret-production"type="string">${acs-oauth-secret-production}</property>

      build.properties

      acs-oauth-secret-production=XXYYZZ

      There would need to be some way to indicate which file contained the properties.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                ingo Ingo Muschenetz
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration