Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-7730

Alloy: Remove unnecessary CLI call when creating an Alloy project

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 4.3.1
    • Fix Version/s: Release 4.5.0
    • Component/s: Alloy
    • Environment:

      Windows 8.1, Mac OS 10.10.5
      Appc Studio: 4.3.1.201509222258

    • Story Points:
      3
    • Sprint:
      2015 Sprint 23 Studio

      Description

      Description

      When creating an Alloy project from Studio it makes two CLI calls, initially it makes an appc new call to create the project and then appc alloy new to generate an Alloy project. With the appc CLI it is unnecessary to make the second call and the it actually overwrites the ArrowDB related code injected to the app on project creation by the CLI.

      !ENTRY com.aptana.core 1 0 2015-09-25 18:05:07.946
      !MESSAGE (Build 4.3.1.201509222258) [INFO] com.aptana.core/debug/shell Running process:
      Process: "C:\Users\Ewan\AppData\Roaming\npm\appcelerator.CMD" "new" "--type" "titanium" "--platforms" "android,mobileweb,windows" "--id" "com.fwan" "--name" "alloyTwoCalls" "--sdk" "5.0.1.v20150924103934" "--project-dir" "F:\Documents\Appcelerator_Studio_Workspace\alloyTwoCalls" "--force" "--no-services" "--no-colors" "--no-progress-bars" "--no-prompt" "--no-banner" "--prompt-type" "socket-bundle" "--prompt-port" "51947"
       
      !ENTRY com.aptana.core 1 0 2015-09-25 18:05:25.370
      !MESSAGE (Build 4.3.1.201509222258) [INFO] com.aptana.core/debug/shell Running process:
      Process: "C:\Users\Ewan\AppData\Roaming\npm\appcelerator.CMD" "alloy" "new" "--force" "F:\Documents\Appcelerator_Studio_Workspace\alloyTwoCalls" "default" "--no-colors" "--no-progress-bars" "--no-prompt" "--no-banner" "--prompt-type" "socket-bundle" "--prompt-port" "51947"
      

      Steps to reproduce

      1. Clear your Studio logs, Help->Studio->View Log File
      2. Create an Alloy project
      3. Check your Studio logs, Help->Studio->View Log File

      Actual result

      There will be an appc new call and then an appc alloy new call

      Expected result

      Only an appc new call is needed to create an Alloy project so the appc alloy new call should not happen

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkolipaka Kondal Kolipaka (Inactive)
                Reporter:
                eharris Ewan Harris
                Reviewer:
                Praveen Innamuri (Inactive)
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: