Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15915] CLI: cannot compile a module project created from CLI

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2015-04-13T16:19:51.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2014 Sprint 09, 2014 Sprint 09 Tooling, Release 3.3.0
ComponentsCLI
Labelsqe-closed-3.3.0, qe-testadded
ReporterFederico Casali
AssigneeChris Barber
Created2013-12-06T23:01:33.000+0000
Updated2015-04-13T16:19:54.000+0000

Description

Problem description

Module Project created through CLI is not ready to be compiled using 'ant'. No build.xml file is present in the root folder.

Steps to reproduce

1. Create a new Module project from CLI
ti create -t module
2. cd into the project and run 'ant' to compile. Result: build.xml file is not present and cannot compile. 3. Create a new Module project from Studio Result: Studio is creating the new module project using the old titanium.py 4. cd into the project and run 'ant' to compile. Result: module is correctly compiled.

Comments

  1. Ingo Muschenetz 2013-12-06

    So, this is expected for now, since the CLI can't create modules. Suggest removing the module option for now: -t, --type the type of project to create [app, module]
  2. Chris Barber 2014-05-06

    This was fixed as apart of TIMOB-10758.
  3. Olga Romero 2014-05-07

    Tested and verified the module, created from CLI can compile. Mac osx 10.9.2 Mavericks Appcelerator Studio, build: 3.3.0.201405011408 Titanium SDK, build: 3.3.0.v20140506145022 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-dev npm@1.3.2 titanium@3.3.0-dev titanium-code-processor@1.1.1

JSON Source