Eclipse Plug-in: Download AS3 libraries straight to your Eclipse/Flex Builder/FDT project

Posted by Dennis on Oct 9, 2009 in ActionScript41 comments

Do you use ActionScript frameworks a lot? Are you tired of always downloading each framework from different websites when setting up a new project in Eclipse, Flex Builder or FDT? Well, be tired no more :-)

I was getting sick of this myself so I wrote a plug-in that makes this a lot easier. Just right-click on a folder in your Eclipse project and select “Download ActionScript Framework Here”. A dialog will appear listing the ActionScript frameworks that you selected. It can also be a framework you added yourself. Just select the ones you’re after and press “Finish”. It will then either download from Subversion or from another URL. The download progress is then shown in the Eclipse console. When it’s finished refresh your project and you’re done!

What do you need for this to work?
- Eclipse 3.2 or higher
- Subversion command line tools (Windows: http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100 Mac: http://subversion.tigris.org/getting.html#osx). To check if this is set up properly: open up a command prompt, type “svn” and hit enter. If it says “Type ’svn help’ for usage.” you’re good to go.

If you have this properly set up then download this jar file and place it in Eclipse’s plugin folder.

To check if it has been installed properly, right click on any folder and see if the “Download ActionScript Framework Here” option is there. By default there are no frameworks. You need to add them in Window > Preferences > ActionScript Framework Downloader.

The plugin has been tested on Windows, Mac, Flexbuilder standalone, FDT standalone. If for some reason it is not working on your machine, then please send me your Eclipse version, Java version and OS name/version.

If you know a framework that you’d like to see added to the list, just give me a shout and I’ll add it. Also, if you have an idea for an Eclipse plug-in, just let me know!

Download ActionScript Frameworks Preference Window

Download ActionScript Frameworks Preference Window

Add your own framework

Add your own framework

Right click on a folder and select "Download ActionScript Framework Here"

Choose the frameworks to download

The progress is shown in a console.



Tags: , , , , ,


41 comments

» Comments RSS Feed
  1. Nice!

    Would you be able to add these frameworks please?
    Guttershark
    http://codeendeavor.com/guttershark

    CASALib
    http://casalib.org/

    Open Source Media Framework
    http://opensource.adobe.com/wiki/display/osmf/Open+Source+Media+Framework;jsessionid=156BD29E7732DF33D204C4AC7DF64B78

    Thanks, great job on the plugin

  2. This is _fantastic_, thanks!

  3. Hi, cool plugin, though when i create a folder in Flashbuilder, he doesn’t seem to work with the plugin … any chance of getting it in FlashBuilder ?

  4. @Hugo: What FB version/OS/Java version are you on?
    It has been tested with Flash Builder 4 beta 2 on Windows XP.

  5. @Nicolas: I’ve added Casalib and Open Source Media Framework. Guttershark uses a different type of version control system though.

  6. @Hugo: Ok, apparently it only works with normal folders and not with source folders. I’ll fix that tomorrow because tt’s beer time in London now!

  7. Two requests.

    Please add RobotLegs: http://github.com/darscan/robotlegs

    Also, please consider (if possible) adding the ability to add/remove libraries. Even just a xml file we can manually edit would be good.

    Great work.

  8. [...] : Flash Develop | Flex Builder Must have tool : eclipse-plug-in-download-as3-libraries-straight-to-your-eclipseflex-builderfdt-project quite a long but expressive name, isn’t it [...]

  9. Cool !

    I would suggest :
    Tweenlite / TweenMax : http://blog.greensock.com/tweenliteas3/
    AS3DMod : http://code.google.com/p/as3dmod/

    I add your plugin to my AS3 ToolBox Page ! http://sroucheray.org/blog/2009/09/actionscript-3-toolbox/

  10. please add Parsley. thanks a lot for this plugin.

  11. Awesome stuff. Do you think it would be possible to run your plugin off of the Eclipse Team system (rather than through SVN directly)? This might enable integration with libraries hosted on other SCM systems (like Git, Mercurial etc). Just a thought - I have no idea how easy/possible that is. Nice work!

  12. @Shaun: good call. I’ll have a look into that.

  13. Fantastic stuff!!

  14. @Steve: I’ve added Robotlegs
    @sroucheray: I’ve added AS3DMod. Tweenlite & TweenMax have some kind of license agreement before downloading, so I won’t add that one.

  15. [...] Eclipse pluggin for downloading Actionscript frameworks - Rozengain [...]

  16. Thanks for a great little plugin!

    A couple little feature suggestions that would really add a lot of value to users:

    1. integration with the eclipse update manager so that users can be notified of updates to the plugin and download them straight from eclipse.

    2. Add a url link next to each framework that opens the framework’s website in a browser. This way people can easily find out more about frameworks that they haven’t heard about before.

    Thanks again.

  17. Is there any way to add framework/librairies by ourselves ?

  18. [...] The download page is here. [...]

  19. great stuff
    THX

  20. [...] out the ActionScript Framework Downloader to download misc AS3 libraries straight to the current project.  A great plug-in to help speed [...]

  21. [...] out the ActionScript Framework Downloader to download misc AS3 libraries straight to the current project.  A great plug-in to help speed [...]

  22. This is great..thanks

  23. @Dennis, sorry for the delay been busy lately, i have Flashbuilder Beta 2/Mac OS X SL/java version “1.6.0_15″
    Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
    Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)

  24. @Hugo: the new version should work with Flash Builder source folders. Could you give it a try?

  25. @Dennis working like a charm now :) could you add Mr.Doobs libraries into it ?

  26. @Hugo awesome! thanks for checking :-)
    could you send me a link to those libraries?

  27. @Dennis sure http://mrdoob.googlecode.com/svn/trunk/
    by the way love to be able to download the frameworks i use most into Flashbuilder right into the folders :D you rock! way to go

  28. @Hugo I’ve added the Mr Doob stuff, you should see it right away :)

  29. @Dennis sweet!!! thanks

  30. Hi Dennis sorry to be bothering you (again) maybe you could look into Robert Penner’s new Event Framework, Signals (http://robertpenner.com/flashblog/2009/09/my-new-as3-event-system-signals.html), Somerandomdude’s Layout Framework (http://code.google.com/p/coordy/) and addicted2flash’s collection framework, layout framework and generic data services (http://code.google.com/p/addicted2flash/)

    :)

  31. [...] Eclipse Plug-in: Download AS3 libraries straight to your Eclipse/Flex Builder/FDT project | Rozengai…. [...]

  32. Hi Dennis, great plugin!! I wonder if you could also implement the possibility of integrating own frameworks / libs to the list without having you to integrate it globally? Something like an addSite button where you can enter the SVN location of the lib. Thanks for your reply

  33. oh~ Thank you..

  34. Very very good idea !
    A step to Maven librairies approach

  35. [...] @ rozengain.com has made a plugin for Eclipse / Flash builder that works like a charm called the ActionScript Framework Downloader. All you need to make it work is: > Eclipse 3.2 or greater > SVN Command line [...]

  36. Hey,

    I am working on o3d.
    I have Sketchup with o3d running inside it.

    i am wondering if anyone if working in Eclipse and o3d ??

  37. This is a cool plugin, will definitely save me some time. Is there a way for us to add our own frameworks to the list, some XML file to edit or something?

    It would be cool if the community could add their favourite frameworks to a web form, which would then appear in the list.

    Having said that, what I use now is similar: I’ve got Subclipse installed, so I just add my favourite frameworks to my repository list, and in the repository view, I do an Export to a library project, and then link to that library project. If I want to keep the library updatable (i.e. still connected to the repository), I download it versus export the framework, and then just use SVN>Update. This saves me from having multiple versions and copies of the same frameworks spread throughout my projects.

    Although this tool does make it easier for me to find new frameworks, it doesn’t have the same advantage as connecting them via SVN instead of downloading. What would be cool is a tool like this, but integrated with Subclipse, so I could stay connected to the repository if I wanted to, and the selected frameworks would show up in my Subclipse repository list.

  38. 디마인드의 생각…

    actionscript framework downloader as3 오픈소스를 좀 더 쓰기 편하게 해주는 이클립스 기반 plugin…

  39. sounds like a great pugin, tx

  40. it easier for me to find new frameworks, it doesn’t have the same advantage as connecting them via SVN instead of downloa

  41. Works like a charm in flashbuilder 4 mac. Thanks a lot for that, it’s the best plugin ever ;-)

Leave a comment