Thanks for the info Dirk (and all others)! I will give the incrementalBuild task a try! This is definitely going to makes some things more comfortable.
As mentioned before when I used FDT/MATSC I had several default At files that were imported into a build file template and every time I started a new Project, I just had to create a build.xml, hit the init task and it would prepare stuff like default classes etc. Plus a build number was saved (buildnumber task) and a class was created everytime that stores version and build number among some copyright tags etc. Cheers, Sascha _____ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent: Tuesday, 09 January, 2007 21:44 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] flex2ant You might want to use the eclipse.incrementalBuild Task that comes with Eclipse. This allows to invoke the incremental Flex Builder compiler from within Ant. This gives you the same compilation performance as using "Build Automatically" plus adds all the nice stuff you can achieve with Ant :-) Check my blog post here: <http://www.richinternet.de/blog/index.cfm?entry=2B7613A8-C687-AF8E-B98552AF 89BBE463> http://www.richinternet.de/blog/index.cfm?entry=2B7613A8-C687-AF8E-B98552AF8 9BBE463 You'll only need to make sure that Ant runs in the same JRE as the workspace. Dirk. _____ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Sent: Monday, January 08, 2007 6:27 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] flex2ant Actually I would like to use Ant in Eclipse running with Flex2 PlugIn to build my projects! For AS2 is always used AS2Ant with FDT and MTASC and it was the best! Unfortunately things look different for Flex Builder. Building the project with an Ant task is slower than using Flex Builder and 'Build Automatically' is necessary for compile time error checking (while MTASC did this automatically on-the-fly) but it would then also always build when using the Ant task. Does anyone know how to get this working: Having an Ant build.xml that does some project preparing tasks (i.e. increasing build number and store in an auto generated AppInfo class) and then call the Flex builder build process from Ant. I'm not Ant magican but is this possible? Sascha _____ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lance Linder Sent: Monday, 08 January, 2007 03:37 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] flex2ant Very nice work! I thought about doing something like this before and ended up taking a bit of a different approach. What I did was create a task that can read the flex project files and from these use mxmlc and compc to build the projects. What I figured is that if Flex Builder is creating the project files for me and can compile off of these that I would mimic the same thing! If people are interested in using this approach I will look at hosting it somewhere. This is however an NAnt task so I suspect there will be less people interested in this. Lance From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flex2ant Sent: Friday, October 27, 2006 7:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex2ant Hi list, Now Flash player 9 (beta) for Linux has been released we can finally develop Flex 2 and AS3 apps on Linux. I've been putting in a lof of effort in the past week to create flex2ant. With flex2ant you can develop Flex2/AS3 apps from within Eclipse. All you need is the Flex 2 SDK, Eclipse and flex2ant and off you go. If you are interessed in this type of development then please go over to http://www.flex2ant <http://www.flex2ant.org> .org and download the latest release. regards, Luke