> ----- Original Message ----- 
> From: "Marcin Hoppe" <[EMAIL PROTECTED]>
> To: "Gert Driesen" <[EMAIL PROTECTED]>
> Cc: <NAntContrib-Developer@lists.sourceforge.net>
> Sent: Wednesday, June 01, 2005 1:23 PM
> Subject: Re: [NAntC-Dev] DeleteRegistry and WriteRegistry tasks (with unit
tests)
>

> On 6/1/05, Gert Driesen <[EMAIL PROTECTED]> wrote:
> > I have no problem with adding the <writeregistry>  and <deleteregistry>
> > tasks to NAntContrib, but for the NAnt distribution I'd prefer something
> > like the <registry> task:
> >
> > <registry hive="..." key="...">
> >    <read property=".." entry="..." />
> >    <write [entry="..." value="..."] />
> >    <delete [entry="..."]" />
> > </registry>
> >
> > where each child element can be repeated a number of times.
>
> So maybe it is more reasonable to create something like this instead
> of putting <writeregistry> and <deleteregistry> tasks into
> NAntContrib. What about creating equivalents of those proprietary Ant
> registry tasks and incubating them in NAntContrib. After a few weeks
> or months of development they can perhaps be moved to NAnt 0.8x, where
> x > 5. What about such a solution?

That would ofcourse be great !

Guess we do need to think about it a little more, like:

- do we want if/unless/failonerror attributes on each individual "subtask"
or only on the <registry> task itself ?
- do we want a subkey attribute on these subtasks like the Ant task has ?
- do we only support string type values ?
- if we get rid of support for mulitple hives, then can this task eventually
replace <readregistry> too, or would people consider this to be a less of
functionality (they can still use a foreach task to accomplish the same) ?

and last but not least: do "we" have time to work on this ;-)

Gert



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to