提供: Bright Pattern Documentation
(Created page with "=== ステップ 2: ファイルをインポートします。 === # '''libs'''フォルダーを右クリックし、'''インポート'''を選択します。<br /><br />...") |
(Created page with "===ステップ 3: Jaspersoft Studioで使用するために、レポートテンプレートライブラリからファイルを追加します。 === #'''参照'''をクリ...") |
||
Line 17: | Line 17: | ||
# '''次へ'''をクリックします。<br /><br />[[File:Libs-Import-File-System.png|450px|thumbnail|center|libs > インポート > ファイルシステム]] | # '''次へ'''をクリックします。<br /><br />[[File:Libs-Import-File-System.png|450px|thumbnail|center|libs > インポート > ファイルシステム]] | ||
− | === | + | ===ステップ 3: Jaspersoft Studioで使用するために、レポートテンプレートライブラリからファイルを追加します。 === |
− | # | + | #'''参照'''をクリックし、先ほどダウンロードと展開したパッケージの''report-template-libs''フォルダーを探します。<br /><br /> |
− | # | + | # ''report-template-libs'' フォルダーを選択し'''OK'''をクリックします。<br /><br /> |
− | # | + | # 以下のファイルを選択します:<br /><br /> |
− | ## '''report-formatter.jar''' ( | + | ## '''report-formatter.jar''' (出力フォーマット用のスクリプトレット機能の提供)<br /><br /> |
− | ## '''mariadb-java-client-1.1.6.jar''' ( | + | ## '''mariadb-java-client-1.1.6.jar''' (データベース接続)<br /><br /> |
− | ## '''icu4j-4.8.1.jar''' ( | + | ## '''icu4j-4.8.1.jar''' (Unicodeとローカリゼーションサポート)<br /><br /> |
− | ## '''report-fonts.jar''' ( | + | ## '''report-fonts.jar''' (Unicodeフォント)<br /><br /> |
− | # | + | # '''終了'''をクリックします。<br /><br />[[File:Import-File-System-Finish.png|650px|thumbnail|center|Libs > インポート > ファイルシステム > report-template-libs]] |
=== Step 4: Build paths to the files within the project folder === | === Step 4: Build paths to the files within the project folder === |
Revision as of 15:02, 12 November 2019
• English
ライブラリのインポート
ライブラリとローカリゼーションリソースをダウンロードしたら、次はライブラリをインポートします。
Jaspersoft Studioをコンピューターにインストールしたばかりの場合、ワークスペースのプロジェクトエクスプローラータブにフォルダーやプロジェクトが含まれていない可能性があります。その場合、次のステップへ進む前に、マイ・レポートという新しいフォルダーを追加しなければなりません。
手順
ステップ 1: マイ・レポートプロジェクトにライブラリを追加します。
- Jaspersoft Studioで画面の左側にあるプロジェクト タブに移動します。
- マイ・レポートを選択します。
- マイ・レポートを右クリックし、新規 > フォルダーを選択します。
- 表示されるダイヤログボックスでは、マイ・レポートという親フォルダーを選択し、新しいフォルダーにlibsという名前をつけます。このフォルダーにはライブラリが保管されます 。
- 終了をクリックします。
ステップ 2: ファイルをインポートします。
- libsフォルダーを右クリックし、インポートを選択します。
- 表示されるダイヤログウィンドウでは、ファイルシステムを選択します。
- 次へをクリックします。
ステップ 3: Jaspersoft Studioで使用するために、レポートテンプレートライブラリからファイルを追加します。
- 参照をクリックし、先ほどダウンロードと展開したパッケージのreport-template-libsフォルダーを探します。
- report-template-libs フォルダーを選択しOKをクリックします。
- 以下のファイルを選択します:
- report-formatter.jar (出力フォーマット用のスクリプトレット機能の提供)
- mariadb-java-client-1.1.6.jar (データベース接続)
- icu4j-4.8.1.jar (Unicodeとローカリゼーションサポート)
- report-fonts.jar (Unicodeフォント)
- report-formatter.jar (出力フォーマット用のスクリプトレット機能の提供)
- 終了をクリックします。
Step 4: Build paths to the files within the project folder
- Select these .jar files in the Project Explorer. You can select all four as a batch.
- Right-click the selection and then select Build Path > Add to Build Path. Doing so will add a path for each .jar file to the root folder of the project.
Step 5: Add remaining report-template-libs files to the project
Add the files report_logo_bar.png and report_logo.png to the root folder of the project by following step 2 and step 3 of this procedure. Instead of selecting the .jar files, select the .png files from the report-template-libs folder.