| 1 |
------------------------------------------------------------------------------ |
| 2 |
Copyright (c) 2009 Information-technology Promotion Agency, Japan. All |
| 3 |
rights reserved. All contents in this document are made available under |
| 4 |
the terms of the Eclipse Public License v1.0 which accompanies this |
| 5 |
distribution, and is available at |
| 6 |
http://www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, |
| 7 |
"Program" will mean the Content. |
| 8 |
------------------------------------------------------------------------------ |
| 9 |
|
| 10 |
Benten ビルド・スクリプト |
| 11 |
|
| 12 |
○このプロジェクトについて |
| 13 |
・Benten 翻訳支援ツール (CAT) および Benten 翻訳ワークフロー支援ツール (TWA) を |
| 14 |
一括ヘッドレス・ビルドを実現します。 |
| 15 |
・ビルド時にのみ利用されるものであり、ビルド後のモジュールの動作には必要ありません。 |
| 16 |
|
| 17 |
------------------------------------------------------------------------------ |
| 18 |
|
| 19 |
*このプロジェクトについて |
| 20 |
このプロジェクトは、benten の headless build を実行するためのプロジェクトです。 |
| 21 |
|
| 22 |
*ビルド環境 |
| 23 |
-Eclipse for RCP/Plug-in Developers (Eclipse Ganymede) |
| 24 |
Windows 用の簡易な方法として、BlancoEclipseRcpDistribution によるセットアップが挙げられます。 |
| 25 |
http://www.vector.co.jp/soft/winnt/prog/se475903.html |
| 26 |
|
| 27 |
-WTP(WST) 3.0.4 |
| 28 |
http://download.eclipse.org/webtools/downloads/drops/R3.0/R-3.0.4-20090213193639/ |
| 29 |
emf-runtime-2.4.2.zip |
| 30 |
GEF-SDK-3.4.2.zip |
| 31 |
xsd-runtime-2.4.2.zip |
| 32 |
wtp-wst-R-3.0.4-20090213193639.zip |
| 33 |
|
| 34 |
-SVN PDE Build Extension |
| 35 |
http://download.eclipse.org/technology/subversive/0.7/pde-update-site/ |
| 36 |
org.eclipse.team.svn.pde.build - 0.7.1.I20080612-1500 |
| 37 |
|
| 38 |
ビルド時に、リポジトリーからのプロジェクト取得を行う場合のみ必要です。 |
| 39 |
|
| 40 |
-SVN クライアント |
| 41 |
|
| 42 |
ビルド時に、リポジトリーからのプロジェクト取得を行う場合は、上記の |
| 43 |
SVN PDE Build Extension に加え、コマンドラインから使用可能な SVN クライアント |
| 44 |
が必要になります。 |
| 45 |
|
| 46 |
*設定変更 |
| 47 |
ビルドするマシンの環境にあわせて、少なくとも以下の値を変更する必要があります。 |
| 48 |
|
| 49 |
-build/build.properties |
| 50 |
base=c:/ |
| 51 |
baseLocation=${base}/program Files/blancoEclipseRcpDistribution-20090512 |
| 52 |
|
| 53 |
base と baseLocation により、ビルドに使用する Eclipse のルートディレクトリを表現します。 |
| 54 |
|
| 55 |
-build/build.xml |
| 56 |
<property name="equinoxLauncherPluginVersion" value="1.0.101.R34x_v20081125" /> |
| 57 |
|
| 58 |
ビルドに使用する Eclipse の plugins ディレクトリに含まれる org.eclipse.equinox.launcher |
| 59 |
の jar ファイル名(例えば、org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar) |
| 60 |
に含まれる Equinox のバージョン番号を指定します。 |
| 61 |
|
| 62 |
*ビルド方法 |
| 63 |
|
| 64 |
-関連プロジェクトの取得 |
| 65 |
build/build.properties で skipFetch プロパティをコメント・アウトすることにより、 |
| 66 |
ビルド時に、リポジトリからのプロジェクト取得を行うことができます。 |
| 67 |
ただし、リポジトリからのプロジェクト取得でエラーが発生した場合でもビルドが |
| 68 |
継続し、問題なくビルド終了したように見えるという問題があるため、現時点で |
| 69 |
この機能を使用することは推奨されません。 |
| 70 |
|
| 71 |
-buildIdの設定 |
| 72 |
build/build.propertiesでbuildIdを設定します。 |
| 73 |
例) |
| 74 |
buildType=I |
| 75 |
buildId=200905112240 |
| 76 |
|