Re: Re: Ant get task to accept arbitrary header

Arcadius Ahouansou <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <CAJn2xr95OEe-26gQTm5438iyVG=F-VwYeZ+sr=qiJUgpU-UKzQ@mail.gmail.com>
Hello AI Le.

I got it working now.
I will create a Jira ticket and submit a patch early next week.

Thank you very much for your help.

BTW: in this working implementation, I no longer use <headers> to group the
header tags...I have now:

<get src="some source" dest="some dest">
<header name="h1" value="aaa"/>
<header name="h2" value="bbb"/>
</get>

Arcadius.


On 20 January 2017 at 06:45, Al Le <[email protected]> wrote:

> > Please, after changing the java  code, what are the steps required to let
> > the <get> tag accept children nodes <headers> and <header>?
>
> You should have methods like "setHeaders" (for the headers element) and
> "addHeader"/"addConfiguredHeader" for the nested elements.
>
> See https://ant.apache.org/manual/develop.html for more details.
>
> BTW: I'll very much welcome your changes!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Arcadius Ahouansou
Menelic Ltd | Applied Knowledge Is Power
Office : +441444702101
Mobile: +447908761999
Web: www.menelic.com
---
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.