Saturday, February 25, 2012

Project: Headless Appcelerator

Step 1: Create a basic maven pom with a packaging type of titanium

[sourcecode language="xml"]

<?xml version="1.0" encoding="UTF-8"?&gt;
<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">
<name>Appcelerator :: Headless</name>
<description>Headless Builds with Appcelerator</description>



Step 2: Add the java script plugin

[sourcecode language="xml"]
<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">

Maven. Appcelerator. Jasmine. Oh My!

So my latest project is an exploration into getting a headless build going for Appcelerator mobile applications complete with BDD via Jasmine.  There's an excellent Maven plugin to do pretty much all of this - javascript-maven-plugin.  Also want to add in the jasmine-species library to use a Given-When-Then specification grammar for BDD tests.

So far my toolset looks like:

The main objective is to build Appcelerator applications without having to use the development tool.  Appcelerator's IDE is actually pretty good (probably in part due to the very smart acquisition of Aptana).  However, nightly builds and being able to automatically build for multiple platforms (iPad, iPhone, Android) is a necessity and quite frankly, I'd rather substitute automation for mindless clicking of buttons.