Files

33 lines
634 B
Plaintext
Raw Permalink Normal View History

2026-01-23 17:03:45 +08:00
Make sure you have a Java environment installed
Enter the URL: http://ant.apache.org/bindownload.cgi.
On the Apache Ant Project page, find the heading Current Release of Ant.
Save and extract the package file into a Linux home directory.
Set the ANT_OPTS environment variable:
export ANT_OPTS="-Xmx256M"
Set the ANT_HOME environment variable to the directory where you installed Ant:
export ANT_HOME={ant_dir}
Set the PATH environment variable to include the directory where you installed the Ant bin directory:
export PATH=${PATH}:${ANT_HOME}/bin
From the ANT_HOME directory run
ant -f fetch.xml -Ddest=system