Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5837] Tooling: Adding a module requires a clean build

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-10-19T01:17:10.000+0000
Affected Version/sRelease 1.7.0
Fix Version/s2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0
ComponentsAndroid, iOS, Tooling
Labelsandroidbuild, cb-verified, qe-3.1.0
ReporterMatthew Apperson
AssigneeChris Barber
Created2011-10-24T06:03:39.000+0000
Updated2013-11-06T19:40:16.000+0000

Description

Currently when a new 3rd party module is added to the code and TiApp.xml file, the user must also do a clean build rather then Titanium detecting that the newly requested module is available and including it automatically

Comments

  1. Ingo Muschenetz 2012-07-16

    Bump. Can we get this into 2.2? Note I am resolving a ticket as a duplicate of this issue from Jeff H.
  2. Chris Barber 2012-09-25

    I just added support for this in the new CLI. It's up to Ingo if he wants this backported.
  3. Chris Barber 2012-10-10

    Just an update on this: iOS: The old iphone builder.py script does not check for changes to the tiapp.xml nor the modules themselves. The new CLI's iOS build command DOES check for changes to the tiapp.xml, but not the actual modules. Android: The old android builder.py scripts does not check for changes to the tiapp.xml nor the modules themselves. Since the new CLI's android build command wraps the android python command, the problem remains. Mobile Web: Mobile Web always does a clean rebuild, so it's a non-issue.
  4. Chris Barber 2013-10-18

    The new Android build finally supports this.
  5. Allen Yeung 2013-10-19

    PR: https://github.com/appcelerator/titanium_mobile/pull/4781
  6. Samuel Dowse 2013-11-06

    Verified fixed on: Mac OSX 10.9 Mavericks Titanium Studio, build: 3.2.0.201311060354 Titanium SDK, build: 3.2.0.v20131105162443 CLI: 3.2.0 Alloy: 1.3.0 Project does not require a clean build after adding a new module to the project. Building straight after adding a new module runs successfully. Closing.

JSON Source