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

CLI: Generic Build only Flag "-b/--build-only" not working for android platform

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.3.0
    • Fix Version/s: None
    • Component/s: CLI
    • Environment:

      Appc-Studio:3.3.0.201405271647
      sdk:3.3.0.v20140603152512
      acs:1.0.14
      alloy:1.4.0-beta
      npm:1.3.2
      titanium:3.3.0-beta2
      titanium-code-processor:1.1.1
      xcode:5.1.1
      OS:Maverick(10.9.2),Windows(8.1)

    • Sprint:
      2014 Sprint 11 Tooling

      Description

      Generic Build Flags "-b" not working for android platform.
      This is a regression. Working fine for titanium@3.2.3
      Working fine for iOS.

      Steps Followed.
      1.Create a project ,you have to be in the project directory to be able to run command "ti build -p android -b true"

      Expected Result:
      1. Project must built successfully and Emulator must not launch

      Actual Result:
      1. Getting error on CLI as

      Titanium Command-Line Interface, CLI version 3.3.0-beta2, Titanium SDK version 3.3.0.v20140603152512
      Copyright (c) 2012-2014, Appcelerator, Inc.  All Rights Reserved.
       
      Please report bugs to http://jira.appcelerator.org/
       
       
      /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185
              throw e;
                    ^
      TypeError: Cannot call method 'filter' of null
          at AndroidBuilder.validate (/Users/p.agarwal/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/android/cli/commands/_build.js:1281:65)
          at exports.validatePlatformOptions (/Users/p.agarwal/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/node_modules/titanium-sdk/lib/titanium.js:596:69)
          at /Users/p.agarwal/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/cli/commands/build.js:194:19
          at callCommandValidate (/usr/local/lib/node_modules/titanium/lib/cli.js:850:7)
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:227:13
          at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:134:13)
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:145:25
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:17
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:556:34
      ---------------------------------------------
          at run (/Users/p.agarwal/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/node_modules/node-appc/lib/subprocess.js:59:8)
          at /Users/p.agarwal/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/node_modules/titanium-sdk/lib/android.js:452:4
          at getRealName (/Users/p.agarwal/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/node_modules/node-appc/lib/subprocess.js:124:10)
          at /Users/p.agarwal/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/node_modules/titanium-sdk/lib/android.js:449:3
          at /Users/p.agarwal/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/node_modules/async/lib/async.js:533:17
          at /Users/p.agarwal/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/node_modules/async/lib/async.js:119:25
          at /Users/p.agarwal/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/node_modules/async/lib/async.js:24:16
          at /Users/p.agarwal/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/node_modules/async/lib/async.js:530:21
      

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              pagarwal Priya Agarwal
              Reviewer:
              Tim Poulsen
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code