ActionScript 3.0 version control library?

337 Views Asked by At

is there any library for Action Script 3 that allows my AIR application to function like a version control (svn or cvs or something similar) client?

I just want to use the download functionality. my app relies on some folder and file structure that may change through updates and it'd be great if i could simply manage a subversion repository online and the application would automatically sync it's filestructure to this repository.

1

There are 1 best solutions below

2
On

Using NativeProcess in AIR, you could make background calls to svn or cvs by command line: http://www.adobe.com/devnet/air/flex/quickstart/articles/interacting_with_native_process.html

As Imran also pointed out, you could use Doug McCune's SVN library to get revision history via AS3 and then pull what you want via a NativeProcess call: http://dougmccune.com/blog/2009/01/20/accessing-svn-repositories-with-actionscript/