ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Barlow <>
Subject Re: junit task and incrementing a number (i.e. buildNum++ )
Date Fri, 18 Aug 2000 08:52:03 GMT
If I wish to edit a file is there a particular task
that is a good candidate to derive from?

Maybe the replace task?

Conor MacNeill wrote:
> Stuart,
> > I have two questions...
> >
> > 1. I am interested in picking up the junit task. This is not
> >    in the 1.1 release. Is it a good idea to use one of the
> >    nightly builds? And just see if it is stable.
> Nightly builds have generally been stable. Nevertheless you are living on
> the edge when you choose to use the nightly builds.
> >
> > 2. In a reply (Re: When's the next stable release?) just
> >    yesterday it was mentioned about having objects that are
> >    not strings. Will this facilitate the increment of build
> >    numbers? i.e. I can read in a string as an integer and
> >    increment the value.
> The facility to use objects in place of strings when configuring tasks is
> in
> place now. You will see that a number of tasks have been converted over to
> using Paths and File objects in place of Strings. I'm not sure how it might
> facilitate build number incrementing. I think that would be a good idea for
> a separate, pretty simple, task.
> Conor

View raw message