본문 바로가기
코딩이야기/Java

03. build tool 이란?

by GiraffeB 2018. 2. 19.
#빌드툴에 대해서 알아보자

스택오버 플로우에 빌드툴이라고 검색하면 나오는 글 중 하나이다.

#1. 빌드툴이 뭐지?
What are build tools?

Build tools are programs that automate the creation of executable applications from source code(eg. .apk for android app). Building incorporates compiling,linking and packaging the code into a usable or executable form.

Basically build automation is the act of scripting or automating a wide variety of tasks that software developers do in their day-to-day activities like:

1. Downloading dependencies.
2. Compiling source code into binary code.
3. Packaging that binary code.
4. Running tests.
5. Deployment to production systems.


>구글님에게 해석을 맡겨보자

빌드 도구 란 무엇입니까?

빌드 툴은 소스 코드 (예 : 안드로이드 앱용 .apk)에서 실행 가능한 애플리케이션을 자동 생성하는 프로그램입니다. Building은 코드를 컴파일, 링크 및 패키징하여 사용 가능하거나 실행 가능한 형태로 통합합니다.

기본적으로 자동화 자동화는 소프트웨어 개발자가 일상 업무에서 수행하는 다양한 작업을 스크립팅 또는 자동화하는 행위입니다.

1. 종속성 다운로드.
2. 소스 코드를 바이너리 코드로 컴파일.
3. 바이너리 코드를 패키징합니다.
4. 테스트 실행 중.
5. 프로덕션 시스템에 배포



#2. 왜 빌드툴을 써야할까?
Why do we use build tools or build automation?
In small projects, developers will often manually invoke the build process.
This is not practical for larger projects, where it is very hard to keep track of what needs to be built, in what sequence and what dependencies there are in the building process. Using an automation tool allows the build process to be more consistent.


>구글님에게 해석을 맡겨보자

빌드 도구를 사용하거나 자동화를 구축하는 이유는 무엇입니까?
소규모 프로젝트에서 개발자는 종종 수동으로 빌드 프로세스를 호출합니다.
이는 빌드해야 할 것을 순서대로, 빌드 프로세스에 어떤 종속성이 있는지 추적하는 것이 매우 어려운 대규모 프로젝트에서는 실용적이지 않습니다. 자동화 도구를 사용하면 빌드 프로세스를보다 일관성있게 수행 할 수 있습니다.




#3. 사족
자바를 사용하는 많은 초보 웹개발자 분들이 maven이나 gradle을 사용하실텐데, 내부적으로 어떻게 사용하는지 잘 모르실것 같다. 왜냐면 내가 그 케이스이기 때문에...
eclipse나 intellij가 다 해줄텐데 문제가 발생하면 해결할 수가 없었다. 이럴땐 큰틀의 개념적인 것, 이 도구의 목적을 이해하고, 차후 내부원리를 알아보면 구조적으로 정리하는데 도움이 될 것 같다.


#참조:


'코딩이야기 > Java' 카테고리의 다른 글

Springboot + security form CSRF 이 필요합니다.  (0) 2018.10.11
05. gradle 설치하기  (0) 2018.02.25
02. Java 간단한 컴파일 해보기  (0) 2018.02.18
01. JAVA 설치하기  (0) 2018.02.17