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

LiveView: 'alloy compile' command is used to recompile the Alloy code without specifying the platform

    Details

      Description

      Problem description

      When modifying an Alloy project, LiveView is triggering the 'alloy compile' command in order to recompile the Alloy code and then update the running app.
      However, the correct compile command should be always passed specifying the platform, for ex. alloy compile --config platform=ios

      For this reason, with Alloy 1.2.0, the 'alloy compile' command is returning an error and in this case LiveView is not working at all.

      Steps to reproduce

      1. Modify an Alloy project running LiveView
      Result: App is not updated.
      Error log:

      [LiveView] Alloy recompile initiated
      [LiveView]        .__  .__                
      _____  |  | |  |   ____ ___.__.
      \__  \ |  | |  |  /  _ <   |  |
       / __ \|  |_|  |_(  <_> )___  |
      (____  /____/____/\____// ____|
           \/                 \/
      Alloy by Appcelerator. The MVC app framework for Titanium.
      
      [DEBUG] ----- CONFIGURATION -----
      [DEBUG] deploytype = development
      [DEBUG] project path = /Users/fcasali/Documents/Appcelerator_Studio_Workspace_4/alloyDefaultProject
      [DEBUG] app path = /Users/fcasali/Documents/Appcelerator_Studio_Workspace_4/alloyDefaultProject/app
      [DEBUG] 
      [ERROR] You must define a target platform for the alloy compile command
      

        Attachments

          Activity

            People

            • Assignee:
              csullivan Christian Sullivan
              Reporter:
              fcasali Federico Casali
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-17054
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration