블로그_별책부록

Similar documents
개발및운영 Eclipse 를이용한 ANT 활용방법

Interstage5 SOAP서비스 설정 가이드

chapter1,2.doc

02 C h a p t e r Java

Eclipse 와 Firefox 를이용한 Javascript 개발 발표자 : 문경대 11 년 10 월 26 일수요일

Apache Ivy

Dialog Box 실행파일을 Web에 포함시키는 방법

1. 자바프로그램기초 및개발환경 2 장 & 3 장. 자바개발도구 충남대학교 컴퓨터공학과

Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Cras

2. 기능요약 자바프로그래밍언어에서사용하는자동화된소프트웨어빌드도구 주요기능 IDE 통합및도구지원 원격코드 Build 자동화 지원여부 대부분의도구지원 (Eclipse, NetBeans 등 ) 지원 (FTP, SCP, SFTP, SVN) 자동화 Build 중 Unit Te

PWR PWR HDD HDD USB USB Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl Cable PC PC DDNS (

교육2 ? 그림

JFeature & ANT Tools Summary

PowerPoint 프레젠테이션

초보자를 위한 C++

MasoJava4_Dongbin.PDF

USB USB DV25 DV25 REC SRN-475S REC SRN-475S LAN POWER LAN POWER Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl C

chapter4

untitled

PowerPoint 프레젠테이션

rmi_박준용_final.PDF

Connection 8 22 UniSQLConnection / / 9 3 UniSQL OID SET

( )부록

Week13

iii. Design Tab 을 Click 하여 WindowBuilder 가자동으로생성한 GUI 프로그래밍환경을확인한다.

품질검증분야 Stack 통합 Test 결과보고서 [ The Bug Genie ]

DE1-SoC Board

1

1. 도구개요 CppUnit Testing 소개 CppUnit 는 C++ 용 testing Framework 로 Java 의 JUnit 을 C++ 로구현 C++ 언어에서사용할수있도록개발된 Open Source 프로젝트로, source code 의특정 Module 이의도

Mobile Service > IAP > Android SDK [ ] IAP SDK TOAST SDK. IAP SDK. Android Studio IDE Android SDK Version (API Level 10). Name Reference V

ODS-FM1

Angry MOMO Presentation

슬라이드 1

FileMaker 15 ODBC 및 JDBC 설명서

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D D382E687770>

Assign an IP Address and Access the Video Stream - Installation Guide

J2EE & Web Services iSeminar

슬라이드 1

MPLAB C18 C

4S 1차년도 평가 발표자료

Apache2 + Tomcat 5 + JK2 를 사용한 로드밸런싱과 세션 복제 클러스터링 사이트 구축

Microsoft PowerPoint - Smart CRM v4.0_TM 소개_ pptx

슬라이드 1

3장

PRO1_02E [읽기 전용]

자바-11장N'1-502

PowerPoint Presentation

PowerPoint 프레젠테이션

Secure Programming Lecture1 : Introduction

Sena Technologies, Inc. HelloDevice Super 1.1.0

No Slide Title

을풀면된다. 2. JDK 설치 JDK 는 Sun Developer Network 의 Java( 혹은 에서 Download > JavaSE 에서 JDK 6 Update xx 를선택하면설치파일을

1217 WebTrafMon II

DocsPin_Korean.pages

슬라이드 1

Microsoft PowerPoint - web-part03-ch19-node.js기본.pptx

14-Servlet

Mentor_PCB설계입문

Remote UI Guide

슬라이드 1

User's Guide Manual

11 템플릿적용 - Java Program Performance Tuning (김명호기술이사)

Network seminar.key

untitled

컴퓨터과학과 교육목표 컴퓨터과학과의 컴퓨터과학 프로그램은 해당분야 에서 학문적 기술을 창의적으로 연구하고 산업적 기술을 주도적으로 개발하는 우수한 인력을 양성 함과 동시에 직업적 도덕적 책임의식을 갖는 IT인 육성을 교육목표로 한다. 1. 전공 기본 지식을 체계적으로

데이터베이스_오라클_부록(최종).indd

vm-웨어-앞부속

Introduction to Junit, Eclipse, Build Environment

Solaris Express Developer Edition

슬라이드 1

,,,,,, (41) ( e f f e c t ), ( c u r r e n t ) ( p o t e n t i a l difference),, ( r e s i s t a n c e ) 2,,,,,,,, (41), (42) (42) ( 41) (Ohm s law),

JavaGeneralProgramming.PDF


09-interface.key

07 자바의 다양한 클래스.key

LXR 설치 및 사용법.doc

Facebook API

I T C o t e n s P r o v i d e r h t t p : / / w w w. h a n b i t b o o k. c o. k r

Intro to Servlet, EJB, JSP, WS

Orcad Capture 9.x

10X56_NWG_KOR.indd

Microsoft PowerPoint Android-SDK설치.HelloAndroid(1.0h).pptx

초보자를 위한 ASP.NET 2.0

강의10

MCM, PCB (mentor) : da& librarian jakup & package jakup & layout jakup & fablink jakup & Summary 2 / 66

PowerPoint 프레젠테이션

untitled

ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE (Online Upgrade) ORANGE CONFIGURATION ADMIN O

슬라이드 1

파워포인트

리눅스설치가이드 3. 3Rabbitz Book 을리눅스에서설치하기위한절차는다음과같습니다. 설치에대한예시는우분투서버 기준으로진행됩니다. 1. Java Development Kit (JDK) 또는 Java Runtime Environment (JRE) 를설치합니다. 2.

28 THE ASIAN JOURNAL OF TEX [2] ko.tex [5]

목 차 Ⅰ. 일반사항 1 Ⅱ. 특기사항 3 Ⅲ. 물품내역 및 세부규격 8 Ⅳ. 주의사항

2. 기능요약 는 Java 의 Coverage 를측정하기위한도구 EclEmma 는 의기능을 Eclipse 에서사용할수있도록구현된 Plug-in 주요기능 지원내용 Code coverage 분석 지원 단위별 Coverage 분석 지원 Source highlighting 기

Sena Device Server Serial/IP TM Version

歯Writing_Enterprise_Applications_2_JunoYoon.PDF

JMF3_심빈구.PDF

API STORE 키발급및 API 사용가이드 Document Information 문서명 : API STORE 언어별 Client 사용가이드작성자 : 작성일 : 업무영역 : 버전 : 1 st Draft. 서브시스템 : 문서번호 : 단계 : Docum

초보자를 위한 C# 21일 완성

비긴쿡-자바 00앞부속

Transcription:

Mac Windows http //java sun com/javase/downloads Java SE Development Kit JDK 1

Windows cmd C:\>java -version java version "1.6.0_XX" Java(TM) SE Runtime Environment (build 1.6.0_XX-b03) Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing) C:\> JDK bin ^^ 2

http // www eclipse org/downloads/ Eclipse IDE for Java Developers eclipse exe 3

workspace 4

5

File New Java Projects 6

Finish Test src JRE System Library src OS src bin jar jar Test Properties Java Build Path 4 Libraries OS Add External Jars Selenium 7

src New Class 8

Package Name package com.blog2book; public class TestJavaFile { } 9

Refactor Rename 10

Ant apache Windows Linux Unix S Ant Ant Ant Ant 11

Ant Tomcat Ant Ant http ant apache org Ant Path Ant bin Windows Ant Path Path ant C:\>ant Buildfile: build.xml does not exist! Build failed C:\> C \AntSample 12

JUnit Hello java package com.blog2book; public class Hello { public static void main(string args[]) { Hello hello=new Hello(); int[] data=new int[5]; data[0]=1; data[1]=2; data[2]=3; data[3]=4; data[4]=5; int result=hello.getsum(data); System.out.println(result); } public int getsum(int[] data) { int returnvalue=0; for(int temp:data) { returnvalue+=temp; } return returnvalue; } } HelloTest java 13

package com.blog2book; import junit.framework.testcase; public class HelloTest extends TestCase { int[] data; Hello hello; public void setup() { data=new int[5]; data[0]=2; data[1]=4; data[2]=6; data[3]=8; data[4]=10; hello=new Hello(); } public void testgetsum() { assertequals(30,hello.getsum(data)); } } Ant build xml xml build xml <project name="blog2book Test-Ant sample" default="test" basedir="."> <target name="target1" > </target> <target name="target2" > </target> <target name="target3" > </target> </project> 14

project target target project target property path Ant <project name="blog2book Test-Ant sample" default="makedir" basedir="."> <property file="build.properties"/> <target name="clean" > <delete dir="${build.dir}"/> <delete dir="${server.dir}"/> </target> <target name="makedir" depends="clean"> <mkdir dir="${build.dir}"/> <mkdir dir="${server.dir}"/> <mkdir dir="${result.dir}"/> <mkdir dir="${junit.result.dir}" /> </target> </project> clean makedir project default basedir default default makedir makedir clean? makedir 15

depends depends makedir clean property build properties build properties source.dir=./src build.dir=./build server.dir=./server/webapps result.dir=./result results.file=result.txt tomcat.url=localhost tomcat.port=8080 junit.result.dir=./result.junit build properties key=value properties key value source dir build dir key ${ } ${a} a Ant ${a} clean delete makedir mkdir C:\AntSample>ant Buildfile: build.xml clean: [delete] Deleting directory C:\AntSample\build [delete] Deleting directory C:\AntSample\server\webapps 16

makedir: [mkdir] Created dir: C:\AntSample\build [mkdir] Created dir: C:\AntSample\server\webapps BUILD SUCCESSFUL Total time: 0 seconds C:\AntSample> Build Successful clean ant clean Web WEB INF classes build <project > <path id="build.classpath"> <fileset dir="./jars"> <include name="*.jar"/> </fileset> <pathelement location="${server.dir}"/> </path> <!?Clean, makedir tasks --> <target name="compile" depends="makedir"> 17

<javac srcdir="${source.dir}" destdir="${build.dir}"> <classpath refid="build.classpath"/> </javac> <echo message="compile Succeed"/> </target> <target name="build" depends="compile"> <copy todir="${server.dir}"> <fileset dir="${build.dir}"> <include name="**/*.class"/> </fileset> </copy> </target> </project> classpath classpath path classpath fileset include exclude javac javac srcdir destdir javac classpath <project > <!?path, Clean, makedir, compile, build tasks --> <target name="run" depends="build"> 18

<property name="results.file" value="results.txt"/> <tstamp/> <property name="results.file.name" value="${dstamp}- ${TSTAMP}-${results.file}"/> <java classname="com.blog2book.hello"> <classpath path="${server.dir}"/> <redirector output="${result.dir}/${results.file.name}"/> </java> <echo message="result is save at ${result.dir}/${dstamp}- ${TSTAMP}-${results.file}"/> </target> </project> Ant java redirector tstamp ${DSTA P} ${TSTAMP} tstamp tstamp <project > <!?path, Clean, makedir, compile, build tasks --> <target name="test" depends="build" description="test the application"> <echo message="testing the application"/> <junit> <classpath refid="build.classpath"/> 19

<formatter type="xml"/> <test todir="${result.dir}" name="com.blog2book. HelloTest"/> </junit> </target> </project> JUnit Ant junit xml todir build xml xml todir junitreport junitreport test <target name="test" depends="run" description="test the application"> <echo message="testing the application"/> <junit> <classpath refid="build.classpath"/> <formatter type="xml"/> <test todir="${result.dir}" name="com.blog2book. HelloTest"/> </junit> <junitreport todir="${junit.result.dir}"> <fileset dir="${result.dir}"> <include name="test-*.xml"/> </fileset> <report format="frames" todir="${junit.result.dir}"/> </junitreport> </target> 20

Ant result junit HTML index html Ant Ant Ant API Tomcat Ant <project name="blog2book Test-Ant sample" default="starttomcat" basedir="."> <property file="build.properties"/> <path id="build.classpath"> <fileset dir="./jars"> <include name="*.jar"/> </fileset> <pathelement location="${server.dir}"/> 21

</path> <target name="check-tomcat-port"> <condition property="tomcat.running"> <socket server="${tomcat.url}" port="${tomcat.port} /> </condition> <echo message="check Tomcat is running-${tomcat.running}"/> </target> <target name="start-tomcat" depends="check-tomcat-port" unless="tomcat.running"> <echo message="start Tomcat"/> <property name="catalina_home" location="c:/tomcat5.5" /> <exec executable="c:/tomcat5.5/bin/startup.bat" spawn= "true" vmlauncher="false" > <env key="catalina_home" value="c:/tomcat5.5"/> </exec> <sleep seconds="5"/> </target> </project> 22

Hudson WAS Subversion Subversion Subversion Hudson Tomcat Hudson Subversion Hudson Subversion http subversion tigris org Windows Subversion Subversion Tomcat Windows C \ C:\>mkdir blog2book C:\>svnadmin create c:\blog2book\test C:\> 23

C \blog2book\test C \blog2book Ant svn import file C:\>svn import antsample file:///blog2book/test/antsample -m "initial import" AntSample\jars (bin) AntSample\jars\junit.jar // AntSample\build.properties AntSample\build.xml 1. C:\> Subversion Subversion Subversion Subversion Windows 24

Subversion svn list C:\>svn list svn://localhost/antsample build.ex.xml build.properties build.xml build_tomcat.xml jars/ src/ C:\> IP IP port 3690 Checkout C \blog2book work checkout C:\blog2bookwork>svn checkout svn://localhost/antsample A antsample\jars A antsample\jars\junit.jar // A antsample\build.properties A antsample\build.xml 1. C:\blog2bookwork> build xml commit 25

C:\blog2bookwork\antsample>svn commit build.xml -m "change build files" build.xml. 2. C:\blog2bookwork\antsample> commit C:\blog2bookwork\antsample>svn commit build.xml -m "change build files" svn: : svn: 1 svn c \blog2book\test\conf passwd svnserve conf 2 passwd [users] blog2book=test 3 svnserve conf password db=passwd # 4 svn 5 commit C:\blog2bookwork\antsample>svn commit build.xml -m "change build files" --username blog2book --password test username password 26

svn svn Windows Windows Windows svn Subversion 27

DOM HTML HTML HTML CSS WAI RSS ALT ruler HTML CSS 28

HTML Selenium HTML Internet Explorer Developer Toolbar Internet Explorer Developer Toolbar 29

IE Developer Toolbar 30

HTML HTML 31

File SS ID HTML JSP 32

CSS Selector Matches CSS CSS PC div 33

- HTML CSS Feed Link 34

Firebug Firefox Firebug Lite Firefox Firefox Firebug Firebug HTML Firebug HTML CSS HTML CSS HTTP Stack trace DOM DOM Document Object Model 35

http getfirebug com Firebug Firefox Firefox Firebug Firebug irefox Firefox Firefox Firebug 36

Firebug Firebug Firebug HttpWatch Firebug Firebug Firebug 37

HTML HTML HTML HTML CSS CSS Break point DOM DOM Net HTTP Reference Cookies Net Cookies 38

Enable selected panels for xxxx HttpWatch Firebug Net Net Net 39

40

Firebug Firecookie FirePHP PHP Inline Code Finder for Firebug Jiffy http billwscott com jiffyext Yslow 41