Install the iCalendar plugin using grails install-plugin ic-alendar
Create a controller called Calendar and paste the code from above into the newly created CalendarController.groovy
Start grails run-app and navigate to the controller. You should get a .ics file
Stop the app.
Run grails clean
Run grails war
The funny part is that as long the plugin runs within Grails (e.g. grails run-app) everything works fine. But if I pack the application into a WAR Grails seems to ignore almost everything except the /src directory. Means it does not include the lib and the grails-app directories. Can anyone help me on this one? Is it because of the plugins name ic-alender that the resources get ignored?