CFUnited Blog

CFUnited interview: Automating the build/ deployment process with ANT with Marc Esher

We are here with Marc Esher on Automating the build/ deployment process with ANT

What is ANT?

Marc: ANT is a java-based build tool, but you don't need to know java and its usefulness for CF developers extends beyond just "building" an application. It has

Why is your session important for attendees?

Marc: When I first encountered ANT back in the early 2000s, I was somewhat intimidated. After using it, though, I realized there's nothing to be afraid of. It might look verbose because it's XML, but you learn to read and write ant files quickly. And when you do.... what a time saver!

I hope to demystify ANT, and also show just how powerful it is. My session will be spent largely exploring different build files, moving from the common operations like copying and zipping and building on them toward a full-featured build file for a reasonably complex piece of software with code living in multiple locations. I intend to show some tips and tricks and some gotchas. The great thing though, at least I think so, will be the copious examples. And the presentation, once it's posted, will have even more.... an appendix of ant files for doing neat stuff.

I really believe that single-click application packaging  and potentially even single-click deployments -- is attainable for most CF Shops!

What kind of experience with ANT is required to attend your session?

Marc: None, although the people who have at least a cursory understanding of ANT will robably benefit more immediately than others. Folks who spent just the time to watch this http://coldfusion.meetup.com/17/calendar/7549322/ would be better off in my presentation. I'll be doing a short "intro to ant", and it'll start with simple tasks like copying and zipping, but it's going to shift into overdrive after that.

I think that folks brand new to ANT will take away more "You can do that????". And then, when they go back to work, try it out, get some familiarity -- and go download the presentation to get the examples -- they'll be ready for the harder stuff.

What are some of the issues that you will be addressing?

Marc: To start, Copying and zipping files -- your standard ANT stuff for moving code to different servers or packaging it for deployment. Then we'll get into FTP, Subversion, executing operating system commands, talking to databases, and using ScriptDef for creating ColdFusion-like functions right in your ANT files. I'll be showing some neat stuff with "conditions" and "selectors" for powerful file system comparisons. I'll even show how you can use some external ANT libraries for, say, querying the database for a list of deployment servers, looping over that query and deploying an app to each each of those servers.

This sounds like a lot, and it is. I hope to whet people's appetites for what can be done with ANT in a few lines of XML. But it won't cover each of these topics exhaustively -- there just isn't enough time in a single session to do that. However...the nice thing is that since I'm in the last time slot, anyone who wants to talk more about ANT -- from the beginner to the advanced -- can just stay later!

Speakers getting ready for CFUnited - Part III

We asked a few questions to find out what our speakers are up to prior to their trip to CFUnited.

*********************

Brian Meloche

What are you looking forward to?

Brian: CFUNITED is one of the few times I ever see some of my good ColdFusion developer friends. It's been four years since I attended a CFUNITED (back then, it was called CFUN), so I am interested to see how much it has changed since then.

A recent hot topic your interested in?

Brian: Well, there are several for me. I was at cf.Objective() and a lot of us asked Adobe for many new things in CF 9. I am hoping we'll get a sneak peek of what they have coming and hopefully some of what we've asked for and maybe a few cool things we haven't! I am also looking forward to seeing how Open BlueDragon is going, maybe even see if it's out in full release by then.

Has your presentation changed?

Brian: A little. I originally called my presentation Promoting ColdFusion Outside of the ColdFusion Community, but with Open BlueDragon, I have renamed it Promoting CFML outside of the CFML Community to separate ColdFusion the product with the language. Otherwise, it's about the same.

Beer of choice if someone wants to buy you a drink.

Brian: Well, I usually don't drink all that much when I'm home, believe it or not... so I'm just happy to take whatever you'll give me!!! I'm not fussy!!! :-)

*********************

John Farrar

What are you looking forward to?

John: I am looking forward to: + meeting new CFers + learning from others (and not just the speakers) + sharing some community work we have been involved in

A recent hot topic your interested in?

John: + D2O IDE for COOP

Has your presentation changed?

John: The CF & jQuery presentation has had the jQuery UI added to examples.

The Traffic Optimization has shifted from just being a presentation to being a project at seo.riaforge.org for the whole community to share the benefits.

Beer of choice if someone wants to buy you a drink.

John: I like Root Beer and my views on other beers are known to be antisocial. :)

*********************

Luis Majano

What are you looking forward to?

Luis: My first CF United experience. I feel like a kid in a candy store.

A recent hot topic your interested in?

Luis: CodexWiki is in private beta and will be revealed to the world by CF United as the first ColdFusion Enterprise Wiki built on ColdBox and Transfer

Has your presentation changed?

Luis: Yes, it now includes all the features of ColdBox 2.6.0

Beer of choice if someone wants to buy you a drink. Heineken, of Course.

*********************

Matt Woodward

What are you looking forward to?

Matt: I'm looking forward to seeing everyone again! I'm actually missing my high school reunion for CFUnited but when I mentioned this fact to Liz, she made the very good point that this basically is a reunion.

A recent hot topic

Matt: Open BlueDragon. There's tons of activity and buzz around Open BlueDragon since the unveiling earlier this month.

Has your presentation changed?

Matt: It's always changing a bit! No major changes though.

Beer of choice if someone wants to buy you a drink.

Matt: Guinness all the way.