Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

svn commit: r532494 - in /lenya/trunk/src: modules-core/ac/java/src/org/apa: msg#00185

cms.lenya.cvs

Subject: svn commit: r532494 - in /lenya/trunk/src: modules-core/ac/java/src/org/apache/lenya/cms/ac/ modules/lucene/ pubs/blog/ pubs/default/config/ pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/

Author: nettings
Date: Wed Apr 25 14:48:44 2007
New Revision: 532494

URL: http://svn.apache.org/viewvc?view=rev&rev=532494
Log:
finish renaming from ac/ac.xconf to
access-controller/access-controller.xml
patch by richard frovarp, thanks!

Modified:

lenya/trunk/src/modules-core/ac/java/src/org/apache/lenya/cms/ac/PublicationAccessControllerResolver.java
lenya/trunk/src/modules/lucene/README.txt
lenya/trunk/src/pubs/blog/README.txt
lenya/trunk/src/pubs/default/config/publication.xconf

lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java

Modified:
lenya/trunk/src/modules-core/ac/java/src/org/apache/lenya/cms/ac/PublicationAccessControllerResolver.java
URL:
http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/ac/java/src/org/apache/lenya/cms/ac/PublicationAccessControllerResolver.java?view=diff&rev=532494&r1=532493&r2=532494
==============================================================================
---
lenya/trunk/src/modules-core/ac/java/src/org/apache/lenya/cms/ac/PublicationAccessControllerResolver.java
(original)
+++
lenya/trunk/src/modules-core/ac/java/src/org/apache/lenya/cms/ac/PublicationAccessControllerResolver.java
Wed Apr 25 14:48:44 2007
@@ -41,7 +41,7 @@
import org.apache.lenya.cms.publication.URLInformation;

/**
- * Resolves the access controller according to the <code>ac.xconf</code> file
of a publication.
+ * Resolves the access controller according to the
<code>access-control.xml</code> file of a publication.
*/
public class PublicationAccessControllerResolver extends
AbstractAccessControllerResolver implements
Initializable {

Modified: lenya/trunk/src/modules/lucene/README.txt
URL:
http://svn.apache.org/viewvc/lenya/trunk/src/modules/lucene/README.txt?view=diff&rev=532494&r1=532493&r2=532494
==============================================================================
--- lenya/trunk/src/modules/lucene/README.txt (original)
+++ lenya/trunk/src/modules/lucene/README.txt Wed Apr 25 14:48:44 2007
@@ -6,7 +6,7 @@
Configuration
-------------

- Each publication has a configuration at PUB/config/lucene_index.xconf which
is being defined
+ Each publication has a configuration at PUB/config/search/lucene_index.xconf
which is being defined
by
java/src/org/apache/cocoon/components/search/components/impl/IndexManagerImpl.java



Modified: lenya/trunk/src/pubs/blog/README.txt
URL:
http://svn.apache.org/viewvc/lenya/trunk/src/pubs/blog/README.txt?view=diff&rev=532494&r1=532493&r2=532494
==============================================================================
--- lenya/trunk/src/pubs/blog/README.txt (original)
+++ lenya/trunk/src/pubs/blog/README.txt Wed Apr 25 14:48:44 2007
@@ -3,7 +3,7 @@
Changing the Publication Prefix "blog"
======================================

- - config/ac/ac.xconf
+ - config/access-control/access-control.xml
- xslt/global.xsl (CSS)

QUESTION: Is publication templating also possible for the blog publication?

Modified: lenya/trunk/src/pubs/default/config/publication.xconf
URL:
http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/config/publication.xconf?view=diff&rev=532494&r1=532493&r2=532494
==============================================================================
--- lenya/trunk/src/pubs/default/config/publication.xconf (original)
+++ lenya/trunk/src/pubs/default/config/publication.xconf Wed Apr 25 14:48:44
2007
@@ -89,7 +89,7 @@
-->

<!-- You can specify a custom location for your content, outside the Lenya
build tree. Note that you will probably also want
- to specify custom locations for access control (see ac/ac.xconf), so
that all your dynamically generated data is in one place
+ to specify custom locations for access control (see
access-control/access-control.xml), so that all your dynamically generated data
is in one place
for easy backup. -->
<!--
Relative to webapp context:

Modified:
lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
URL:
http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java?view=diff&rev=532494&r1=532493&r2=532494
==============================================================================
---
lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
(original)
+++
lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
Wed Apr 25 14:48:44 2007
@@ -61,7 +61,8 @@

protected static final String[] sourcesToCopy = {
"config/publication.xconf",
- "config/ac/ac.xconf", "config/ac/policies/",
"config/ac/usecase-policies.xml",
+ "config/access-control/access-control.xml",
"config/access-control/policies/",
+ "config/access-control/usecase-policies.xml",
"config/workflow/workflow.xml",
"config/" +
org.apache.cocoon.components.search.components.impl.IndexManagerImpl.INDEX_CONF_FILE};

@@ -214,7 +215,7 @@
String indexDir = "lenya/pubs/" + newPublicationId +
"/work/lucene/index";

indexSource = (ModifiableSource)
resolver.resolveURI(publicationsUri + "/"
- + newPublicationId + "/config/lucene_index.xconf");
+ + newPublicationId + "/config/search/lucene_index.xconf");
Document indexDoc =
DocumentHelper.readDocument(indexSource.getInputStream());
Element[] indexElement =
DocumentHelper.getChildren(indexDoc.getDocumentElement(), null, "index");


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation