1. Ant 다운로드
Apache Ant 바이너리 프로그램을 사이트에서 다운로드 한다.
download url : Apache Ant - Binary Distributions
Apache Ant - Binary Distributions
Binary Distributions Apache Ant™ Apache Ant is a Java library and command-line tool that help building software. Downloading Apache Ant Use the links below to download a binary distribution of Ant from one of our mirrors. It is good practice to verify th
ant.apache.org
2. ANT 설치
다운로드 받은 ANT는 바이너리 파일이기 때문에 별도의 작업은 필요 없다.
- 디렉토리 : /sw/ci/ant
- 파일명 : apache-ant-1.10.12-bin.tar.gz
- 명령어 :
tar -xvzf apache-ant-1.10.12-bin.tar.gz |
3. 프로파일 세팅
ANT의 명령어를 어떤 위치에서도 실행가능하도록 path를 추가한다.
- 프로파일 : .profile(.bash_profile)
- 프로파일 추가내용 :
export ANT_HOME = /sw/ci/ant/apache-ant-1.10.12 export PATH=$PATH;$ANT_HOME/bin |
'IT > CICD' 카테고리의 다른 글
Ant 유용한 Tip-1 (0) | 2022.03.13 |
---|---|
Ant script 구성방법 및 샘플(build.xml, build.properties) (0) | 2022.03.11 |
maven 다운로드 및 설치 (0) | 2022.03.10 |
Jenkins plugin 세팅 (0) | 2022.03.10 |
Jenkins 다운로드 및 설치 (0) | 2022.03.10 |