Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
Posts: 157
Registered: ‎12-16-2010
My Device: Torch 9800, PlayBook
My Carrier: I carry it myself

Source Control for Flash Builder

I am new to Flash overall but enjoy working with Flash Builder Burrito... Yesterday accidentally wiped our few functions in one class which I now need ;-) which leads me to this question - what source control system does it support from the IDE itself? Can I integrate with my SVN server? I poked around options and cannot find any native integration. Would be nice to be able to check-in / out directly from the IDE.

----------
If you find this post helpful please "like" it and accept as a solution.
New Developer
Posts: 7
Registered: ‎12-26-2010
My Device: Device pending.

Re: Source Control for Flash Builder

Flash Builder is based off Eclipse so theoretically you should be able to use any Eclipse plugin that supports VCS integration.  I am personally just keeping a shell open and using Git Smiley Happy

 

You could try

http://marketplace.eclipse.org/content/subclipse

--
There's a Spell Check button, please use it.
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Source Control for Flash Builder

Whether the IDE supports it or not, you may find it about as easy (or easier) to just work from the command line.  If you're using Subversion, commit your working folder and then just have a command prompt open with the command "svn ci -m 'update' " in the history, and you just hit Alt-Tab (assuming Windows), hit cursor-up, Enter, and you're done. 

 

(Only flaw in that argument is it won't automatically add new files to the repo.  One solution to that would be to switch to Mercurial and use "hg addremove", which will add or remove files as required to keep things in sync.)


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Highlighted
New Developer
Posts: 7
Registered: ‎12-26-2010
My Device: Device pending.

Re: Source Control for Flash Builder

Not sure about Merc, but Git allows you to specify aliases in ~/.gitconfig which means you could essentially do something like

 

git acp "Commit message" to add untracked/modified files, commit with a message and push to the server.

--
There's a Spell Check button, please use it.
Developer
Posts: 1,041
Registered: ‎07-16-2008
My Device: ಠ_ಠ

Re: Source Control for Flash Builder

[ Edited ]

If you use the Subversion Eclipse plugin, there will also be an option to view your "local history", which will show you file changes without having to manually commit anything.

 

http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site

Developer
Posts: 85
Registered: ‎10-25-2010
My Device: Not Specified

Re: Source Control for Flash Builder

Exactly, you can use the Subversive plugin to connect to your SVN repository. Here is a quick guide (in french, translate it with babel fish if you need):

http://www.flex-tutorial.fr/2010/03/30/flash-builder-4-installation-de-subversive-et-connecteurs-svn...

 

Fabien

Hope this helps,
Fabien

--
1. If you liked my post or found it useful please click on the white star and provide a Kudo!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!