Skip to content

Commit

Permalink
Fixed iCal app.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemmermann committed Sep 25, 2019
1 parent 134b795 commit 196d34b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CalendarFXWeather/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
requires com.calendarfx.view;
requires org.kordamp.ikonli.javafx;
requires org.kordamp.ikonli.weathericons;

exports com.calendarfx.app;
}
6 changes: 0 additions & 6 deletions CalendarFXiCal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@
<version>11.6.4</version>
</dependency>

<dependency>
<groupId>org.controlsfx</groupId>
<artifactId>openjfx-dialogs</artifactId>
<version>1.0.3</version>
</dependency>

<dependency>
<groupId>org.mnode.ical4j</groupId>
<artifactId>ical4j</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import javafx.stage.Modality;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
import net.fortuna.ical4j.util.MapTimeZoneCache;
import org.controlsfx.dialog.ProgressDialog;

import java.time.LocalDate;
Expand All @@ -54,6 +55,7 @@ public void start(Stage primaryStage) {

System.setProperty("ical4j.unfolding.relaxed", "true");
System.setProperty("ical4j.parsing.relaxed", "true");
System.setProperty("net.fortuna.ical4j.timezone.cache.impl", MapTimeZoneCache.class.getName());

CalendarView calendarView = new CalendarView();
calendarView.setToday(LocalDate.now());
Expand Down
4 changes: 4 additions & 0 deletions CalendarFXiCal/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@
requires java.logging;
requires com.calendarfx.view;
requires org.mnode.ical4j.core;

exports com.calendarfx.ical;
exports com.calendarfx.ical.model;
exports com.calendarfx.ical.view;
}

0 comments on commit 196d34b

Please sign in to comment.