Calendar injection utility to inject the contents of an ICS file into a DBF file to be used by cal 1.04 for DOS
git clone https://github.com/cml37/cal-inject.gitcd cal-injectgradlew shadowJar
- You can optionally configure the following configuration options:
- Edit
cal-inject-prefs.ymlto point to yourdatabaseFileName - Edit
cal-inject-prefs.ymlto set awatchPathBase - Edit
cal-inject-prefs.ymlto set therecurringEventNumberOfYearswhich specifies how many years of recurring events will be created for recurring events without an end date
- Edit
- Run
java -jar -Dlog4j.configuration=file:"src/main/java/log4j.properties" build\libs\cal-inject-all.jar - Copy
samples\sample.icsto the "input" directory under yourwatchBasePath(i.e., the default iswatched\input) - The file
sample.icsshould move to the "processing" directory under yourwatchBasePathand start to process - The file
sample.icsshould move to the "output" directory under yourwatchBasePath - From there, you can open the
databaseFileNamein a program such as DBF Viewer 2000 and see the added rows from the sample.ics file! - The application will continue to watch for additional "input" files until terminated
- Better error handling (i.e. should we re-attempt processing files stuck in
processing?) - Make some decisioning on how we handle recurring events.
- We are not taking advantage of the recurrence for cal for DOS, but instead are setting recurring dates as static dates