Changes between Version 1 and Version 2 of waue/2009/0904
- Timestamp:
- Sep 4, 2009, 4:44:31 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
waue/2009/0904
v1 v2 15 15 * eclipse europa 16 16 * 工作目錄於 /home/waue/workspace 17 * 步驟二之後的動作於eclipse 設定 17 18 18 = 方法 = 19 = 1. 用svn 下載最新的hadoop branch = 20 *(以0.18為例) 19 21 20 22 {{{ … … 22 24 }}} 23 25 24 開啟 eclipse 26 = 2 將hadoop專案用ecilpse打開 = 25 27 26 file -> new -> project -> java project => next28 * file -> new -> project -> java project => next 27 29 28 30 project name: brance-0.18 … … 31 33 => finish 32 34 33 點選branch-0.18 右鍵 -> properties -> builders 35 = 3 設定專案屬性 = 36 {{{ 37 #!text 38 點選branch-0.18 右鍵 -> properties 39 }}} 34 40 41 = 3.1 properties -> builders = 42 {{{ 43 #!text 35 44 * import -> build.xml 36 45 * 取消 java builder 的 勾 37 46 * branch-0.18 build.xml 打勾 38 47 * edit 48 }}} 49 = 3.1.1 edit的細部設定 = 39 50 40 properties -> java build path 51 = 3.2 properties -> java build path = 41 52 53 {{{ 54 #!text 42 55 * source -> default output folder : branch-0.18/build 56 }}} 43 57 44 properties -> java compiler 58 = 3.3 properties -> java compiler = 45 59 46 * compiler level : 6.0 47 48 => ok 60 {{{ 61 #!text 62 compiler level : 6.0 63 }}} 49 64 50 65 51 build.xml -> run as -> ant build ->66 = 4 執行 = 52 67 68 {{{ 69 #!text 70 build.xml -> run as -> ant build 71 }}} 72 73 74 * 可在 專案的build資料夾內看到編譯後的jar檔