aspose file tools*
The moose likes Flex and the fly likes build scripts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "build scripts" Watch "build scripts" New topic
Author

build scripts

Jasvir Rupana
Ranch Hand

Joined: Oct 13, 2010
Posts: 52
Guys,
we are working on huge project wit flex+java+hibernate. we use eclipse default builder to build the project ,which take hell lot of time and some time we see out of memroy error too.what can we do ?? and build script will help us or what else?Also even after changing a single label in mxml file we need to build the application again ? whats the alternative?
thanks
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

There is no alternative. MXMLC seems to be fairly poorly designed when it comes to how it works out what needs recompiled. I see the same behaviour, a small change and MXMLC touches what looks like all files in the project. You can work round the memory issues - just give eclipse more heap space to use. We found a MXMLC does use multiple CPUs well so a multi-core PC helps (though its still got to do all that IO to work out what needs built).

Its worth mentioning that with Flash very large SWFs are frowned upon, since the user has to download a single large file. you might consider breaking your application up into distinct components you load on demand. Better for the user and it might mitigate your build problems.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Nikos Stavros
Ranch Hand

Joined: Feb 24, 2006
Posts: 243

The compiler works pretty good for me in not taking a long time after an initial build in INtelliJ


Jesus lives
 
wood burning stoves
 
subject: build scripts