Titanium JIRA Archive
Alloy (ALOY)

[ALOY-23] Launch emulators, simulators, or devices directly from zipti

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-07-19T11:52:06.000+0000
Affected Version/s2012 Sprint 14
Fix Version/s2012 Sprint 14
ComponentsRuntime
Labelsn/a
ReporterTony Lukasavage
AssigneeTony Lukasavage
Created2012-05-16T08:57:39.000+0000
Updated2014-06-22T13:21:11.000+0000

Description

description

Until zipti is integrated with Titanium Studio, its translation process needs to be run on the commandline through nodejs and then the resulting code needs to be placed in an existing Titanium project. After the code is placed in that existing project, a developer needs to open/access TiStudio and then launch the generated app against the emulator/simulator/device of their choice. It would be quicker for testing if this could be reduced to 1 step, allowing a dev to deploy right from zipti. We need to investigate if this is a good idea, or if it creates an unnecessary separation from the existing build scripts. Duplicate effort is something we can't afford here.

proposed usage

We could add an additional option to the command line execution. For example, we could add -t, --target whose value would correspond to a valid build target. For example,
zipti -p -o ~/Titanium\ Studio\ Workspace/myTestProject -t iphone
Open to alternatives here. Thoughts?

Comments

  1. Russell McMahon 2012-05-16

    Sounds good to have a -t flag for running a single command and have the app show. We may also need to specify, device vs simulator and release vs debug. I think for now let's just keep this ticket open as cli stuff with which we will interact is going through changes. I will bring this up with Neeraj to make sure as cli progresses that ZipTi functionality is included.
  2. Tony Lukasavage 2012-06-27

    The android emulator and ios sim can be launched with jake. Also, the alloy run command makes use of titanium.py, allowing developers to run existing alloy-powered projects.

JSON Source