On 10/12/05, Alan Gutierrez <[EMAIL PROTECTED]> wrote: > I've spent the past few days configuring Ant, and doing my best > to avoid external dependencies in the build. It is working. > > I don't like seeing 3-5 targets scroll by just to set > properties, though. I'm ready to adopt Ant Contrib if it means > making the build less verbose, and hopefully faster. > > I am using some outside tasks to build the code, but except for > Ivy, I'm not using any to run Ant itself. > > What is your experience? What happens to an Ant build when you > start getting into dependencies? Does Ant contrib fill in the > blanks nicely, or will I just keep adding dependencies?
Do you mean that the way to do conditional with "pure" Ant with target's if/unless is not what you want? Then by all means use Ant-Contrib. If has excellent tasks like <for> and <outofdate>, and also <if>, <trycatch>, and <propertyregex>. Some of these belongs to Ant code IMHO, when others probably not, but it's a good bag of tasks, and there's nothing wrong with using them. Just drop the jar in ant/lib, declare xmlns:ac="antlib:net.sf.antcontrib", and start using <ac:if>. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
