Changes between Version 6 and Version 7 of jazz/hadoop4win-dev


Ignore:
Timestamp:
Dec 21, 2010, 7:31:25 PM (14 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/hadoop4win-dev

    v6 v7  
    4646}}}
    4747 * 如果要設計網路安裝版,倒也可以用 [http://nsis.sourceforge.net/Builtin_NSISdl_plug-in NSISdl] 這個 plugin 來開發。
     48{{{
     49~$ cat > NSISdl.nsi << EOF
     50Name "NSISdl Plugin Test"
     51OutFile "NSISdl.exe"
     52
     53ShowInstDetails show
     54
     55Section "Download Hadoop"
     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 $0
     58        StrCmp $0 "success" +3
     59                MessageBox MB_OK "Download failed: $0"
     60                Quit
     61SectionEnd
     62EOF
     63~$ makensis NSISdl.nsi
     64}}}
     65 * 產生出來的 NSISdl.exe 在 Windows 7 上執行的結果如下圖:
     66   * [[Image(10-12-21_NSISdl_complete.png)]]
     67   * [[Image(10-12-21_NSISdl_result.png)]]
    4868
    4969= 0.1.5 版 =