David Jencks <[EMAIL PROTECTED]> wrote:
> Hi!
>
> While working on my own ant task, I discovered that
> ProjectHelper.replaceProperties removes '$' while it is substituting
> for ${...}. This broke my task so I changed the method to the
> below. ( my code replaces ${...}, but leaves $ followed by not-{
> alone)
>
> Is this behavior intentional or is it a bug?
It is intentional with $$ being the (documented) escape for a single
$ character.
> Also, what is the appropriate procedure for contributing a new
> optional task?
Submit the source code (as attachment) and patches to other affected
files (including the documentation of course) to this list. Giving the
subject a [PATCH] marker might help to make it more visible.
Patches should be "diff -u" style.
Note that we are currently approaching a feature freeze for Ant 1.3
(first release candidate is scheduled for next Monday). Any
contribution needs to be reviewed and committed before that, so it
might very well be possible that it will not be included in Ant 1.3
even if your mail arrives in time, sorry.
Stefan