The real key to ANT is leveraging the "depends" property.

<target name="flex.build" depends="rsl.build" />

In this case calling ANT flex.build, will first run rsl.build just before 
running flex.build. "depends" allows you to create a very large build from very 
small encapsulated tasks. It is the lever that makes ANT so powerful in both 
the large and in the small.

I have to admit that I was not an ANT fan prior to joining Cynergy and tended 
to use Python for build automation. The key difference is that each python 
build script was exact but limited in its reusability in a larger build 
process. Although I still prefer a real language over XML tag logic any day of 
the week, its more readable, more understandable.

Then again it would take a mountain of work to eject a fully configured Tomcat 
instance from Python and life is too short!

Cheers,

Cynergy Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com


------------------
Ted,

Thanks for the for depth of insight.  My mind finally has got
mxmlc/compc and build scripts in the right prespective.

Renaun

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to