|
Hi all
I am the author of the iCalendar plugin 0.2.1 (http://grails.org/plugin/ic-alendar) and have just noticed that the plugin is not packed into war when I run grails war on a Grails project.
Currently the plugin is (due to a misconfiguration) only working on Grails 1.1.1 but the behaviour is also reproducible on a unreleased version 0.2.2 of the plugin and Grails 1.2.x. Here you find the one controller which uses the ic-calendar plugin.
class CalendarController { def index = { def from = '11.11.2011 14:00'
def to = '11.11.2011 16:00' render(contentType: 'text/calendar') { calendar {
events { event(start: Date.parse('dd.MM.yyyy HH:mm', "${from}"),
end: Date.parse('dd.MM.yyyy HH:mm', "${to}"), description: 'description',
summary: 'summary', location: 'location')
} } }
} } To reproduce you need to do the follwing steps:
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?
Best regards Silvio |
|
Hello Silvio,
Do you find the fix for this ? I'm getting the same behavior and really would like to use it. Thx, Denis |
|
Hello Denis
What version of the Plug-in and of Grails do you use? Best regards Silvio
On 13 January 2012 03:09, denisP <[hidden email]> wrote: Hello Silvio, |
|
Hello Silvio,
3.2 for the plugin and 1.3.7 for Grails. Best regards, Denis Le 13 janv. 2012 à 08:49, Silvio Wangler [via Grails] a écrit : Hello Denis |
|
In reply to this post by Silvio Wangler
Silvio, Where is the source for your plugin? The info is not in the portal. A while ago I tried an ical plugin, I think it was yours, and it was hardcoded to use a Swiss locale for the events. It was therefore not usable :) Thanks Marc ~ ~ ~ Marc Palmer Freelancer (Grails/Groovy/Java) Founder @ http://noticelocal.com | Developer @ http://weceem.org Member @ http://spottymushroom.com | Contributor @ http://grails.org Twitter: http://twitter.com/wangjammer5 | Resumé: http://www.anyware.co.uk/marc/ Blog: http://www.anyware.co.uk | Grails Rocks: http://www.grailsrocks.com --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Hello Marc
Where is the source for your plugin? The info is not in the portal. Good catch. I have updated all missing information (JIRA and SCM link). You find it using this link A while ago I tried an ical plugin, I think it was yours, and it was hardcoded to use a Swiss locale for the events. It was therefore not usable :) Well if this is the case the implementation is indeed not very clever and I like to fix it. Could you raise an issue for this ? Best regards Silvio
|
| Powered by Nabble | Edit this page |
