Menambahkan & Mengkonfigurasi Calendar Suites Baru

Ketika pertama kali mencoba menambahkan calendar suite, saya menemukan error seperti dibawah, setelah mencari tahu, sepertinya ada kesalahan pada build.properties bawaan bedework 3.8, seperti diisyaratkan pada diskusi di [2]. 

build.propertis default atau bawaan dari bedework 3.8 adalah sebagai berikut : 

#
# build.properties
#
# Configure the location of various properties
#

compile.debug=yes org.bedework.configurations.home=${env.BEDEWORK_CONFIGS_HOME} org.bedework.configuration.defaults=${org.bedework.configurations.home}/.defaults org.bedework.configuration.versions=${org.bedework.configuration.defaults}/versions.properties org.bedework.activemq.configurations=${org.bedework.configuration.defaults} org.bedework.config.home=${env.BEDEWORK_CONFIG} # This file will be included first. Any properties set here will override those # in the default properties file. org.bedework.config.override.properties=${env.BEDEWORK_CONFIG}/cal.properties # This is the default properties file included after the one above. org.bedework.config.properties=${org.bedework.configuration.defaults}/cal.properties org.bedework.config.options=${org.bedework.configuration.defaults}/cal.options.xml org.bedework.config.sysevents.properties=${org.bedework.configuration.defaults}/sysevents.properties # Where we deploy the logging config from org.bedework.config.logging=${org.bedework.configuration.defaults}/log4j.xml

Dari file diatas, dapat kita lihat, ant akan membaca file cal.options.xml yang berada
di direktori .default bukan yang berada di direktori konfigurasi custom yang  yang sudah kita buat. 

Jadi untuk memperbaikinya, tinggal ganti baris tersebut dengan baris berikut : 

org.bedework.config.options=${env.BEDEWORK_CONFIG}/cal.options.xml


Error

........
BUILD SUCCESSFUL
Total time: 19 seconds
     [echo] * =========== Building bedework main project
     [echo] * =========== Building war caladmin
     [echo] * =========== Building war eventsubmit
     [echo] * =========== Building war cal
     [echo] * =========== Building war feeder

BUILD FAILED
/home/wildan/jobstuff/Software/Jasig/Bedework/quickstart-3.8/bedework/build/quickstart/build.xml:192: The following error occurred while executing this line:
/home/wildan/jobstuff/Software/Jasig/Bedework/quickstart-3.8/bedework/build.xml:96: The following error occurred while executing this line:
/home/wildan/jobstuff/Software/Jasig/Bedework/quickstart-3.8/bedework/deployment/build.xml:160: The following error occurred while executing this line:
/home/wildan/jobstuff/Software/Jasig/Bedework/quickstart-3.8/bedework/deployment/build.xml:243: The following error occurred while executing this line:
/home/wildan/jobstuff/Software/Jasig/Bedework/quickstart-3.8/bedework/deployment/build.xml:255: Property 'bedework-options.org.bedework.app.SekJen.appType' is not defined.

Referensi

  1. Add and Configure Additional Calendar Suites, https://wiki.jasig.org/display/BWK38/Add+and+Configure+Additional+Calendar+Suites
  2. Adding a new calendar, https://lists.wisc.edu/read/messages?id=18234584#18234584

Comments