build process - Building Flex projects in ant/nant -
we have recurring problem @ company build breaks in our flex projects. problem occurs because build developers on local machines fundamentally different build occurs on build machine. devs building projects using flexbuilder/eclipse
, build machine using command line compilers. inevitably, {projectname}-config.xml
and/or batch file runs build out of sync project files used eclipse, the build succeeds on dev's machine, fails on build machine.
we started down path of writing utility program convert flexbuilder's project files {projectname}-config.xml
file, it's a) undocumented , b) horrible hack.
i've looked -dump-config switch config files, has couple of problems: 1) generated config file has absolute paths doesn't work in our environment (some developers use macs, windows machines), , 2) works right when run ide, can't build build process.
tomorrow, going discuss couple of options, neither of i'm terribly fond of:
a) add post check-in event subversion remove these absolute references, or
b) add pre-build process removes absolute reference.
i can't believe first group of developers run across issue, can't find solutions on google. how have other groups dealt problem?
while not solution specific problem, workaround use continuous integration server.
using cruise control can have automated build kick off every time submits source control. if build fails reason (including environment inconsistencies) it's developer broke fix it. can configure send emails on failure/success in various ways.
Comments
Post a Comment