| Author |
Message |
|
st0nerhat
Member
Joined: Tue Jan 19, 2010 7:14 pm Posts: 11
|
 [FD3] Apache Ant Plugin
The Apache Ant plug-in is a tool for allowing you to easily run Ant targets within FlashDevelop. You can specify which targets to show in the menu, and specify targets to replace the built-in Build (Gear) and Run (Arrow) behaviors. Why would anyone want such a thing, you ask? In complex projects, you may need to compile multiple run-time shared libraries and multiple applications. You may want to make your build configuration easily portable between Flex Builder, FlashDevelop, and other IDEs. Ant also provides a robust framework for other common tasks such as packaging, version control, and deployment. Download: http://www.filamentgames.com/project_files/flashdevelop/ant/Ant_Plugin_v1.0.fdzTodoA form for editing per-project Ant settings Integration with the Ant Panel plugin
Changelog1.0 ------ Fix: Now properly clears results panel when running Test Movie
Beta 3 ------ Fix: No longer gets stuck when running tasks that spawn sub-processes (Like the Flash IDE) Fix: No longer fails to build projects with spaces in the project path Fix: Menu no longer breaks when switching between projects New: You can set ant to log in verbose mode for debugging purposes (requires editing xml file)
Beta 2 ------ New: Supports Keyboard shortcuts (Requires editing xml file) New: Supports hiding targets from the menu (Requires editing xml file) Mod: Refactored code that was running on secondary threads to synchronize properly with the main thread Fix: No longer crashes when running Zap and the process is actually not running.
Beta 1 ------- New: Packaged as an FDZ for easy installation. New: Basic AS3 project template w/ Ant integration. New: Stores settings in a seperate file instead of using the project file. It works with any project type and you can retrofit an existing project to integrate with the plugin. New: Updates the status bar text when running an Ant target. Fix: Test Movie will now capture traces with FDB in the output panel when using an Ant target. Fix: If there is no Build Project or Test Movie target, it will default to the built-in behavior.
Alpha 1 -------
Last edited by st0nerhat on Thu Jun 03, 2010 2:43 pm, edited 15 times in total.
|
| Tue Jan 19, 2010 7:27 pm |
|
 |
|
elyon
Member
Joined: Wed Aug 01, 2007 3:37 pm Posts: 1134 Location: Roseville, CA
|
 Re: [FD3] Apache Ant Plugin
Just curious, what are the main advantages to using ANT rather than relying on FlashDevelop and the settings in the project file for compiling?
|
| Tue Jan 19, 2010 7:55 pm |
|
 |
|
st0nerhat
Member
Joined: Tue Jan 19, 2010 7:14 pm Posts: 11
|
 Re: [FD3] Apache Ant Plugin
Good question. For posterity, I edited my first post to include a justification for the plugin.
|
| Tue Jan 19, 2010 8:49 pm |
|
 |
|
mrpinc
Member
Joined: Tue Jun 30, 2009 8:06 pm Posts: 13
|
 Re: [FD3] Apache Ant Plugin
This is a fantastic plugin idea. I am very excited to try this out. With ANT you have far more options in terms of deployment and defining pre and post build actions along with many many other features!
|
| Tue Jan 19, 2010 8:50 pm |
|
 |
|
kamcknig
Member
Joined: Wed Feb 04, 2009 3:22 pm Posts: 41
|
 Re: [FD3] Apache Ant Plugin
I'm not understanding how this works. I've installed the plug-in, but I see no options anywhere...
Kyle
|
| Thu Apr 29, 2010 3:58 pm |
|
 |
|
kamcknig
Member
Joined: Wed Feb 04, 2009 3:22 pm Posts: 41
|
 Re: [FD3] Apache Ant Plugin
OK, found it haha... is there anyway to set configuration files?
|
| Thu Apr 29, 2010 4:31 pm |
|
 |
|
st0nerhat
Member
Joined: Tue Jan 19, 2010 7:14 pm Posts: 11
|
 Re: [FD3] Apache Ant Plugin
There is an .antproj file with the same name as your .as3proj file that is a simple XML file that should be commented so you can see what you can set.
|
| Thu Apr 29, 2010 5:11 pm |
|
 |
|
dgieselaar
Member
Joined: Mon Sep 08, 2008 8:12 am Posts: 6
|
 Re: [FD3] Apache Ant Plugin
Could you provide a bit more documentation? How do I use this?
If I run either 'Test Movie', or 'Build Project', I get the error message '(Test Movie/Build Project) target is missing: Test. Check your project compile options.'
|
| Tue May 18, 2010 10:02 pm |
|
 |
|
zszen
Member
Joined: Fri Mar 09, 2007 8:02 am Posts: 204
|
 Re: [FD3] Apache Ant Plugin
dgieselaar wrote: Could you provide a bit more documentation? How do I use this?
If I run either 'Test Movie', or 'Build Project', I get the error message '(Test Movie/Build Project) target is missing: Test. Check your project compile options.' I also can't understand how it work. Can st0nerhat give us a example ?
|
| Thu May 20, 2010 8:32 am |
|
|