Benjamin, thanks for your help.
I use Spring Configurator for database settings. It works very well.
I decided to put my Printers.xml file in context, that is in my block/
application webapp. My client can add his custom Printers.xml to the
application webapp after installation. Printers.xml is outside jar, so
my client can modify it easily at any time.
In my sitemap I refer to Printers.xml file like this:
<map:generate src="context://Printers.xml"/>
<map:read mime-type="text/xml" src="context://Printers.xml"/>
It works both in jetty and tomcat.
Barbara
On 6 Jul, 2009, at 4:56 pm, Benjamin Boksa wrote:
Hi Barbara,
The new cocoon-2.2.0 application is sending jms requests - this
works ok. Now I need to add printers. Of course I could put the
printers into the database but I prefer to stay with xml file.
take a look at the Spring Configurator, you could easily use it to
provide the configuration path to your application or even use it to
do the complete printer configuration.
Hope that helps
Benjamin
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]