Hi, mark; thanks fo your response. To answer your question: I want to use the MySQL drivers for development, but the final production application shall run with MS sqlserver.
So from your remark what shall i conclude ? I have to add a class loader of my own ? no, probably not. cocoon will provide one ... hmm. just place the driver anywhere into my own block ? Shall i create a lib submenu under src/main/resources/WEB-INF/lib right within my block sources ? And maven would sort out where to put it and cocoon will grab from where maven has put it ? That would make sense to me ... But probably the truth is different ;-) So which options do i have ? regards, hussayn Mark Lundquist-3 wrote: > > > On Oct 28, 2008, at 9:57 AM, hussayn wrote: > >> - concerning the driver i read in the docs: >> >> "In order to load driver class create file databases- >> drivers.properties >> in META-INF/cocoon/properties with following contents: ..." >> >> ok, this is self explaining. But where do i actually place the >> driver ? >> cocon doesn't scan my entire file system to find a jar file which >> contains >> the driver, no ? > > Well yes, it sort of does. I mean, not that Cocoon has its own > special code to do that, but this is what a classloader does, isn't > it? :-) > > What driver are you going to use? > > cheers, > —ml— > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-configure-the-cocoon-2.2-database-block---tp20211363p20217783.html Sent from the Cocoon - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]