This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git
The following commit(s) were added to refs/heads/master by this push:
new c5992c16c remove unused macro
c5992c16c is described below
commit c5992c16cd55ced71857a1975c9cbbf6fe362c57
Author: Stefan Bodewig <[email protected]>
AuthorDate: Mon Aug 24 19:18:42 2026 +0200
remove unused macro
---
fetch.xml | 24 +-----------------------
1 file changed, 1 insertion(+), 23 deletions(-)
diff --git a/fetch.xml b/fetch.xml
index ed584f823..dd66961a6 100644
--- a/fetch.xml
+++ b/fetch.xml
@@ -143,32 +143,10 @@ Set -Ddest=LOCATION on the command line
</macrodef>
</target>
- <target name="nonm2-macros" depends="pick-dest">
- <macrodef name="get-ftp-file">
- <attribute name="host"/>
- <attribute name="port" default="21"/>
- <attribute name="remotedir"/>
- <attribute name="filename"/>
- <attribute name="localdir" default="${dest.dir}"/>
- <attribute name="user" default="anonymous"/>
- <attribute name="pw" default="anonymous"/>
- <sequential>
- <ftp server="@{host}" port="@{port}" userid="@{user}" password="@{pw}"
passive="true"
- remotedir="@{remotedir}" action="get" depends="true"
preserveLastModified="true"
- skipFailedTransfers="true">
- <fileset dir="@{localdir}">
- <include name="@{filename}"/>
- </fileset>
- </ftp>
- </sequential>
- </macrodef>
- </target>
-
-
<!-- any init stuff -->
<target name="init" depends="macros"/>
- <target name="init-no-m2" depends="nonm2-macros"/>
+ <target name="init-no-m2" depends="pick-dest"/>
<target name="init-cache">
<available property="temp.cache.already.exists" file="${temp.dir}"
type="dir"/>