------------------------------------------------------------------------------
Copyright (c) 2009 Information-technology Promotion Agency, Japan. All 
rights reserved. All contents in this document are made available under 
the terms of the Eclipse Public License v1.0 which accompanies this 
distribution, and is available at 
http://www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, 
"Program" will mean the Content. 
------------------------------------------------------------------------------

Benten ビルド・スクリプト

○このプロジェクトについて
・Benten 翻訳支援ツール (CAT) および Benten 翻訳ワークフロー支援ツール (TWA) を
  一括ヘッドレス・ビルドを実現します。
・ビルド時にのみ利用されるものであり、ビルド後のモジュールの動作には必要ありません。

------------------------------------------------------------------------------

*このプロジェクトについて
このプロジェクトは、benten の headless build を実行するためのプロジェクトです。

*ビルド環境
-Eclipse for RCP/Plug-in Developers (Eclipse Ganymede)
  Windows 用の簡易な方法として、BlancoEclipseRcpDistribution によるセットアップが挙げられます。
    http://www.vector.co.jp/soft/winnt/prog/se475903.html

-WTP(WST) 3.0.4
 http://download.eclipse.org/webtools/downloads/drops/R3.0/R-3.0.4-20090213193639/
  emf-runtime-2.4.2.zip
  GEF-SDK-3.4.2.zip
  xsd-runtime-2.4.2.zip
  wtp-wst-R-3.0.4-20090213193639.zip

-SVN PDE Build Extension
 http://download.eclipse.org/technology/subversive/0.7/pde-update-site/
  org.eclipse.team.svn.pde.build - 0.7.1.I20080612-1500

ビルド時に、リポジトリーからのプロジェクト取得を行う場合のみ必要です。

-SVN クライアント

ビルド時に、リポジトリーからのプロジェクト取得を行う場合は、上記の
SVN PDE Build Extension に加え、コマンドラインから使用可能な SVN クライアント
が必要になります。

*設定変更
ビルドするマシンの環境にあわせて、少なくとも以下の値を変更する必要があります。

-build/build.properties
base=c:/
baseLocation=${base}/program Files/blancoEclipseRcpDistribution-20090512

base と baseLocation により、ビルドに使用する Eclipse のルートディレクトリを表現します。

-build/build.xml
<property name="equinoxLauncherPluginVersion" value="1.0.101.R34x_v20081125" />

ビルドに使用する Eclipse の plugins ディレクトリに含まれる org.eclipse.equinox.launcher
の jar ファイル名（例えば、org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar）
に含まれる Equinox のバージョン番号を指定します。

*ビルド方法

-関連プロジェクトの取得
build/build.properties で skipFetch プロパティをコメント・アウトすることにより、
ビルド時に、リポジトリからのプロジェクト取得を行うことができます。
ただし、リポジトリからのプロジェクト取得でエラーが発生した場合でもビルドが
継続し、問題なくビルド終了したように見えるという問題があるため、現時点で
この機能を使用することは推奨されません。

-buildIdの設定
build/build.propertiesでbuildIdを設定します。
例）
buildType=I
buildId=200905112240

