[Zope3-dev] Re: Third party application configuration
Garrett Smith
garrett at mojave-corp.com
Sat May 29 14:34:10 EDT 2004
Garrett Smith wrote:
> Our application needs some configuration settings, specifically a path
> to a Java VM and some Java library paths.
>
> Is there a way to tap into Zope's 'zope.conf' machinery? I.e. it would
> be very nice to override our app settings via the command line when
> starting Zope.
On a related note, we're using Lucene as our full text indexer (thus the
need for the JVM info) and want to store all of the application 'data'
in a single directory structure, which will include the zodb files.
Ideally, I'd like to see something like this for our zope.conf:
datadir <path to data dir>
...
<zodb>
<filestorage>
path $datadir/db.fs
</filestorage>
</zodb>
...
<java>
jvm <path to JVM program>
libdir <path to our Java libs>
</java>
<textindex>
path $datadir/text
</textindex>
Is this approach going to require a hack to the zope server main module,
or are there hooks available?
-- Garrett
More information about the Zope3-dev
mailing list