cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@infoplanning.com>
Subject Re: Things that Cocoon needs explicitly passed
Date Thu, 07 Dec 2000 16:46:03 GMT
----- Original Message ----- 
From: "Berin Loritsch" <bloritsch@infoplanning.com>
To: <cocoon-dev@xml.apache.org>
Sent: Thursday, December 07, 2000 10:17 AM
Subject: Things that Cocoon needs explicitly passed


> URL configuration file (works with servlet, easy to convert files)
> String classpath
> File WorkDir (needs to be guaranteed writable)
> URL Root (Should this be URL, File, or String?)
> 
> Personally I think it is bad design to determine the root from
> the parent of the cocoon.xconf file.  I want to hide that file
> in WEB-INF for security reasons--and that can't happen right
> now.

I have a version that specifies everything listed here (Root is String),
and works.  Shall I commit it?  It changes the Cocoon constructor,
and the Programming section to use a File for the workDir.

public Cocoon(URL configuraitonFile, String classpath, File workDir, String Root) {}




Mime
View raw message