30日間の無料評価版をお試しいただけます。

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
top
top

...

概要

Styleclass
ClasstopLink

topページトップ

The .jar installer is a java archive file. This is essentially a zip-compatible file, with some special properties. The Java Development Kit comes with a command-line tool for creating and extracting these files, called jar (jar.exe on Windows).

Customising the Yellowfin installer involves adding certain files to the installer. To do this, you should extract the installer, add the files in the correct location in the installer's file structure, and then re-create the jar archive.

.jarインストーラーはJavaアーカイブファイルです。これは基本的には一部の特別なプロパティを備えた、zipと互換性のあるファイルです。Java Development Kitにはjar(Windows上ではjar.exe)と呼ばれるこれらのファイルを作成および解凍するためのコマンドラインツールが付属しています。

Yellowfinインストーラーをカスタマイズするには特定のファイルをインストーラーに追加する必要があります。これを実行するために、インストーラーを解凍し、ファイルをインストーラーのファイル構造内の適切な場所に追加して、jarアーカイブを作成し直す必要があります。

インストーラーアーカイブを解凍するには次の手順を実行します。To extract the installer archive:

Code Block
none
none
jar xvf /path/to/yellowfin-yyyymmdd-full.jar

This will create the expanded file structure of the installer archive in the current directory. You should not modify any of the extracted files. Add any files you need to in the correct location under this directory. The custom properties file must be named custom.properties, and must be in the top-level directory. Any other files referenced as resources in the custom properties file will be specified using a path relative to this directory. After any additional files are added, re-create the archive:これにより、現在のディレクトリにインストーラーアーカイブの拡張ファイル構造が作成されます。解凍されたファイルはどれも変更する必要はありません。このディレクトリの下の適切な場所に必要なファイルを追加します。カスタムプロパティファイルはcustom.propertiesという名前にし、トップレベルのディレクトリに配置する必要があります。カスタムプロパティファイル内のリソースとして参照されるその他のファイルは、このディレクトリへの相対パスを使用して指定されます。ファイルを追加した後、アーカイブを作成し直します。

Code Block
none
none
jar cvmf META-INF/MANIFEST.MF /path/to/yellowfin-modified.jar .

The Windows executable installer file cannot be modified in this way. To create a modified Windows installer, first create a modified .jar installer as above, then use Launch4J to convert it to an executable file. See: Windows用の実行可能インストーラーファイルはこの方法では変更できません。変更されたWindowsインストーラーを作成するには、最初に前述のとおり変更された.jarインストーラーを作成し、その後、Launch4Jを使用してそれを実行可能ファイルに変換します。参照: http://launch4j.sourceforge.net/Image Removed

horizontalrule
Styleclass
ClasstopLink

topページトップ