cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mac Schwarz <mcsch...@phil.uni-erlangen.de>
Subject Re: What is the repository?
Date Mon, 14 Aug 2000 10:01:07 GMT
Søren Neigaard wrote:
> 
> What is the repository, and where is it located?
> 
> Med venlig hilsen/Best regards

First the CVS source tree of the xml.apache.org and jakarta.apache.org
projects are held in a 'repository. You can learn more about CVS at
<URL:http://www.cvshome.org/>.

If you need e.g. the latest cocoon code to build a cocoon.jar with the
newest features just install CVS and follow the instructions at

<URL:http://xml.apache.org/cvs.html>

Then there's a cocoon 'repository' for storing the compiled XSP pages.
Have a look at the section 'XSP Processor' of the cocoon.properties
file:

# sets the repository where the compiled pages are stored.
# NOTE: make sure the directory is readable. This directory is usually
# relative to the web server's or to the servlet engine's. In case
you're not
# sure, use an absolute location.
# WARNING: since this repository may contain information you want to
remain
# secret, we highly suggest that you protect the repository from
untrusted
# access, even read-only. Only Cocoon and the system administrators
should
# have access here.
processor.xsp.repository = ./repository  

You should set the path above to match your installation. After
accessing a XSP page you'll find the java and class files of the page in
the repository, e.g.

repository/_opt/_tomcat/_webapps/_samples/_xsp/_view_source.class
and 
repository/_opt/_tomcat/_webapps/_samples/_xsp/_view_source.java

The page will load faster for subsequent accesses now until the XSP page
changes.

HTH
	mac


-- 
Mac Schwarz / AERIA Projekt / Inst. f. Klassische Archaeologie
e-mail: mac@aeria.phil.uni-erlangen.de  / Tel.: 09131-85-24791
 FAU Erlangen-Nuernberg   /   Kochstr.4   /   91054 Erlangen
  <http://www.phil.uni-erlangen.de/~p1altar/aeriahome.html>

Mime
View raw message