Sascha,

 

I looked into doing this before and found that it should be possible to
get Ant to do incremental builds inside of Eclipse using its built in
Ant capabilities. Going back several months I remember reading that Flex
Builder adds a couple Ant tasks that it uses internally which can also
be used by any Ant script that uses Eclipses internal Ant library.

 

Maybe others can shed some light on this subject?

 

My approach is slightly different in that I use Flex Builder as is out
of the box and I have a build server which uses Ant scripts to basically
mimic how Flex Builder works with its project files.

 

Lance

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sascha
Sent: Sunday, January 07, 2007 11:27 PM
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.org and download the latest release.

regards,
Luke

 

Reply via email to