提供: Bright Pattern Documentation
移動先: 案内検索
(Created page with "Jaspersoft Studioをコンピューターにインストールしたばかりの場合、ワークスペースの''プロジェクトエクスプローラー''タブにフォ...")
(Created page with "== 手順 == === ステップ 1: ''マイ・レポート''プロジェクトにライブラリを追加します。=== # Jaspersoft Studioで画面の左側にある''プロ...")
Line 4: Line 4:
 
Jaspersoft Studioをコンピューターにインストールしたばかりの場合、ワークスペースの''プロジェクトエクスプローラー''タブにフォルダーやプロジェクトが含まれていない可能性があります。その場合、次のステップへ進む前に、''MyReports''という新しいフォルダーを追加しなければなりません。
 
Jaspersoft Studioをコンピューターにインストールしたばかりの場合、ワークスペースの''プロジェクトエクスプローラー''タブにフォルダーやプロジェクトが含まれていない可能性があります。その場合、次のステップへ進む前に、''MyReports''という新しいフォルダーを追加しなければなりません。
  
== Procedure ==
+
== 手順 ==
=== Step 1: Add libraries to ''MyReports'' project ===  
+
=== ステップ 1: ''マイ・レポート''プロジェクトにライブラリを追加します。===  
# In Jaspersoft Studio, navigate to the ''Project'' tab in the left-hand part of the screen.<br /><br />
+
# Jaspersoft Studioで画面の左側にある''プロジェクト'' タブに移動します。<br /><br />
# Select '''MyReports'''.<br /><br />
+
# '''マイ・レポート'''を選択します。<br /><br />
# Right-click '''MyReports''' and then select '''New > Folder'''.<br /><br />[[File:Jaspersoft-MyProjects-New-Folder.png|650px|thumbnail|center|How to create a new folder]]<br /><br />
+
# '''マイ・レポート'''を右クリックし、'''新規 > フォルダー'''を選択します。<br /><br />[[File:Jaspersoft-MyProjects-New-Folder.png|650px|thumbnail|center|新しいフォルダーの作成方法]]<br /><br />
# In the dialog box that pops up, select parent folder '''MyReports''' and name the new folder ''libs''. This is the folder that will contain your libraries.<br /><br />
+
# 表示されるダイヤログボックスでは、'''マイ・レポート'''という親フォルダーを選択し、新しいフォルダーに''libs''という名前をつけます。このフォルダーにはライブラリが保管されます 。<br /><br />
# Click '''Finish'''.<br /><br />[[File:Name-New-Folder.png|650px|thumbnail|center|Project > MyReports > New > Folder]]
+
# '''終了'''をクリックします。<br /><br />[[File:Name-New-Folder.png|650px|thumbnail|center|プロジェクト > マイ・レポート > 新規 > フォルダー]]
  
 
=== Step 2: Import files ===
 
=== Step 2: Import files ===

Revision as of 14:52, 12 November 2019

• English
• 5.19 • 5.3 • 5.8

ライブラリのインポート

ライブラリとローカリゼーションリソースをダウンロードしたら、次はライブラリをインポートします。

Jaspersoft Studioをコンピューターにインストールしたばかりの場合、ワークスペースのプロジェクトエクスプローラータブにフォルダーやプロジェクトが含まれていない可能性があります。その場合、次のステップへ進む前に、MyReportsという新しいフォルダーを追加しなければなりません。

手順

ステップ 1: マイ・レポートプロジェクトにライブラリを追加します。

  1. Jaspersoft Studioで画面の左側にあるプロジェクト タブに移動します。

  2. マイ・レポートを選択します。

  3. マイ・レポートを右クリックし、新規 > フォルダーを選択します。

    新しいフォルダーの作成方法


  4. 表示されるダイヤログボックスでは、マイ・レポートという親フォルダーを選択し、新しいフォルダーにlibsという名前をつけます。このフォルダーにはライブラリが保管されます 。

  5. 終了をクリックします。

    プロジェクト > マイ・レポート > 新規 > フォルダー

Step 2: Import files

  1. Right-click the libs folder and select Import.

    libs > Import


  2. In the dialog window that pops up, select File System.

  3. Click Next.

    libs > Import > File System

Step 3: Add files from the report template library for use in Jaspersoft Studio

  1. Click Browse to find the report-template-libs folder of the package that you previously downloaded and extracted.

  2. Select the report-template-libs folder and click OK.

  3. Select these files:

    1. report-formatter.jar (to provide scriplet functions for output formatting)

    2. mariadb-java-client-1.1.6.jar (for database connection)

    3. icu4j-4.8.1.jar (for Unicode and localization support)

    4. report-fonts.jar (for Unicode fonts)

  4. Click Finish.

    Libs > Import > File System > report-template-libs

Step 4: Build paths to the files within the project folder

  1. Select these .jar files in the Project Explorer. You can select all four as a batch.

  2. 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.

    Build Path > Add to Build Path

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.

< 前へ | 次へ >