Can you logically break the project up into several smaller projects?
This way, you can close the projects you are not actively working on,
which speeds up the compilation significantly.

 

Also some folks use the command line compiler and Ant, and report better
results(I use FB exclusively so far).

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Lachlan Cotter
Sent: Tuesday, August 28, 2007 6:31 AM
To: [email protected]
Subject: [flexcoders] Flex Builder issues with large projects

 

Hi List,

 

 

 

I'm having a lot of trouble with Flex Builder on a large project I'm
working on and would really appreciate some advice if anyone has found
themselves in a similar situation.

 

The particular project I'm working on is approaching 30,000 lines of
code and also includes a fair bit of embedded assets in the form of
skins and images etc. I am building several different products from the
same class library.

 

The first problem is that compilation time is far too long. Typically 30
seconds or more even after very minor changes to the source code, about
2 minutes for a clean build. It has become very difficult to do testing
in particular as the delay for compilation break up workflow too much.

 

I thought I would try to solve this problem by using RSL from Flex
Library Projects as mentioned here:

 

http://flexblog.faratasystems.com/?p=117

 

This does seem to greatly improve the compilation times, but has cased
no end of problems with Flex Builder. Flex Builder seemed to become
corrupted, would not allow me to add SWC files to projects, and even
started to have problems rendering the user interface. I did a complete
uninstall and reinstall of Flex Builder, but continued to have problems
loading the projects.

 

Flex builder takes a long time to start up, reports stack overflow
errors, or simply will not start unless I remove the projects.

 

I also tried using the Flex Builder 3 Beta, but also ran into
[different] problems which prevented me from loading and compiling the
projects.

 

Obviously, it's becoming pretty frustrating and inhibiting further
development. So my question is...

 

Has anybody experienced similar problems with Flex Builder, or know of
ways to optimise compilation times on large projects?

 

Any advice is greatly appreciated.

 

 

Cheers,

Lach

Reply via email to