Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
242 views
in Technique[技术] by (71.8m points)

Apache ANT : get doesn't support the nested "header" element

I am trying to use the get task in my build.xml and has target something like this

<target name="download" >
        <get src="URL"
             dest="dist">
            <header name="aa" value="123"/>
        </get>
    </target>

When I execute the above target I am getting the error as

get doesn't support the nested "header" element.

I am using ant version as 1.10.1 Can someone help me to resolve this.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...