設定ファイルの編集¶
「intra-mart Accel Platform セットアップガイド」に記載された手順の「WARファイルの作成」における「intra-mart Accel Platform の設定ファイル」で、下記の設定作業を行う必要があります。
conf/gsol-ical-config/gsol-ical-config.xml¶
スケジュールの出力設定を行います。下記手順に従い設定ファイルを作成してください。
- ProjectNavigator内のプロジェクトの <conf> フォルダを右クリックし、メニューから[新規]→[フォルダ]を選択します
- フォルダ名に「gsol-ical-config」を入力し、[終了]ボタンをクリックします
- 作成された <conf/gsol-ical-config> フォルダを右クリックし、メニューから[新規]→[ファイル]を選択します
- ファイル名に「gsol-ical-config.xml」を入力し、[終了]ボタンをクリックすると、空のファイルが開かれます
- 開かれた <conf/gsol-ical-config/gsol-ical-config.xml> に下記設定例を入力します
- 設定ファイルリファレンスの スケジュール出力設定 を参考に適宜、設定値を変更してください
設定例
<?xml version="1.0" encoding="UTF-8"?> <gsol-ical-config xmlns="http://global-solutions.co.jp/ical/config/general" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://global-solutions.co.jp/ical/config/general ../schema/gsol-ical-config.xsd "> <webserver-root-directory>icsファイル出力先</webserver-root-directory> <prod-id>"-//Global Solutions Co., Ltd.//iAC Calendar/EN"</prod-id> <calendar-name-template>{userCd} @ iAC Calendar</calendar-name-template> <auto-mkdir>true</auto-mkdir> <auto-recovery-file>false</auto-recovery-file> <ics-start-month>-1</ics-start-month> <ics-end-month>13</ics-end-month> </gsol-ical-config>
警告
<webserver-root-directory>もしくは、<document-directory>は、最低限設定する必要があります