Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17144] Native module zip not automatically extracting in project folder

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-06-13T23:05:41.000+0000
Affected Version/sRelease 3.2.3
Fix Version/sRelease 3.3.0
ComponentsCLI
Labelsn/a
ReporterTony Lukasavage
AssigneeChris Barber
Created2014-06-11T20:17:10.000+0000
Updated2014-06-20T00:25:29.000+0000

Description

problem

I'm seeing this same issue as in TIMOB-15714, but when putting the module zip in the local project root folder. The zip file is being ignored and I'm getting an error like this:
[DEBUG] Looking for Titanium module id=ti.mw.todo version=1.0.0 platform=commonjs deploy-type=development
[WARN]  Could not find Titanium module id=ti.mw.todo version=1.0.0 platform=commonjs deploy-type=development
[ERROR] Could not find all required Titanium Modules:
[ERROR]    id: ti.mw.todo	 version: 1.0.0	 platform: commonjs	 deploy-type: development
If I move the zipped module to the global modules folder, ~/Library/Application Support/Titanium in my case, the module extracts automatically on build and works just fine.

expected

A zipped native module in my project folder should automatically extract when I execute ti build

actual

The native module is not extracted and I encounter a build error

test

This case is the same as the case in TIMOB-15714, with only the location of the native module changed.

create an app in either Studio or CLI

add any module to tiapp.xml

place module zip file in the newly created project's folder

build app for any platform/target

encounter the error listed in the problem section

Comments

  1. Chris Barber 2014-06-13

    node-appc pull request: https://github.com/appcelerator/node-appc/pull/96
  2. Chris Barber 2014-06-13

    TiSDK master pull request: https://github.com/appcelerator/titanium_mobile/pull/5801 TiSDK 3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5802
  3. Olga Romero 2014-06-16

    I followed [~tlukasavage] comment, using Mac osx 10.9.3 Mavericks Appcelerator Studio, build: 3.3.0.201406111952 Titanium SDK, build: 3.3.0.v20140613161751 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-rc npm@1.3.2 titanium@3.3.0-rc titanium-code-processor@1.1.1 native module zip automatically extracting in project folder

JSON Source