navinpeiris / jsca2js

Utility to convert JSON in Appcelerator's JSCA format to JavaScript
74 stars 24 forks source link

unable to generate against current 3.2.1 version #11

Closed geremyCohen closed 10 years ago

geremyCohen commented 10 years ago

Hi-

I'm using the current 3.2.1 version of Ti, and when I run your script, I get:

$ ./titanium-mobile.py 3.2.1
Retrieving Titanium JSCA API for version: 3.2.1
Unable to retrieve API for Titanium version 3.2.1

It will however fetch the older versions, such as 3.1.2, so maybe something changed on the server-side for this latest version?

TIA, and great utility!

riteshdalal commented 10 years ago

Alloy 1.3.x is still at version 3.2.0 of titanium while titanium itself has moved to 3.2.2 now. I have addressed this issue in my fork where you can specify the titanium version for alloy. So now you can call the following and it will create the appropriate js files for you.

$ ./titanium-mobile.py 3.2.2 3.2.0
navinpeiris commented 10 years ago

This has now been merged into master. Thanks!

geremyCohen commented 10 years ago

Thank you!