メインコンテンツまでスキップ
バージョン: 次へ

バージョン管理キー

これらのキーは、ビルドされるアプリケーションのバージョン番号とファイル情報を定義します。これらは <Versioning> ノードの下の、以下のいずれかのサブノードに配置されます:

サブノードキーのプレフィックス対象省略時のデフォルト値
<Common>Commonビルドされるすべてのアプリケーション4D アプリケーションの値
<RuntimeVL>RuntimeVLシングルユーザーアプリケーション (4D Volume Desktop)Common... キー、次に 4D Volume Desktop の値
<Client>Clientクライアントアプリケーション (4D Volume Desktop)Common... キー、次に 4D Volume Desktop の値
<Server>Serverサーバーアプリケーション (4D Server)Common... キー、次に 4D Server の値

各サブノードは同じ 10個のキーを受け付け、キー名は プレフィックス + 情報 の形式です (例: CommonVersion、ClientVersion、ServerVersion、RuntimeVLVersion)。特定のキーと、対応する Common... キーの両方が定義されている場合は、特定のキーが使用されます。

<Preferences4D>
<BuildApp>
<Versioning>
<Common>
<CommonVersion>1.0.5</CommonVersion>
<CommonCopyright>© 2026 My Company</CommonCopyright>
<CommonCompanyName>My Company</CommonCompanyName>
</Common>
<Server>
<ServerFileDescription>My Application Server</ServerFileDescription>
</Server>
</Versioning>
</BuildApp>
</Preferences4D>

キー​

情報キープラットフォーム値更新されるフィールド
VersionCommonVersion, RuntimeVLVersion, ClientVersion, ServerVersionWindows, macOSバージョン番号 (x.x.x)Windows: 製品バージョン
macOS: info.plist 内の CFBundleShortVersionString および CFBundleVersion
CopyrightCommonCopyright, RuntimeVLCopyright, ClientCopyright, ServerCopyrightWindows, macOSテキストWindows: 著作権
macOS: info.plist 内の NSHumanReadableCopyright
CreatorCommonCreator, RuntimeVLCreator, ClientCreator, ServerCreatormacOS最大 4文字アプリケーションのクリエーターコード
CommentCommonComment, RuntimeVLComment, ClientComment, ServerCommentWindows最大 31文字コメント
CompanyNameCommonCompanyName, RuntimeVLCompanyName, ClientCompanyName, ServerCompanyNameWindows最大 31文字会社名
FileDescriptionCommonFileDescription, RuntimeVLFileDescription, ClientFileDescription, ServerFileDescriptionWindows最大 31文字ファイルの説明
InternalNameCommonInternalName, RuntimeVLInternalName, ClientInternalName, ServerInternalNameWindows最大 31文字内部名
LegalTrademarkCommonLegalTrademark, RuntimeVLLegalTrademark, ClientLegalTrademark, ServerLegalTrademarkWindows最大 31文字商標
PrivateBuildCommonPrivateBuild, RuntimeVLPrivateBuild, ClientPrivateBuild, ServerPrivateBuildWindows最大 31文字プライベートビルド
SpecialBuildCommonSpecialBuild, RuntimeVLSpecialBuild, ClientSpecialBuild, ServerSpecialBuildWindows最大 31文字スペシャルビルド

Windows では、更新されたフィールドはアプリケーションファイルの プロパティ ウィンドウに表示されます。一方のプラットフォームにのみ適用されるキーは、もう一方のプラットフォームでは無視されます。

macOS の info.plist ファイルについては、生成されるファイル も参照してください。