Changes between Version 8 and Version 9 of jazz/hadoop4win-dev
- Timestamp:
- Dec 21, 2010, 7:36:15 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/hadoop4win-dev
v8 v9 45 45 Total size: 53165 / 84384 bytes (63.0%) 46 46 }}} 47 * 如果要設計網路安裝版,倒也可以用 [http://nsis.sourceforge.net/Builtin_NSISdl_plug-in NSISdl] 這個 plugin 來開發。簡單寫一個測試範例,還算蠻簡單的。 47 * 如果要設計網路安裝版,倒也可以用 [http://nsis.sourceforge.net/Builtin_NSISdl_plug-in NSISdl] 這個 plugin 來開發。簡單寫一個測試範例,還算蠻簡單的。(注意:底下用 \$ 是為了配合 cat 語法,若直接貼程式碼請拿掉!) 48 48 {{{ 49 49 ~$ cat > NSISdl.nsi << EOF … … 55 55 Section "Download Hadoop" 56 56 NSISdl::download /TIMEOUT=30000 http://ftp.twaren.net/Unix/Web/apache//hadoop/core/hadoop-0.20.2/hadoop-0.20.2.tar.gz hadoop-0.20.2.tar.gz 57 Pop $058 StrCmp $0 "success" +359 MessageBox MB_OK "Download failed: $0"57 Pop \$0 58 StrCmp \$0 "success" +3 59 MessageBox MB_OK "Download failed: \$0" 60 60 Quit 61 61 SectionEnd