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

CLI: Clean android builds sometimes report error but continue to device or emulator without issue

    Details

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

      Mac OS 10.8.3
      Linux 12.0.4
      Xcode 4.6
      CLI: 3.1.0-cr
      Alloy: 1.1.0-cr
      Appcelerator Studio, build: 3.1.0.201304082106
      Titanium SDK version 3.1.0.v20130409124549

      Description

      Description:

      While testing the RC candidate, we noticed on linux that we got an error simular to the following. A look on Mac showed the same. It seems to only affect clean projects.

      May be a regression, I could not reproduce with CLI 3.1.0-beta. Will continue to investigate.

      [DEBUG] No project level plugins to load
      [DEBUG] Loaded plugin hooks:
      [DEBUG] /Applications/Appcelerator_Studio/plugins/com.appcelerator.titanium.liveview.core_1.0.0.1364875694/node_modules/liveview/hook/lvhook.js
      [DEBUG] /Users/emerriman/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20130405170202/cli/hooks/plugins.js
      [DEBUG] /Users/emerriman/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20130405170202/android/cli/hooks/install.js
      [DEBUG] /Users/emerriman/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20130405170202/android/cli/hooks/run.js
      [INFO] logfile = /Users/emerriman/Documents/workspace/ericRules/build.log
      [DEBUG] /Users/emerriman/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20130405170202/android/builder.py simulator ericRules /Users/emerriman/Android_SDK /Users/emerriman/Documents/workspace/ericRules com.eric.rules 7 HVGA
      [ERROR] Project failed to build after 1s 712ms
       
      [DEBUG] detected module analytics, path = /Users/emerriman/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20130405170202/android/modules/titanium-analytics.jar
      [DEBUG] detected module android, path = /Users/emerriman/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20130405170202/android/modules/titanium-android.jar
      [DEBUG] adding required library: jaxen-1.1.1.jar
      [DEBUG] adding required library: ti-commons-codec-1.3.jar
      [DEBUG] adding required library: kroll-common.jar
      [DEBUG] adding required library: titanium.jar
      [DEBUG] detected module app, path = /Users/emerriman/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20130405170202/android/modules/titanium-app.jar
      [DEBUG] detected module ui, path = /Users/emerriman/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20130405170202/android/modules/titanium-ui.jar
      [DEBUG] adding required library: android-support-v4.jar
      [DEBUG] detected module filesystem, path = /Users/emerriman/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20130405170202/android/modules/titanium-filesystem.jar
      [DEBUG] detected module media, path = /Users/emerriman/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20130405170202/android/modules/titanium-media.jar
      [DEBUG] detected module locale, path = /Users/emerriman/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20130405170202/android/modules/titanium-locale.jar
      [DEBUG] Detecting modules in /Users/emerriman/Documents/workspace/ericRules/modules
      [DEBUG] Detecting modules in /Users/emerriman/Library/Application Support/Titanium/modules
      [DEBUG] Detected module for android: ti.map 2.0.0 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/ti.map/2.0.0
      [DEBUG] Detected module for android: ti.doubleclick 3.0.0 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/ti.doubleclick/3.0.0
      [DEBUG] Detected module for android: ti.cloudpush 2.1.0 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/ti.cloudpush/2.1.0
      [DEBUG] Detected module for android: ti.cloudpush 2.0.7 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/ti.cloudpush/2.0.7
      [DEBUG] Detected module for android: ti.bump 2.0.1 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/ti.bump/2.0.1
      [DEBUG] Detected module for android: ti.bump 1.0 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/ti.bump/1.0
      [DEBUG] Detected module for android: facebook 3.0.0 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/facebook/3.0.0
      [DEBUG] Detected module for android: com.zooz.ti 1.3.8 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/com.zooz.ti/1.3.8
      [DEBUG] Detected module for android: com.thinkorange.google.analytics 2.0 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/com.thinkorange.google.analytics/2.0
      [DEBUG] Detected module for android: com.foo.bar 1.0 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/com.foo.bar/1.0
      [DEBUG] Detected module for android: com.dustintest2 0.1 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/com.dustintest2/0.1
      [DEBUG] Detected module for android: com.crittermodule 0.1 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/com.crittermodule/0.1
      [DEBUG] Detected module for android: com.crittercism.ti 1.0.1 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/com.crittercism.ti/1.0.1
      [DEBUG] Detected module for android: com.appcel.blain 1.0 @ /Users/emerriman/Library/Application Support/Titanium/modules/android/com.appcel.blain/1.0
      [DEBUG] Detected module for commonjs: ti.cloud 2.3.2 @ /Users/emerriman/Library/Application Support/Titanium/modules/commonjs/ti.cloud/2.3.2
      [DEBUG] Detected module for commonjs: ti.cloud 2.3.1 @ /Users/emerriman/Library/Application Support/Titanium/modules/commonjs/ti.cloud/2.3.1
      [DEBUG] Detected module for commonjs: ti.cloud 2.3.0 @ /Users/emerriman/Library/Application Support/Titanium/modules/commonjs/ti.cloud/2.3.0
      [DEBUG] Detected module for iphone: ti.tvout 1.1 @ /Users/emerriman/Library/Application Support/Titanium/modules/iphone/ti.tvout/1.1
      [DEBUG] Detected module for iphone: ti.jira 1.2.1 @ /Users/emerriman/Library/Application Support/Titanium/modules/iphone/ti.jira/1.2.1
      [DEBUG] Detected module for iphone: ti.getglue 1.0 @ /Users/emerriman/Library/Application Support/Titanium/modules/iphone/ti.getglue/1.0
      [DEBUG] Detected module for iphone: ti.doubleclick 3.0.1 @ /Users/emerriman/Library/Application Support/Titanium/modules/iphone/ti.doubleclick/3.0.1
      [DEBUG] Detected module for iphone: ti.bump 1.2.1 @ /Users/emerriman/Library/Application Support/Titanium/modules/iphone/ti.bump/1.2.1
      [DEBUG] Detected module for iphone: ti.airprint 1.2 @ /Users/emerriman/Library/Application Support/Titanium/modules/iphone/ti.airprint/1.2
      [DEBUG] Detected module for iphone: facebook 3.1.1 @ /Users/emerriman/Library/Application Support/Titanium/modules/iphone/facebook/3.1.1
      [DEBUG] Detected module for iphone: facebook 3.1.0 @ /Users/emerriman/Library/Application Support/Titanium/modules/iphone/facebook/3.1.0
      [DEBUG] Detected module for iphone: com.zooz.ti 1.3.7 @ /Users/emerriman/Library/Application Support/Titanium/modules/iphone/com.zooz.ti/1.3.7
      [DEBUG] Detected module for iphone: com.thinkorange.google.analytics 2.0 @ /Users/emerriman/Library/Application Support/Titanium/modules/iphone/com.thinkorange.google.analytics/2.0
      [DEBUG] Detected module for iphone: com.crittercism.ti 1.0.1 @ /Users/emerriman/Library/Application Support/Titanium/modules/iphone/com.crittercism.ti/1.0.1
      [DEBUG] Detected module for tizen: tizen 3.0.0 @ /Users/emerriman/Library/Application Support/Titanium/modules/tizen/tizen/3.0.0
      [TRACE] Generating /Users/emerriman/Documents/workspace/ericRules/build/android/gen/com/eric/rules/EricrulesAppInfo.java
      [TRACE] Generating /Users/emerriman/Documents/workspace/ericRules/build/android/AndroidManifest.xml
      [TRACE] Generating /Users/emerriman/Documents/workspace/ericRules/build/android/gen/com/eric/rules/EricrulesApplication.java
      [TRACE] Generating /Users/emerriman/Documents/workspace/ericRules/build/android/gen/com/eric/rules/EricrulesActivity.java
      [TRACE] Generating /Users/emerriman/Documents/workspace/ericRules/build/android/.classpath
      [TRACE] Generating /Users/emerriman/Documents/workspace/ericRules/build/android/.project
      [TRACE] Generating /Users/emerriman/Documents/workspace/ericRules/build/android/default.properties
      [TRACE] Generating app.json
      [TRACE] Generating /Users/emerriman/Documents/workspace/ericRules/build/android/.gitignore
      [INFO] Building ericRules for Android ... one moment
      [INFO] Titanium SDK version: 3.1.0 (04/05/13 17:02 93d78f5)
      

      Steps to reproduce:

      1) Create a new project for android
      2) Build project for emulator

      Result:

      Sometimes the error is presented, but no effect on the actual build

      Expected Result:

      No errors presented

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                emerriman Eric Merriman
                Reviewer:
                Allen Yeung
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code