Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24868] Android: Duplicate build steps during module builds

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-07-10T22:56:02.000+0000
Affected Version/sRelease 6.1.0
Fix Version/sRelease 6.1.2
ComponentsAndroid
Labelsn/a
ReporterJan Vennemann
AssigneeJan Vennemann
Created2017-06-21T10:48:30.000+0000
Updated2017-07-20T22:32:45.000+0000

Description

The 6_1_X branch currently has the processResources step twice for module builds and the master branch has the verifyBuildArch step twice. This won't affect the build result but is obviously unnecessary. *Steps to reproduce the behavior*

Run an android module build

*Actual behavior* There are duplicate build steps, indicated by the following logs that appear twice during the build: master: _Verifying build architectures_ 6_1_X: _Processing Android module resources and assets_ *Expected behavior* Each of those steps should only appear once during the module build.

Comments

  1. Jan Vennemann 2017-06-21

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/9166 PR (6_1_X): https://github.com/appcelerator/titanium_mobile/pull/9165
  2. Abir Mukherjee 2017-07-10

    Validated the fix with this environment: Node Version: 6.10.3 NPM Version: 3.10.10 Mac OS: 10.12.4 Appc CLI: 6.2.2 Appc CLI NPM: 4.2.9 Titanium SDK version: 6.1.2 locally built Appcelerator Studio, build: 4.9.0.201705302345 Xcode 8.3.2 I used ti.map module as my test module. I cloned that repo and buillt with the above SDK. After verifying that the build was successful, I checked the logs, and "Verifying build architectures" occurred only once.
  3. Abir Mukherjee 2017-07-13

    Closing ticket as fixes are seen in SDK 6.1.2.v20170710160853.

JSON Source