It's a medium sized download which took me 10min to download and install. Simply execute the following command in a terminal window to install brew: ruby -e "$(curl -fsSL )" # Add the new version of Ant to future terminal sessionsĮcho 'export PATH=/usr/local/apache-ant/bin:"$PATH"' > ~/.profileĠ T00:59:04+00:00 T00:59:04+00:00 Answer Linkįor MacOS Maveriks (10.9 and perhaps later versions too), Apache Ant does not come bundled with the operating system and so must be installed manually. # Add the new version of Ant to current terminal sessionĮxport PATH=/usr/local/apache-ant/bin:"$PATH" Sudo cp -rf apache-ant-1.8.1-bin /usr/local/apache-ant # Copy it into /usr/local Sudo mkdir -p /usr/local # Ensure that /usr/local exists Tar -xvzf apache-ant-1.8. # Extract the folder The commands that you would need, assuming apache-ant-1.8. (replace 1.8.1 with the actual version) were still in your Downloads directory, would be the following (explanatory comments included): cd ~/Downloads # Let's get into your downloads folder. Put the "bin" subdirectory in your path.If it is not already installed, then your best bet is to install Homebrew (brew install ant) or MacPorts (sudo port install apache-ant), and use those tools to install Apache Ant.Īlternatively, though I would highly advise using Homebrew or MacPorts instead, you can install Apache Ant manually. Ant is already installed on some older versions of Mac OS X, so you should run ant -version to test if it is installed before attempting to install it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |