ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Mawson <jeremy.maw...@qsipayments.com>
Subject Re: junit task and incrementing a number (i.e. buildNum++ )
Date Thu, 01 Jan 1970 00:00:00 GMT
I have authored a task which uses java.util.Properties and sets integers,
inc or dec integers, or sets dates to now.

Is this a useful thing to contribute? If so, how?

Jem


At 09:52 18/08/00 +0100, you wrote:
>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
>

Mime
View raw message