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

Liveview: Build errors if project directory path contains Resources

    Details

    • Type: Bug
    • Status: In Review
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 9.3.0, Release 9.2.2
    • Fix Version/s: None
    • Component/s: LiveView
    • Labels:
      None

      Description

      Description

      If a project directory path contains Resources anywhere in the path (e.g. /Users/ewan/Resources/my-titanium-app/) then liveview will error out with Project directory "<project directory parent>" is not a valid Titanium project (e.g. Project directory "/Users/ewan/Resources/" is not a valid Titanium project

      This is because liveview is performing a bad lookup on whether the provided project directory contains Resources or not, and then popping off the last segment of the path regardless of where Resources is found

      Steps to reproduce

      1. Create a project called Resources
      2. cd into that directory and create a new titanium app
      3. Build the project with liveview enabled

      Actual

      Liveview complains that the parent directory is not a titanium project

      Expected

      Liveview should function just fine

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Christopher Williams
            • Watchers:
              5 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