必要なものは
- Add-on Manager (http://code.google.com/a/apache-extras.org/p/ofbiz-adm/downloads/list)
- patch.exe, diff.exe (http://gnuwin32.sourceforge.net/)
- todos.exe (http://www.thefreecountry.com/tofrodos/index.shtml)
準備
- C:\gnuwin32\binフォルダを作成して、ダウンロードしたファイルを格納します。zipは展開します。
- フォルダにpatch.batファイルを次の内容で作成します。
- フォルダにdiff.batファイルを次の内容で作成します。
- フォルダにadm.batファイルを次の内容で作成します。
- システムのプロパティでシステム環境変数PATHに上記のパスを追加します。
@ECHO OFF
todos %3
todos %4
C:\gnuwin32\bin\patch.exe %1 %2 %3 %4
@ECHO OFF
todos %2
todos %3
C:\gnuwin32\bin\diff.exe %1 %2 %3
@ECHO OFF
java C:\gnuwin32\bin\addonmanager.jar %*
実行
たとえばlanguagePackアドオンをインストールする場合、コマンドプロンプトから次のコマンドでインストールします。
C:\gnuwin32\bin> adm install languagePack-0.1.1-v11.04.01.zip
インストール済アドオンのアンインストール
C:\gnuwin32\bin> adm uninstall languagePack
インストール済アドオンの一覧表示
C:\gnuwin32\bin> adm list
Using Add-on Manager on Windows
- Download and Add-on Manager (http://code.google.com/a/apache-extras.org/p/ofbiz-adm/downloads/list)
- Download patch.exe, diff.exe (http://gnuwin32.sourceforge.net/)
- Make a directory, for example C:\gnuwin32\bin, and extract downloaded zip files in it. And copy jar file also in it.
- Create patch.bat file into the directory and edit like this.
- Create diff.bat file into the directory and edit like this.
- Create adm.bat file into the directory and edit like this.
- Set environment variable PATH.
- For example. To install languagePack Addon, exec command line, adm install languagePack-0.1.1-v11.04.01.zip
@ECHO OFF
todos %3
todos %4
C:\gnuwin32\bin\patch.exe %1 %2 %3 %4
@ECHO OFF
todos %2
todos %3
C:\gnuwin32\bin\diff.exe %1 %2 %3
@ECHO OFF
java C:\gnuwin32\bin\addonmanager.jar %*
Links
Neogia Add-on Manager: http://neogia.org/wiki/index.php/Add-on_Manager
Neogia Add-on: http://neogia.org/wiki/index.php/OFBiz_add-on
Add-ons: http://addons.neogia.org/
Apache-extra: http://code.google.com/a/apache-extras.org/p/ofbiz-adm/
Apache-extra wiki (about how to install etc.) http://code.google.com/a/apache-extras.org/p/ofbiz-adm/w/list
2012.11.07 created.
2012.11.24 modified.
0 件のコメント:
コメントを投稿