Apache Ant Download Mac Os X
Apache Ant Download Mac Os X Average ratng: 8,1/10 5090 votes
Download family feud game for mac. Apache free download - Apache, Apache, Apache OpenOffice, and many more programs. Download vizzed rgr plugin for mac. Click on the link above to download Apache Directory Studio for macOS. The download appeares in the Downloads folder in Finder. Double-click on the disk image to open it. Drag-and-drop the Apache Directory Studio application on the Applications folder to install it.
- Apache Ant™ Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of Java applications.
- Mac-Package is a plugin for Apache Ant and Apache Maven that allows you to package native Mac OS X applications from your Java source code. Similar to the Maven 'uberjar' goal, it will take all of your program resources and dependencies and place them into an archive.
- Below is a breakdown on how to get ant going on your mac. I am using El Capitan and installing Apache Ant on a mac is pretty straight forward. I’m savvy and hate reading version. Download and extract the latest stable build (zip or tar.gz) After extraction rename the directory to “ant.
- Mac OS Xで大きなファイルサイズを見つける方法 Ant - 外部ライブラリを使ってJarファイルを作成する方法 Mac OS X用のJDKソースコードをダウンロードする AntとTestNGタスクの例 Mac OS Xで環境変数を設定する方法 Mac OS Xのウェブサーバ8080にアクセスする方法.
Apache Ant Download Mac Os X 10.10
Installing Apache Ant on MAC is quite different from Windows.
We use Terminal instead of cmd prompt in MAC.
Steps to Install Apache Ant on MAC OS X:
1. Download the latest version of Apache Ant.
2. Open the Terminal application.
3. Now you’ll need to manipulate files in the /usr/local/ which means you’ll need root privileges. To get them use “sudo” command (lucky you are, Mac OS X already has sudo as well) and enter your root password.
sudo sh
System_name:~ Username$ sudo sh
Password:
sh-3.2$
4. Move/Copy the archive into /usr/local/:
mv apache-ant-1.8.4-bin.tar.gz /usr/local/
5. Go to /usr/local/:
cd /usr/local/
sh-3.2$ cd /usr/local/
6. Unarchive the sources:
tar xvzf apache-ant-1.8.4-bin.tar.gz
sh-3.2$ tar xvzf apache-ant-1.8.4-bin.tar.gz
7. Change the apache-ant-1.8.4 directory owner to your normal user:
chown YourUsername:YourGroup apache-ant-1.8.4
If you’re not sure about the username and the group simply type “ls –la”. This command will print out all files and directories in the current directory (/usr/local/). The Ant sources you just copied will have your username and your group:
-rw-r--r--@ 1 Sams staff 5425171 12 Feb 15:24 apache-ant-1.8.4-bin.tar.gz
sh-3.2# ls -la
total 10600
drwxr-xr-x 5 root wheel 170 Feb 12 16:05 .
drwxr-xr-x@ 11 root wheel 374 Dec 29 19:47 .
drwxr-xr-x@ 14 root wheel 476 Feb 12 16:05 apache-ant-1.8.4
-rw-r--r--@ 1 user_name staff 5425171 Feb 12 15:24 apache-ant-1.8.4-bin.tar.gz
drwxr-xr-x 4 root wheel 136 Dec 29 19:47 bin
8. Now you can run Ant by typing /usr/local/apache-ant-1.8.4. Not very convenient, huh?
9. Let’s make it work more friendly:
First, create a symbolic link to refer the application as ant instead of apache-ant-1.8.:
ln -s apache-ant-1.8.4 ant
sh-3.2# ln -s apache-ant-1.8.4 ant
Second, add the following lines into your shell config:
export ANT_HOME_DIR=/usr/local/ant
export PATH=${PATH}:${ANT_HOME_DIR}/bin
sh-3.2# export ANT_HOME_DIR=/usr/local/ant
sh-3.2# export PATH=${PATH}:${ANT_HOME_DIR}/bin
sh-3.2#
10. Restart your Terminal and type “ant”. If it says “Buildfile: build.xml does not exist! Build failed” which means that Apache Ant works correctly.
Else open terminal and type,
ant -version