ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Wood <>
Subject Re: [PATCH] new BuildWindow task
Date Sat, 27 Jan 2001 14:58:08 GMT
I'm sure the task is useful to you, and will be
to others.

I know I'll seem like a grumpy old man, but
I think this kind of task has no place in Ant,
at least the main release. Here's why...

This list always seems to have debates
about  what ant is, or is not, but the ant
documentation begins with "Ant is a Java based build tool."
It doesn't say ant is a build management tool, or a build
scheduler tool, etc, etc. The docs continue, "In theory it is kind of like make
without make's wrinkles." Well, the gnu make documentation
says "The make utility automatically determines which pieces of a
large program need to be recompiled, and issues commands to recompile them."
Make also is not a build scheduler, a build manager, etc.

My point is that a build system consists of two main
parts - the definition of what and how to build, and the
build management, i.e., a build infrastructure. The infrastructure
schedules builds, makes their results available, etc.
Ant and make deal with what to build and how to do it,
not with the build management. For example in our
shop we had an existing infrastruture that scheduled builds,
captured build logs, ran regression tests, captured test results,
and make everything available via a build web site. I just
swapped out use of 'make' with 'ant', and let the infrastructure
do all the rest of these management tasks.

I think it's good to share this task, but I think this
is an example of something that should be in a repository
of tasks available for people to add to their own ant
based system. I don't think it should be a basic part
of ant... wrote:

> I needed to build a new task for work.  We needed to make sure that the
> builds are only run during specific times, so we don't impact our
> users.  In practice, we will be able to override this by adding an unless
> property to the target.
> Attached is a fairly robust task that does this.  I included the
> documentation right away as well.
> Any comments?
> Thanks
> Scott
> PS. I gave a presentation on Ant to my coworkers yesterday.  I think I
> garnered some more interest.  Cool. :)
>   ------------------------------------------------------------------------------------------------
>                                  Name: buildwindow.index.patch
>    buildwindow.index.patch       Type: Plain Text (TEXT/PLAIN)
>                              Encoding: BASE64
>                           Description: index.html patch
>                        Name:
>    Type: Plain Text (TEXT/PLAIN)
>                    Encoding: BASE64
>   ------------------------------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message