Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
AppFuseQuickStart_ko
AppFuseSupport_ko
Articles




JSPWiki v2.2.33

[RSS]


Hide Menu

DevelopmentEnvironment_ko


Difference between version 4 and version 1:

At line 1 changed 1 line.
This page describes how to setup your development environment to compile/deploy [AppFuse] or [StrutsResume] from the command line. After setting this up, you might want to checkout [HowTo Run Ant in Eclipse|AppFuseEclipse]. This is how I currently have things setup and what I advise clients to use when we use AppFuse as a baseline for webapp development.
이 페이지는 명령창으로부터 [AppFuse] 나 [StrutsResume] 를 컴파일/배치하기 위해 개발환경을 셋업하는 방법을 설명한다. 이것을 셋업한후에, 당신은 [HowTo Run Ant in Eclipse|AppFuseEclipse] 를 체크아웃하길 원할지도 모른다. 이것은 내가 셋업에 필요한 것을 가지는 방법과 webapp개발을 위한 기본선과 같이 AppFuse를 사용할때 사용하기 위해 고객에게 설명하는 것이다.
At line 3 changed 5 lines.
!Table of Contents
* [1] Download - links to download the JDK, J2EE, Tomcat, Ant and MySQL
* [2] Install - detailed instructions on where to extract/install all of the above packages
* [3] Configure - how to configure your environment variables
* [4] Additional Tips - other tools I recommend using
!목차
* [1] 다운로드 - JDKI, J2EE, Tomcat, Ant 그리고 MySQL을 다운로드하기 위한 링크
* [2] 설치 - 위 패키지들의 압축해제/설치를 위한 위한 위치에서의 상세화된 지시
* [3] 설정 - 당신의 환경변수를 설정하기 위한 방법
* [4] 추가적인 팁들 - 내가 사용하길 권하는 다른 툴
At line 9 changed 5 lines.
!!Download [#1]
# Download the latest JDK (J2SE SDK) from [http://java.sun.com]. As of 07/12/2005, this is [1.4.2_08|http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_08-oth-JPR&SiteId=JSC&TransactionId=noreg]. AppFuse should work with 1.5 if you'd like to use that. Here's [my experience|http://raibledesigns.com/page/rd?anchor=playing_with_jdk_5_0]. Note that Cactus has been removed from AppFuse in 1.6 and Cargo (used for testing JSPs) doesn't work with Tomcat 5.5.x yet.
# Download the [latest Tomcat release|http://jakarta.apache.org/site/binindex.cgi] from [http://jakarta.apache.org/tomcat]. At the time of this writing, it's [5.0.28|http://www.apache.org/dist/jakarta/tomcat-5/v5.0.28/]. __DON'T__ get the LE version or you'll have to add DBCP (database connection pool) and JavaMail (for e-mail) JARs.
# Download the [latest Ant release|http://ant.apache.org/bindownload.cgi] from [http://ant.apache.org]. AppFuse 1.6+ requires 1.6.2 or greater.
# Download the [latest MySQL release|http://dev.mysql.com/downloads/mysql/4.0.html] from [http://www.mysql.com]. Currently, this is 4.0.21.
!!다운로드 [#1]
# [http://java.sun.com]로 부터 가장 최근의 JDK(J2SE SDK)를 다운로드하자. 2005년7월12일 기준으로, 가장 최근버전은 [1.4.2_08|http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_08-oth-JPR&SiteId=JSC&TransactionId=noreg] 이다. 만약 당신이 1.4.2_08버전을 사용하고자 한다면, AppFuse는 1.5버전을 사용해야만 한다(AppFuse should work with 1.5 if you'd like to use that). 여기에 jdk 1.5에 대한 [my experience|http://raibledesigns.com/page/rd?anchor=playing_with_jdk_5_0]이 있다. Cactus는 1.6에서 AppFuse로부터 제거되었고 Cargo(JSP테스트를 위해 사용된)는 Tomcat 5.5.x에서는 작동하지 않는다.
# [http://jakarta.apache.org/tomcat]로 부터 [latest Tomcat release|http://jakarta.apache.org/site/binindex.cgi] 를 다운로드한다. 이 글이 작성된 시점에 가장 최신버전은 [5.0.28|http://www.apache.org/dist/jakarta/tomcat-5/v5.0.28/] 이다. LE버전을 다운로드하거나 DBCP(데이터베이스 connection pool)와 JavaMail(이메일을 위한) JAR를 추가하지 말라.
# [http://ant.apache.org]로 부터 [latest Ant release|http://ant.apache.org/bindownload.cgi]를 다운로드한다. AppFuse 1.6+은 1.6.2나 그 이상의 버전을 요구한다.
# [http://www.mysql.com]로 부터 [latest MySQL release|http://dev.mysql.com/downloads/mysql/4.0.html]를 다운로드한다. 이 글이 작성된 시점에 최신버전은 4.0.21이다.
At line 15 changed 1 line.
I usually put all these downloads in a "Downloads" folder - in fact, I plan on starting to pack around a CD with all of these libraries on them - nice to have when traveling to new clients and networks are slow.
나는 "Downloads"폴더에 이렇게 다운로드한 것들을 주로 둔다. 사실 나는 이러한 모든 라이브러리를 가지는 CD를 계획중이다. 이것은 새로운 클라이언트나 네트워크가 느릴경우 매우 이로울것이다.
At line 17 changed 2 lines.
!!Install [#2]
Make sure you have [WinZip|http://winzip.com] installed (for Windows) or gnutar for OS X before installing these packages.
!!설치 [#2]
이러한 패키지들을 설치하기 전에 윈도우즈를 위해서는 [WinZip|http://winzip.com] OS X를 위해서는 gnutar를 설치하였는지 확인하라.
At line 20 changed 7 lines.
# Create a "Tools" and "SDKs" folder on your hard drive. On Windows, I create these at c:\Tools and c:\SDKs. On *nix, I usually do /opt/dev/tools and opt/dev/sdks.
# Create Environment variables for these folders - SDKS_HOME and TOOLS_HOME (optional)
# Install the J2SE SDK (a.k.a. JDK) in the SDKs directory - keeping the directory names intact.
# Install Tomcat in the Tools directory - I usually name the install directory "jakarta-tomcat-x" where x is the current version (i.e. 5.0.28).
# Unzip/Install Ant in the Tools directory - "apache-ant-x" is what I use for the directory name.
# Install MySQL in the Tools directory. I usually just leave it named "mysql".
# Create a "Source" directory on your hard drive (this is where we'll put all the source code for our projects). On *nix, I usually create a "dev" folder in my home directory.
# 당신의 하드 드라이브에 "Tools"와 "SDKs" 폴더를 생성한다. 윈도우즈에서, 나는 c:\Tools 와 c:\SDKs를 생성한다. *nix라면, 나는 대개 /opt/dev/tools 와 opt/dev/sdks를 생성한다.
# 이 폴더를 위해 환경변수(SDKS_HOME 와 TOOLS_HOME)를 생성한다. 이 작업은 선택적인 사항이다.
# 디렉토리 이름은 그대로 유지한체 SDKs디렉토리에 J2SE SDK를 설치한다.
# Tools디렉토리에 Tomcat를 설치한다. 나는 "jakarta-tomcat-x" 라는 디렉토리 이름으로 주로 설치한다. 여기서 x는 설치하는 tomcat의 버전(예를 들면, 5.0.28)이다.
# Tools디렉토리에 "apache-ant-x" 라는 이름의 디렉토리에 Ant를 압축을 풀고 설치한다.
# Tools디렉토리에 MySQL을 설치한다. 나는 주로 "mysql"이라는 이름의 디렉토리를 사용한다.
# 당신의 하드 드라이브에 "Source"디렉토리(이 디렉토리를 프로젝트의 소스코드를 두기 위해 사용한다)를 생성한다. *nix에서, 나는 home디렉토리에 "dev"폴더를 주로 생성한다.
At line 28 changed 1 line.
At this point, you should have a directory structure that looks something like the following:
이 시점에, 당신은 다음처럼 보이는 디렉토리 구조를 가지게 될것이다.
At line 38 changed 1 line.
Now we'll configure all these tools so that your Operating System knows they're installed.
지금, 우리는 당신이 사용하는 OS가 무엇이 설치되어 있는지 알도록 위에서 언급한 툴들을 설정할것이다.
At line 40 changed 1 line.
!!Configure [#3]
!!설정 [#3]
At line 42 changed 1 line.
I'll only show a Windows example and I'll assume the *nix folks are smart enough to figure it out for their system.
나는 단지 윈도우즈에서 예를 들것이다. 그리고 나는 이러한 예가 *nix와 같은 다른 시스템에서도 충분히 설정가능한 정보를 제공한다고 생각한다.
At line 44 changed 4 lines.
# To set Environment Variables in Windows, either go to Control Panel -> System or right-click My Computer -> Properties.
# Click on the __Advanced__ Tab and then click the __Environment Variables__ button.
# Put focus on the second box (System Variables) by clicking on one of the existing values.
# Enter the following variables:
# 윈도우즈에서 환경변수를 셋팅하기 위해, 제어판 -> 시스템 또는 내 컴퓨터에서 마우스 오른쪽 클릭 -> 속성을 선택한다.
# __고급__ 탭을 클릭하고 __환경 변수__ 버튼을 클릭한다.
# 두번째 박스인 시스템 변수에 포커스를 둔다.
# 다음의 값들을 추가한다.
At line 55 changed 1 line.
** Append to the PATH variable: %JAVA_HOME%\bin;%ANT_HOME%\bin;%CATALINA_HOME%\bin;%MYSQL_HOME%\bin
** PATH 변수에 다음을 추가한다 : %JAVA_HOME%\bin;%ANT_HOME%\bin;%CATALINA_HOME%\bin;%MYSQL_HOME%\bin
At line 57 changed 1 line.
You should now be able to open a command prompt and type "java -version", "ant -version" or "mysql" and not get errors.
당신이 명령창을 열어서, "java -version", "ant -version" 또는 "mysql" 을 차례대로 입력할때 어떠한 에러도 보지못할것이다. 혹시 에러가 발생한다면 설정값을 다시 확인하길 바란다.
At line 59 changed 1 line.
!!Additional Tips [#4]
!!추가적인 팁들 [#4]
At line 61 changed 1 line.
* I use [Cygwin|http://www.cygwin.com] on Windows for running Ant and doing all command line things. I install it in %TOOLS_HOME%\cygwin. In my %HOME%\.profile file, I have the following items that might be useful:
* 나는 Ant와 다른 명령창에서 수행하는 것들을 위해 [Cygwin|http://www.cygwin.com]를 사용한다. 나는 %TOOLS_HOME%\cygwin에 이것을 설치한다. %HOME%\.profile에, 나는 다음의 유용한 항목들을 추가한다.
At line 66 changed 1 line.
* I use [Eclipse|http://www.eclipse.org] on Windows for editing .java files. I install it in %TOOLS_HOME%\eclipse. I still use Ant to build and deploy, but the CVS versions of AppFuse and StrutsResume does contain the .classpath and .project files for Eclipse. Additionally, AppFuse has project files for [Intellij's IDEA|http://www.intellij.com] (version 4.5+). To see how you can run Ant in Eclipse, check out my [AppFuse with Eclipse HowTo|AppFuseEclipse].
* 나는 .java파일을 편집하기 위해 윈도우즈에서 [Eclipse|http://www.eclipse.org]를 사용한다. 나는 %TOOLS_HOME%\eclipse에 이것을 설치한다. 나는 여전히 빌드와 배치를 위해 Ant를 사용하지만, AppFuse와 StrutsResume의 CVS버전은 Eclipse를 위한 .classpath 와 .project를 포함한다. 추가적으로, AppFuse는 [Intellij's IDEA|http://www.intellij.com] (version 4.5+)를 위한 프로젝트 파일또한 포함되어 있다. Eclipse에서 Ant를 실행하는 방법을 보기 위해, [AppFuse with Eclipse HowTo|AppFuseEclipse]를 보라.
At line 68 changed 1 line.
If you're starting work at a new client, I also recommend you do the following to help your development process become more efficient. Most of my clients in the last couple years have not had these in place, that's why I recommend them here.
만약 당신이 새로운 클라이언트에서 시작한다면, 나는 좀더 효율적인 개발을 돕기 위해 다음의 사항들을 추천한다. 지난 2년동안 나의 고객들 대부분은 이동이 있었지만 별다른 문제가 없었다. 이것이 다음의 사항들을 추천하는 이유이다.
At line 70 changed 5 lines.
# Setup a source control system. I prefer <a href="http://cvshome.org">CVS</a> because I'm most familiar with it. A nice addon is [CVS Spam|http://www.badgers-in-foil.co.uk/projects/cvsspam/] for HTML-formatted check-in notifications.
# Setup a bug tracking system. Popular (free) choices are [Bugzilla|http://www.bugzilla.org/] and [Scarab|http://scarab.tigris.org/]. The best one I've seen is [JIRA|http://www.atlassian.com/software/jira/] ([demo|http://jira.atlassian.com/secure/Dashboard.jspa]), but I've yet to convince a client to shell out the $800 for it.
# Setup a Wiki. My favorite is [JSPWiki|http://www.jspwiki.org] - which is what this site uses. You can also [download this template|http://www.raibledesigns.com/wiki/templates/redman.tar.gz] if you like.
# Setup a development box to host the source control system, the bug tracking system, and a wiki. Install Tomcat on this box and [Anthill|http://www.urbancode.com/projects/anthill/default.jsp] for automated testing (I run both AppFuse and Struts-Resume on Anthill at home).
# (optional) Install [Roller|http://rollerweblogger.org/page/project] and use it to report your daily status and issues. This will allow your client (or supervisor) to track your progress.
# 소스제어시스템을 셋업한다. 나는 CVS가 친숙하기 때문에 <a href="http://cvshome.org">CVS</a>를 선호한다. 이에 추가해서 사용하기 좋은 것에는 HTML형태의 check-in알림을 위한 [CVS Spam|http://www.badgers-in-foil.co.uk/projects/cvsspam/] 이 있다.
# 버그추적시스템을 셋업한다. 프리웨어 형태에서 대개 많이 선택하는 제품은 [Bugzilla|http://www.bugzilla.org/] 와 [Scarab|http://scarab.tigris.org/]이다. 내가 본 것중에 가장 좋은것은 [JIRA|http://www.atlassian.com/software/jira/] ([demo|http://jira.atlassian.com/secure/Dashboard.jspa])이다. 하지만 이것을 위해 800 달러를 지불하는 고객은 보지 못했다.
# 위키를 셋업한다. 내가 좋아하는 것은 [JSPWiki|http://www.jspwiki.org] 이다. 현재의 우리 사이트가 이것을 사용하고 있다. 현재 보이는 템플릿이 마음에 든다면 [download this template|http://www.raibledesigns.com/wiki/templates/redman.tar.gz]를 받아서 설치할수 있다.
# 소스제어시스템, 버그추적시스템, 그리고 위키를 운영하기 위한 개발서버를 셋업한다. 나는 이 서버에 Tomcat를 설치하고 자동 테스트를 위해 [Anthill|http://www.urbancode.com/projects/anthill/default.jsp]를 설치한다(home에서 Anthill위에 AppFuse와 Struts-Resume를 운영한다).
# (선택사항) [Roller|http://rollerweblogger.org/page/project]를 설치하고 매일 발생하는 상태와 이슈를 보고하기 위해 이것을 사용한다. 이것은 고객에게 당신의 처리결과를 추적하게 해준다.

Back to DevelopmentEnvironment_ko, or to the Page History.