You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Ralf <rk...@gmx.de> on 2012/09/16 10:59:35 UTC
Promotion: Bugzilla 53723 - [Patch] Local task: local by prefix,
all local, New: global task
Hello,
about a month ago I added an enhancement request with patch to ant bugzilla.
As there were no feedback on bugzilla, I thought I start a little promotion.
The patch adds some functionality to the local task:
<!-- foo is a local property - like today -->
<local name="foo" />
<!-- All properties with the prefix "local." are local -->
<local prefix="local" />
<!-- all properties are local -->
<local/>
Additionally the new task "global" was added to be able to export a
property from a scope if all other properties are defined local.
<!-- all properties are local ... -->
<local/>
<!-- ... except the property gFoo -->
<global name="gFoo" />
Most important for me (and hopfully others) are the addition to the
local task (local-by-prefiy and all-local). The global tasks seems
like a logical implication to me.
Please have a look at the description for Bugzilla 53723 and the patch.
It would be great if this enhancement would be included into ant.
Regards,
Ralf
PS: https://issues.apache.org/bugzilla/show_bug.cgi?id=53723
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: Promotion: Bugzilla 53723 - [Patch] Local task: local by prefix,
all local, New: global task
Posted by Ralf <rk...@gmx.de>.
Matt,
good to hear.
With regex you could easily match the additional features I added to the
local task.
I can offer my help.
Ralf
On 16/09/12 17:24, Matt Benson wrote:
> Hi,
> FWIW, I approve generally of this feature and was soon going to start
> working on something similar, only I had intended to support regex
> matching. I'm not quite sure when I will be able to get back to work
> on Ant, but I need the feature so rest assured it will get in there at
> some point.
>
> Matt
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: Promotion: Bugzilla 53723 - [Patch] Local task: local by prefix,
all local, New: global task
Posted by Matt Benson <gu...@gmail.com>.
Hi DD,
I had looked at PropertySet in this context, but ISTR there may have
been problems due to its desire to work with properties that already
exist rather than properties that *might* be set.
Matt
On Mon, Sep 17, 2012 at 3:36 AM, Dominique Devienne <dd...@gmail.com> wrote:
> On Sun, Sep 16, 2012 at 5:24 PM, Matt Benson <gu...@gmail.com> wrote:
>> [...] only I had intended to support regex matching.
>
> Can't <propertyset>'s selection logic be reused? --DD
>
> PS: Didn't look at the patch, so maybe it is.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: Promotion: Bugzilla 53723 - [Patch] Local task: local by prefix,
all local, New: global task
Posted by Dominique Devienne <dd...@gmail.com>.
On Sun, Sep 16, 2012 at 5:24 PM, Matt Benson <gu...@gmail.com> wrote:
> [...] only I had intended to support regex matching.
Can't <propertyset>'s selection logic be reused? --DD
PS: Didn't look at the patch, so maybe it is.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: Promotion: Bugzilla 53723 - [Patch] Local task: local by prefix,
all local, New: global task
Posted by Matt Benson <gu...@gmail.com>.
Hi,
FWIW, I approve generally of this feature and was soon going to start
working on something similar, only I had intended to support regex
matching. I'm not quite sure when I will be able to get back to work
on Ant, but I need the feature so rest assured it will get in there at
some point.
Matt
On Sun, Sep 16, 2012 at 7:04 AM, Vimil Saju <vi...@yahoo.com> wrote:
> I like this feature. I have been using the local task multiple times in my targets to name properties, this enhancement will make my build scripts much more cleaner.
>
>
> ________________________________
> From: Ralf <rk...@gmx.de>
> To: dev@ant.apache.org
> Sent: Sunday, September 16, 2012 1:59 AM
> Subject: Promotion: Bugzilla 53723 - [Patch] Local task: local by prefix, all local, New: global task
>
> Hello,
>
> about a month ago I added an enhancement request with patch to ant bugzilla.
> As there were no feedback on bugzilla, I thought I start a little promotion.
>
> The patch adds some functionality to the local task:
>
> <!-- foo is a local property - like today -->
> <local name="foo" />
>
> <!-- All properties with the prefix "local." are local -->
> <local prefix="local" />
>
> <!-- all properties are local -->
> <local/>
>
>
> Additionally the new task "global" was added to be able to export a
> property from a scope if all other properties are defined local.
>
> <!-- all properties are local ... -->
> <local/>
> <!-- ... except the property gFoo -->
> <global name="gFoo" />
>
>
> Most important for me (and hopfully others) are the addition to the
> local task (local-by-prefiy and all-local). The global tasks seems
> like a logical implication to me.
>
> Please have a look at the description for Bugzilla 53723 and the patch.
> It would be great if this enhancement would be included into ant.
>
> Regards,
> Ralf
>
> PS: https://issues.apache.org/bugzilla/show_bug.cgi?id=53723
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: Promotion: Bugzilla 53723 - [Patch] Local task: local by prefix, all local, New: global task
Posted by Vimil Saju <vi...@yahoo.com>.
I like this feature. I have been using the local task multiple times in my targets to name properties, this enhancement will make my build scripts much more cleaner.
________________________________
From: Ralf <rk...@gmx.de>
To: dev@ant.apache.org
Sent: Sunday, September 16, 2012 1:59 AM
Subject: Promotion: Bugzilla 53723 - [Patch] Local task: local by prefix, all local, New: global task
Hello,
about a month ago I added an enhancement request with patch to ant bugzilla.
As there were no feedback on bugzilla, I thought I start a little promotion.
The patch adds some functionality to the local task:
<!-- foo is a local property - like today -->
<local name="foo" />
<!-- All properties with the prefix "local." are local -->
<local prefix="local" />
<!-- all properties are local -->
<local/>
Additionally the new task "global" was added to be able to export a
property from a scope if all other properties are defined local.
<!-- all properties are local ... -->
<local/>
<!-- ... except the property gFoo -->
<global name="gFoo" />
Most important for me (and hopfully others) are the addition to the
local task (local-by-prefiy and all-local). The global tasks seems
like a logical implication to me.
Please have a look at the description for Bugzilla 53723 and the patch.
It would be great if this enhancement would be included into ant.
Regards,
Ralf
PS: https://issues.apache.org/bugzilla/show_bug.cgi?id=53723
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org