You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2009/02/10 19:22:34 UTC
svn commit: r743041 [1/9] - in /lenya/trunk: org.apache.lenya.core.api/
org.apache.lenya.core.api/src/main/java/org/apache/lenya/cms/publication/
org.apache.lenya.core.api/src/test/
org.apache.lenya.core.api/src/test/java/ org.apache.lenya.core.api/src...
Author: andreas
Date: Tue Feb 10 18:22:23 2009
New Revision: 743041
URL: http://svn.apache.org/viewvc?rev=743041&view=rev
Log:
Resolving some test dependencies.
Added:
lenya/trunk/org.apache.lenya.core.api/src/test/
lenya/trunk/org.apache.lenya.core.api/src/test/java/
lenya/trunk/org.apache.lenya.core.api/src/test/java/org/
lenya/trunk/org.apache.lenya.core.api/src/test/java/org/apache/
lenya/trunk/org.apache.lenya.core.api/src/test/java/org/apache/lenya/
lenya/trunk/org.apache.lenya.core.api/src/test/java/org/apache/lenya/cms/
lenya/trunk/org.apache.lenya.core.api/src/test/java/org/apache/lenya/cms/AbstractAccessControlTest.java
lenya/trunk/org.apache.lenya.core.api/src/test/java/org/apache/lenya/cms/AbstractLenyaTestCase.java
lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/cocoon/source/LenyaDocSourceFactory.java
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/org/apache/lenya/cms/metadata/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/org/apache/lenya/cms/metadata/MetaDataTest.spring.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/org/apache/lenya/cms/metadata/MetaDataTest.xtest
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/org/apache/lenya/cms/publication/DocumentManagerTest.xtest
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/access-control.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/admin.gml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/admin.rml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/alice.iml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/cifs.properties.sample
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/edit.rml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/editor.gml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/ldap.properties.sample
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/lenya.iml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/localhost.ipml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/review.rml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/reviewer.gml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/session.rml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/sitemanager.gml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/sitemanager.rml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/visit.rml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/archive/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/archive/subtree-policy.acml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/authoring/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/authoring/subtree-policy.acml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/introduction.html/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/introduction.html/subtree-policy.acml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/live/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/live/subtree-policy.acml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/modules/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/modules/subtree-policy.acml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/trash/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/trash/subtree-policy.acml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/url-policy.acml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/webdav/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/webdav/index/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/webdav/index/url-policy.acml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/webdav/subtree-policy.acml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/usecase-policies.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/menu.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/publication.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/search/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/search/lucene_index.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/workflow/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/workflow/workflow.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.1234272096102.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096102.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.1234272096119.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096119.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/de.1234272096082.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096082.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/de.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/en.1234272096152.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096152.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/en.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc719ea0-f775-11dd-baf5-ec0f263a3b87/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc719ea0-f775-11dd-baf5-ec0f263a3b87/de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc719ea0-f775-11dd-baf5-ec0f263a3b87/de.1234272096105.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc719ea0-f775-11dd-baf5-ec0f263a3b87/de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc719ea0-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096105.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc719ea0-f775-11dd-baf5-ec0f263a3b87/de.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc719ea0-f775-11dd-baf5-ec0f263a3b87/en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc719ea0-f775-11dd-baf5-ec0f263a3b87/en.1234272096108.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc719ea0-f775-11dd-baf5-ec0f263a3b87/en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc719ea0-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096108.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc719ea0-f775-11dd-baf5-ec0f263a3b87/en.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc72b010-f775-11dd-baf5-ec0f263a3b87/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc72b010-f775-11dd-baf5-ec0f263a3b87/de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc72b010-f775-11dd-baf5-ec0f263a3b87/de.1234272096112.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc72b010-f775-11dd-baf5-ec0f263a3b87/de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc72b010-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096112.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc72b010-f775-11dd-baf5-ec0f263a3b87/de.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc72b010-f775-11dd-baf5-ec0f263a3b87/en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc72b010-f775-11dd-baf5-ec0f263a3b87/en.1234272096142.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc72b010-f775-11dd-baf5-ec0f263a3b87/en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc72b010-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096142.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc72b010-f775-11dd-baf5-ec0f263a3b87/en.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc73e890-f775-11dd-baf5-ec0f263a3b87/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc73e890-f775-11dd-baf5-ec0f263a3b87/de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc73e890-f775-11dd-baf5-ec0f263a3b87/de.1234272096149.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc73e890-f775-11dd-baf5-ec0f263a3b87/de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc73e890-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096149.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc73e890-f775-11dd-baf5-ec0f263a3b87/de.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc73e890-f775-11dd-baf5-ec0f263a3b87/en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc73e890-f775-11dd-baf5-ec0f263a3b87/en.1234272096074.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc73e890-f775-11dd-baf5-ec0f263a3b87/en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc73e890-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096074.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc73e890-f775-11dd-baf5-ec0f263a3b87/en.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc752110-f775-11dd-baf5-ec0f263a3b87/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc752110-f775-11dd-baf5-ec0f263a3b87/de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc752110-f775-11dd-baf5-ec0f263a3b87/de.1234272096139.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc752110-f775-11dd-baf5-ec0f263a3b87/de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc752110-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096139.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc752110-f775-11dd-baf5-ec0f263a3b87/de.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc752110-f775-11dd-baf5-ec0f263a3b87/en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc752110-f775-11dd-baf5-ec0f263a3b87/en.1234272096092.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc752110-f775-11dd-baf5-ec0f263a3b87/en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc752110-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096092.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc752110-f775-11dd-baf5-ec0f263a3b87/en.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc765990-f775-11dd-baf5-ec0f263a3b87/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc765990-f775-11dd-baf5-ec0f263a3b87/de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc765990-f775-11dd-baf5-ec0f263a3b87/de.1234272096115.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc765990-f775-11dd-baf5-ec0f263a3b87/de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc765990-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096115.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc765990-f775-11dd-baf5-ec0f263a3b87/de.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc765990-f775-11dd-baf5-ec0f263a3b87/en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc765990-f775-11dd-baf5-ec0f263a3b87/en.1234272096159.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc765990-f775-11dd-baf5-ec0f263a3b87/en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc765990-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096159.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc765990-f775-11dd-baf5-ec0f263a3b87/en.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7743f0-f775-11dd-baf5-ec0f263a3b87/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7743f0-f775-11dd-baf5-ec0f263a3b87/de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7743f0-f775-11dd-baf5-ec0f263a3b87/de.1234272096136.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7743f0-f775-11dd-baf5-ec0f263a3b87/de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7743f0-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096136.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7743f0-f775-11dd-baf5-ec0f263a3b87/de.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7743f0-f775-11dd-baf5-ec0f263a3b87/en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7743f0-f775-11dd-baf5-ec0f263a3b87/en.1234272096132.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7743f0-f775-11dd-baf5-ec0f263a3b87/en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7743f0-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096132.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7743f0-f775-11dd-baf5-ec0f263a3b87/en.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc785560-f775-11dd-baf5-ec0f263a3b87/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc785560-f775-11dd-baf5-ec0f263a3b87/de (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc785560-f775-11dd-baf5-ec0f263a3b87/de.1234272096163.bak (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc785560-f775-11dd-baf5-ec0f263a3b87/de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc785560-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096163.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc785560-f775-11dd-baf5-ec0f263a3b87/de.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc785560-f775-11dd-baf5-ec0f263a3b87/en (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc785560-f775-11dd-baf5-ec0f263a3b87/en.1234272096095.bak (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc785560-f775-11dd-baf5-ec0f263a3b87/en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc785560-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096095.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc785560-f775-11dd-baf5-ec0f263a3b87/en.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7966d0-f775-11dd-baf5-ec0f263a3b87/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7966d0-f775-11dd-baf5-ec0f263a3b87/de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7966d0-f775-11dd-baf5-ec0f263a3b87/de.1234272096078.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7966d0-f775-11dd-baf5-ec0f263a3b87/de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7966d0-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096078.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7966d0-f775-11dd-baf5-ec0f263a3b87/de.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7966d0-f775-11dd-baf5-ec0f263a3b87/en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7966d0-f775-11dd-baf5-ec0f263a3b87/en.1234272096126.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7966d0-f775-11dd-baf5-ec0f263a3b87/en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7966d0-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096126.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7966d0-f775-11dd-baf5-ec0f263a3b87/en.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7a9f50-f775-11dd-baf5-ec0f263a3b87/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7a9f50-f775-11dd-baf5-ec0f263a3b87/de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7a9f50-f775-11dd-baf5-ec0f263a3b87/de.1234272096085.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7a9f50-f775-11dd-baf5-ec0f263a3b87/de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7a9f50-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096085.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7a9f50-f775-11dd-baf5-ec0f263a3b87/de.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7a9f50-f775-11dd-baf5-ec0f263a3b87/en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7a9f50-f775-11dd-baf5-ec0f263a3b87/en.1234272096129.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7a9f50-f775-11dd-baf5-ec0f263a3b87/en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7a9f50-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096129.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7a9f50-f775-11dd-baf5-ec0f263a3b87/en.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7bb0c0-f775-11dd-baf5-ec0f263a3b87/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7bb0c0-f775-11dd-baf5-ec0f263a3b87/de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7bb0c0-f775-11dd-baf5-ec0f263a3b87/de.1234272096122.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7bb0c0-f775-11dd-baf5-ec0f263a3b87/de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7bb0c0-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096122.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7bb0c0-f775-11dd-baf5-ec0f263a3b87/de.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7bb0c0-f775-11dd-baf5-ec0f263a3b87/en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7bb0c0-f775-11dd-baf5-ec0f263a3b87/en.1234272096145.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7bb0c0-f775-11dd-baf5-ec0f263a3b87/en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7bb0c0-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096145.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7bb0c0-f775-11dd-baf5-ec0f263a3b87/en.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7c7410-f775-11dd-baf5-ec0f263a3b87/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7c7410-f775-11dd-baf5-ec0f263a3b87/de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7c7410-f775-11dd-baf5-ec0f263a3b87/de.1234272096099.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7c7410-f775-11dd-baf5-ec0f263a3b87/de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7c7410-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096099.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7c7410-f775-11dd-baf5-ec0f263a3b87/de.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7c7410-f775-11dd-baf5-ec0f263a3b87/en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7c7410-f775-11dd-baf5-ec0f263a3b87/en.1234272096089.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7c7410-f775-11dd-baf5-ec0f263a3b87/en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7c7410-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096089.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc7c7410-f775-11dd-baf5-ec0f263a3b87/en.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/sitetree.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/sitetree.xml.1234272096157.bak
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/sitetree.xml.rcml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/error.xmap
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/concepts/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/concepts/index_de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/concepts/index_de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/concepts/index_en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/concepts/index_en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/cforms/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/cforms/index_de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/cforms/index_de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/cforms/index_en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/cforms/index_en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/index_de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/index_de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/index_en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/index_en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/links/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/links/index_de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/links/index_de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/links/index_en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/links/index_en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/opendocument/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/opendocument/index_de (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/opendocument/index_de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/opendocument/index_en (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/opendocument/index_en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/xhtml-document/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/xhtml-document/index_de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/xhtml-document/index_de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/xhtml-document/index_en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/doctypes/xhtml-document/index_en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/features/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/features/index_de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/features/index_de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/features/index_en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/features/index_en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/index/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/index/index_de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/index/index_de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/index/index_en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/index/index_en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/links/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/links/index_de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/links/index_de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/links/index_en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/links/index_en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/news/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/news/index_de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/news/index_de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/news/index_en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/news/index_en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/news/installed/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/news/installed/index_de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/news/installed/index_de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/news/installed/index_en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/news/installed/index_en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/search/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/search/index_de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/search/index_de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/search/index_en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/search/index_en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/sitetree.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/tutorial/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/tutorial/index_de
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/tutorial/index_de.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/tutorial/index_en
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/example-content/tutorial/index_en.meta
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/java/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/java/src/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/java/src/org/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/java/src/org/apache/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/java/src/org/apache/lenya/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/java/src/org/apache/lenya/defaultpub/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/java/src/org/apache/lenya/defaultpub/cms/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/java/src/org/apache/lenya/defaultpub/cms/publication/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/java/src/org/apache/lenya/defaultpub/cms/publication/templating/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya.properties.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/content/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/content/publishing/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/content/publishing/publish-screen.xsp
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/modules/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/modules/editors/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/modules/editors/usecases/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/modules/editors/usecases/forms/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/modules/editors/usecases/forms/homepage.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/modules/editors/usecases/forms/links.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/modules/editors/usecases/forms/xhtml-common.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/modules/editors/usecases/forms/xhtml.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/modules/sitetree/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/modules/sitetree/xslt/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/modules/sitetree/xslt/navigation/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/modules/sitetree/xslt/navigation/search.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/modules/sitetree/xslt/navigation/tabs.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/resources/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/resources/i18n/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/resources/i18n/cmsui.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/resources/i18n/cmsui_de.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/resources/i18n/cmsui_es.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/resources/i18n/cmsui_fr.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/resources/i18n/cmsui_it.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/resources/i18n/cmsui_pt.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/resources/i18n/cmsui_ru.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/usecases/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/usecases/tab/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/usecases/tab/meta.jx
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/xslt/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/xslt/exception/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/lenya/xslt/exception/generic.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/config/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/config/menu.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/config/module.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/menus.xmap
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/resources/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/resources/css/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/resources/css/homepage.css
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/resources/i18n/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/resources/i18n/cmsui.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/resources/i18n/cmsui_de.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/resources/schemas/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/resources/schemas/homepage.rng
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/samples/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/samples/homepage.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/sitemap.xmap
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/xslt/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/xslt/clean-homepage.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/modules/homepage/xslt/homepage2xhtml.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/readme.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/misc/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/misc/bxe/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/misc/bxe/xhtml-namespaces.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/shared/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/shared/css/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/shared/css/homepage.css
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/shared/css/links.css
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/shared/css/news.css
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/shared/css/page.css
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/shared/css/xhtml.css
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/shared/images/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/shared/images/bullet.png (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/resources/shared/images/project-logo.png (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/sitemap.xmap
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/archive/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/archive/index/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/archive/index/segments (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/authoring/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/authoring/index/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/authoring/index/_j.cfs (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/authoring/index/_z.cfs (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/authoring/index/deletable (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/authoring/index/segments (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/live/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/live/index/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/live/index/segments (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/trash/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/trash/index/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/work/lucene/index/trash/index/segments (with props)
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/xslt/
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/xslt/page2xhtml-homepage.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/xslt/page2xhtml-links.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/xslt/page2xhtml-opendocument.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/xslt/page2xhtml-search.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/xslt/page2xhtml-xhtml.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/xslt/page2xhtml.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/xslt/toDoc.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/xslt/upload-generic.xsl
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/xslt/upload.xsl
Removed:
lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/metadata/MetaDataRegistryImpl.java
lenya/trunk/org.apache.lenya.core.impl/src/test/java/org/apache/lenya/ac/impl/AbstractAccessControlTest.java
lenya/trunk/org.apache.lenya.core.impl/src/test/java/org/apache/lenya/cms/LenyaTestCase.java
Modified:
lenya/trunk/org.apache.lenya.core.api/pom.xml
lenya/trunk/org.apache.lenya.core.api/src/main/java/org/apache/lenya/cms/publication/Publication.java
lenya/trunk/org.apache.lenya.core.api/src/main/java/org/apache/lenya/cms/publication/Session.java
lenya/trunk/org.apache.lenya.core.impl/pom.xml
lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentFactoryBuilderImpl.java
lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentFactoryImpl.java
lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentImpl.java
lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/PublicationConfiguration.java
lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/PublicationFactory.java
lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/PublicationImpl.java
lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/PublicationManagerImpl.java
lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/RepositoryImpl.java
lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/SessionImpl.java
lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/repository/SharedItemStoreImpl.java
lenya/trunk/org.apache.lenya.core.impl/src/main/resources/META-INF/cocoon/spring/lenya-core-impl-components.xml
lenya/trunk/org.apache.lenya.core.impl/src/test/java/org/apache/lenya/cms/metadata/MetaDataTest.java
lenya/trunk/org.apache.lenya.core.impl/src/test/java/org/apache/lenya/cms/publication/DefaultDocumentTest.java
lenya/trunk/org.apache.lenya.core.impl/src/test/java/org/apache/lenya/cms/publication/DocumentFactoryTest.java
lenya/trunk/org.apache.lenya.core.impl/src/test/java/org/apache/lenya/cms/publication/DocumentManagerTest.java
lenya/trunk/org.apache.lenya.core.impl/src/test/java/org/apache/lenya/cms/publication/DublinCoreTest.java
lenya/trunk/org.apache.lenya.core.impl/src/test/java/org/apache/lenya/cms/publication/PublicationTest.java
lenya/trunk/org.apache.lenya.core.impl/src/test/java/org/apache/lenya/cms/publication/file/FilePublicationTest.java
lenya/trunk/org.apache.lenya.core.impl/src/test/java/org/apache/lenya/cms/rc/RCMLTest.java
lenya/trunk/org.apache.lenya.core.impl/src/test/java/org/apache/lenya/cms/rc/RevisionControllerTest.java
lenya/trunk/org.apache.lenya.core.impl/src/test/resources/org/apache/lenya/cms/publication/DocumentManagerTest.spring.xml
Modified: lenya/trunk/org.apache.lenya.core.api/pom.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.api/pom.xml?rev=743041&r1=743040&r2=743041&view=diff
==============================================================================
--- lenya/trunk/org.apache.lenya.core.api/pom.xml (original)
+++ lenya/trunk/org.apache.lenya.core.api/pom.xml Tue Feb 10 18:22:23 2009
@@ -14,6 +14,44 @@
<artifactId>lenya-core-api</artifactId>
<packaging>jar</packaging>
<name>Apache Lenya Core API</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <!-- export our test classes in a separate jar -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/*TestCase.class</include>
+ <include>**/*Test.class</include>
+ </includes>
+ <excludes>
+ <exclude>**/Abstract*.class</exclude>
+ </excludes>
+ <!-- currently triggers NPE in surefire plugin
+ <systemProperties>
+ <property>
+ <name>junit.test.loglevel</name>
+ <value>3</value>
+ </property>
+ </systemProperties>
+ -->
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
@@ -47,5 +85,26 @@
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-chaperon-impl</artifactId>
</dependency>
+
+ <!-- Tests -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cocoon</groupId>
+ <artifactId>cocoon-core</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <!-- FIXME: This dependency is transitive and should be obtained automatically
+ see http://jira.codehaus.org/browse/MNG-1378 -->
+ <dependency>
+ <groupId>org.apache.cocoon</groupId>
+ <artifactId>cocoon-sitemap-impl</artifactId>
+ <scope>test</scope>
+ <type>test-jar</type>
+ </dependency>
</dependencies>
</project>
Modified: lenya/trunk/org.apache.lenya.core.api/src/main/java/org/apache/lenya/cms/publication/Publication.java
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.api/src/main/java/org/apache/lenya/cms/publication/Publication.java?rev=743041&r1=743040&r2=743041&view=diff
==============================================================================
--- lenya/trunk/org.apache.lenya.core.api/src/main/java/org/apache/lenya/cms/publication/Publication.java (original)
+++ lenya/trunk/org.apache.lenya.core.api/src/main/java/org/apache/lenya/cms/publication/Publication.java Tue Feb 10 18:22:23 2009
@@ -52,14 +52,6 @@
*/
String TRASH_AREA = "trash";
/**
- * <code>PUBLICATION_PREFIX</code> The publication prefix
- */
- String PUBLICATION_PREFIX = "lenya" + File.separator + "pubs";
- /**
- * <code>PUBLICATION_PREFIX_URI</code> The publication prefix URI
- */
- String PUBLICATION_PREFIX_URI = "lenya/pubs";
- /**
* <code>CONFIGURATION_PATH</code> The configuration path
*/
String CONFIGURATION_PATH = "config";
@@ -80,6 +72,11 @@
* The item type.
*/
String ITEM_TYPE = "publication";
+
+ /**
+ * @deprecated
+ */
+ String PUBLICATION_PREFIX_URI = "lenya/pubs";
/**
* Returns the publication ID.
@@ -98,11 +95,9 @@
void setName(String name);
/**
- * Returns the servlet context this publication belongs to (usually, the
- * <code>webapps/lenya</code> directory).
- * @return A <code>File</code> object.
+ * @return The URI of the directory where publications are located.
*/
- File getServletContext();
+ String getPubBaseUri();
/**
* @return if this publication exists.
Modified: lenya/trunk/org.apache.lenya.core.api/src/main/java/org/apache/lenya/cms/publication/Session.java
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.api/src/main/java/org/apache/lenya/cms/publication/Session.java?rev=743041&r1=743040&r2=743041&view=diff
==============================================================================
--- lenya/trunk/org.apache.lenya.core.api/src/main/java/org/apache/lenya/cms/publication/Session.java (original)
+++ lenya/trunk/org.apache.lenya.core.api/src/main/java/org/apache/lenya/cms/publication/Session.java Tue Feb 10 18:22:23 2009
@@ -31,6 +31,13 @@
Publication getPublication(String id) throws ResourceNotFoundException;
Publication[] getPublications();
+
+ /**
+ * @param id The publication ID.
+ * @return A publication.
+ * @throws RepositoryException if the publication already exists.
+ */
+ Publication addPublication(String id) throws RepositoryException;
boolean existsPublication(String id);
Added: lenya/trunk/org.apache.lenya.core.api/src/test/java/org/apache/lenya/cms/AbstractAccessControlTest.java
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.api/src/test/java/org/apache/lenya/cms/AbstractAccessControlTest.java?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.api/src/test/java/org/apache/lenya/cms/AbstractAccessControlTest.java (added)
+++ lenya/trunk/org.apache.lenya.core.api/src/test/java/org/apache/lenya/cms/AbstractAccessControlTest.java Tue Feb 10 18:22:23 2009
@@ -0,0 +1,199 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+/* $Id: AccessControlTest.java 408702 2006-05-22 16:03:49Z andreas $ */
+
+package org.apache.lenya.cms;
+
+import javax.servlet.http.HttpSession;
+
+import org.apache.commons.lang.Validate;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.apache.lenya.ac.AccessControlException;
+import org.apache.lenya.ac.AccessController;
+import org.apache.lenya.ac.AccessControllerResolver;
+import org.apache.lenya.ac.Accreditable;
+import org.apache.lenya.ac.AccreditableManager;
+import org.apache.lenya.ac.Identity;
+import org.apache.lenya.ac.PolicyManager;
+import org.apache.lenya.ac.User;
+import org.apache.lenya.cms.publication.Publication;
+import org.apache.lenya.cms.publication.Repository;
+import org.apache.lenya.cms.publication.RepositoryException;
+import org.apache.lenya.cms.publication.Session;
+
+/**
+ * To change the template for this generated type comment go to Window>Preferences>Java>Code
+ * Generation>Code and Comments
+ */
+public class AbstractAccessControlTest extends AbstractLenyaTestCase {
+
+ private static final Log logger = LogFactory.getLog(AbstractAccessControlTest.class);
+
+ protected static final String TEST_PUB_ID = "test";
+ private AccessControllerResolver accessControllerResolver;
+ private AccessController accessController;
+ private Repository repository;
+
+ protected Session login(String userId) throws AccessControlException {
+ return login(userId, TEST_PUB_ID);
+ }
+
+ protected Session login(String userId, String pubId) throws AccessControlException {
+
+ Session session = getRepository().startSession(null, true);
+ AccessController ac = getAccessController(session, pubId);
+ AccreditableManager acMgr = ac.getAccreditableManager();
+ User user = acMgr.getUserManager().getUser(userId);
+
+ if (user == null) {
+ throw new AccessControlException("The user [" + userId + "] does not exist!");
+ }
+ getRequest().setRequestURI("/" + pubId + "/");
+ ac.setupIdentity(getRequest());
+
+ HttpSession cocoonSession = getRequest().getSession();
+ Identity identity = (Identity) cocoonSession.getAttribute(Identity.class.getName());
+
+ if (!identity.contains(user)) {
+ User oldUser = identity.getUser();
+ if (oldUser != null) {
+ if (logger.isDebugEnabled()) {
+ logger.debug("Removing user [" + oldUser + "] from identity.");
+ }
+ identity.removeIdentifiable(oldUser);
+ }
+ identity.addIdentifiable(user);
+ }
+
+ ac.authorize(getRequest());
+
+ Accreditable[] accrs = identity.getAccreditables();
+ for (int i = 0; i < accrs.length; i++) {
+ logger.info("Accreditable: " + accrs[i]);
+ }
+
+ getRequest().setAttribute(Session.class.getName(), session);
+ return session;
+ }
+
+ protected AccessController getAccessController() throws AccessControlException {
+ return getAccessController(getSession(), TEST_PUB_ID);
+ }
+
+ protected AccessController getAccessController(Session session, String pubId)
+ throws AccessControlException {
+ Validate.notNull(session, "session");
+ AccessController controller;
+ logger.info("Using access controller resolver: ["
+ + getAccessControllerResolver().getClass() + "]");
+
+ try {
+ Publication pub = session.existsPublication(pubId) ? session.getPublication(pubId)
+ : session.addPublication(pubId);
+ logger.info("Resolve access controller");
+ logger.info("Publication directory: [" + pub.getDirectory().getAbsolutePath() + "]");
+ } catch (RepositoryException e) {
+ throw new AccessControlException(e);
+ }
+
+ String url = "/" + pubId + "/authoring/index.html";
+ controller = this.getAccessControllerResolver().resolveAccessController(url);
+
+ assertNotNull(controller);
+ logger.info("Resolved access controller: [" + controller.getClass() + "]");
+ return controller;
+ }
+
+ /**
+ * The teardown method for JUnit
+ * @exception Exception if an error occurs
+ */
+ public void tearDown() throws Exception {
+ if (this.accessController != null) {
+ this.getAccessControllerResolver().release(this.accessController);
+ }
+ super.tearDown();
+ }
+
+ protected static final String USER_ID = "lenya";
+
+ /**
+ * Returns the policy manager.
+ * @return A policy manager.
+ * @throws AccessControlException
+ */
+ protected PolicyManager getPolicyManager() throws AccessControlException {
+ return getAccessController().getPolicyManager();
+ }
+
+ /**
+ * Returns the accreditable manager.
+ * @return An accreditable manager.
+ * @throws AccessControlException
+ */
+ protected AccreditableManager getAccreditableManager() throws AccessControlException {
+ return getAccessController().getAccreditableManager();
+ }
+
+ private Session session;
+
+ protected Session getSession() {
+ if (this.session == null) {
+ try {
+ this.session = login(getUserId());
+ } catch (AccessControlException e) {
+ throw new RuntimeException(e);
+ }
+ }
+ return this.session;
+ }
+
+ protected String getUserId() {
+ return USER_ID;
+ }
+
+ protected Identity getIdentity() {
+ return getSession().getIdentity();
+ }
+
+ public void setRepository(Repository repository) {
+ this.repository = repository;
+ }
+
+ public Repository getRepository() {
+ if (this.repository == null) {
+ this.repository = (Repository) getBeanFactory().getBean(Repository.class.getName());
+ }
+ return repository;
+ }
+
+ public void setAccessControllerResolver(AccessControllerResolver accessControllerResolver) {
+ this.accessControllerResolver = accessControllerResolver;
+ }
+
+ protected AccessControllerResolver getAccessControllerResolver() {
+ if (this.accessControllerResolver == null) {
+ this.accessControllerResolver = (AccessControllerResolver) getBeanFactory().getBean(
+ AccessControllerResolver.ROLE);
+ }
+ return this.accessControllerResolver;
+ }
+
+}
Added: lenya/trunk/org.apache.lenya.core.api/src/test/java/org/apache/lenya/cms/AbstractLenyaTestCase.java
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.api/src/test/java/org/apache/lenya/cms/AbstractLenyaTestCase.java?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.api/src/test/java/org/apache/lenya/cms/AbstractLenyaTestCase.java (added)
+++ lenya/trunk/org.apache.lenya.core.api/src/test/java/org/apache/lenya/cms/AbstractLenyaTestCase.java Tue Feb 10 18:22:23 2009
@@ -0,0 +1,180 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.lenya.cms;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+import org.apache.avalon.framework.container.ContainerUtil;
+import org.apache.avalon.framework.context.DefaultContext;
+import org.apache.cocoon.AbstractTestCase;
+import org.apache.cocoon.Constants;
+import org.apache.cocoon.components.ContextHelper;
+import org.apache.cocoon.core.container.ContainerTestCase;
+import org.apache.cocoon.environment.Context;
+import org.apache.cocoon.environment.ObjectModelHelper;
+import org.apache.cocoon.environment.Request;
+import org.apache.cocoon.environment.mock.MockEnvironment;
+import org.apache.cocoon.util.IOUtils;
+import org.apache.commons.lang.SystemUtils;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.apache.excalibur.source.SourceResolver;
+import org.apache.excalibur.xml.EntityResolver;
+import org.apache.lenya.xml.DocumentHelper;
+
+/**
+ * Base class for Lenya tests which need the context information.
+ */
+public class AbstractLenyaTestCase extends ContainerTestCase {
+
+ private static final Log logger = LogFactory.getLog(AbstractLenyaTestCase.class);
+
+ protected DefaultContext context;
+
+/*
+ protected void addContext(DefaultContext context) {
+ super.addContext(context);
+
+ this.context = context;
+
+ String tempPath = System.getProperty("tempDir", "build/lenya/temp");
+ String contextRoot = System.getProperty("contextRoot", "build/lenya/webapp");
+ getLogger().info("Adding context root entry [" + contextRoot + "]");
+
+ File contextRootDir = new File(contextRoot);
+ context.put("context-root", contextRootDir);
+
+ String testPath = System.getProperty("testPath", "build/test");
+ File testRootDir = new File(testPath);
+ context.put("test-path", testRootDir);
+
+ Context envContext = new CommandLineContext(contextRoot);
+ ContainerUtil.enableLogging(envContext, getLogger());
+ context.put(Constants.CONTEXT_ENVIRONMENT_CONTEXT, envContext);
+
+ File tempDir = new File(tempPath);
+
+ File workDir = new File(tempDir, "work");
+ context.put("work-directory", workDir);
+
+ File cacheDir = new File(tempDir, "cache");
+ context.put(Constants.CONTEXT_CACHE_DIR, cacheDir);
+
+ File uploadDir = new File(tempDir, "upload");
+ context.put(Constants.CONTEXT_UPLOAD_DIR, uploadDir);
+
+ context.put(Constants.CONTEXT_CLASS_LOADER, LenyaTestCase.class.getClassLoader());
+ context.put(Constants.CONTEXT_CLASSPATH, getClassPath(contextRoot));
+ // context.put(Constants.CONTEXT_CONFIG_URL, conf.toURL());
+ context.put(Constants.CONTEXT_DEFAULT_ENCODING, "ISO-8859-1");
+ }
+
+ private Request request = null;
+
+ protected Request getRequest() {
+ return this.request;
+ }
+
+ protected void prepare() throws Exception {
+ File testPath = new File("build/test");
+ final String resourceName = LenyaTestCase.class.getName().replace('.', '/') + ".xtest";
+ File resourceFile = new File(testPath, resourceName.replace('/', File.separatorChar));
+
+ if (resourceFile.isFile()) {
+ getLogger().debug("Loading resource " + resourceFile.getAbsolutePath());
+ prepare(new FileInputStream(resourceFile));
+ } else {
+ getLogger().debug("Resource not found " + resourceName);
+ }
+
+ SourceResolver resolver = (SourceResolver) getManager().lookup(SourceResolver.ROLE);
+ MockEnvironment env = new MockEnvironment(resolver);
+
+ String pathInfo = getWebappUrl();
+
+ this.request = new CommandLineRequest(env,
+ "",
+ "",
+ pathInfo,
+ new HashMap(),
+ getRequestParameters());
+ context.put("object-model.request", this.request);
+
+ Map objectModel = new HashMap();
+ objectModel.put(ObjectModelHelper.REQUEST_OBJECT, request);
+ Context envContext = (Context) context.get(Constants.CONTEXT_ENVIRONMENT_CONTEXT);
+ objectModel.put(ObjectModelHelper.CONTEXT_OBJECT, envContext);
+ context.put(ContextHelper.CONTEXT_OBJECT_MODEL, objectModel);
+
+ EntityResolver entityResolver = (EntityResolver) getManager().lookup(EntityResolver.ROLE);
+ DocumentHelper.setEntityResolver(entityResolver);
+
+ }
+
+ protected String getWebappUrl() {
+ return "/test/authoring/index.html";
+ }
+
+ protected Map getRequestParameters() {
+ return new HashMap();
+ }
+*/
+ /**
+ * This builds the important ClassPath used by this class. It does so in a neutral way. It
+ * iterates in alphabetical order through every file in the lib directory and adds it to the
+ * classpath.
+ *
+ * Also, we add the files to the ClassLoader for the Cocoon system. In order to protect
+ * ourselves from skitzofrantic classloaders, we need to work with a known one.
+ *
+ * @param context The context path
+ * @return a <code>String</code> value
+ */
+ protected String getClassPath(final String context) {
+ StringBuffer buildClassPath = new StringBuffer();
+
+ String classDir = context + "/WEB-INF/classes";
+ buildClassPath.append(classDir);
+
+ File root = new File(context + "/WEB-INF/lib");
+ if (root.isDirectory()) {
+ File[] libraries = root.listFiles();
+ Arrays.sort(libraries);
+ for (int i = 0; i < libraries.length; i++) {
+ if (libraries[i].getAbsolutePath().endsWith(".jar")) {
+ buildClassPath.append(File.pathSeparatorChar)
+ .append(IOUtils.getFullFilename(libraries[i]));
+ }
+ }
+ }
+
+ buildClassPath.append(File.pathSeparatorChar).append(SystemUtils.JAVA_CLASS_PATH);
+
+ // Extra class path is necessary for non-classloader-aware java compilers to compile XSPs
+ // buildClassPath.append(File.pathSeparatorChar)
+ // .append(getExtraClassPath(context));
+
+ logger.info("Context classpath: " + buildClassPath);
+ return buildClassPath.toString();
+ }
+
+}
Modified: lenya/trunk/org.apache.lenya.core.impl/pom.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/pom.xml?rev=743041&r1=743040&r2=743041&view=diff
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/pom.xml (original)
+++ lenya/trunk/org.apache.lenya.core.impl/pom.xml Tue Feb 10 18:22:23 2009
@@ -29,9 +29,28 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/*TestCase.class</include>
+ <include>**/*Test.class</include>
+ </includes>
+ <excludes>
+ <exclude>**/Abstract*.class</exclude>
+ </excludes>
+ <!-- currently triggers NPE in surefire plugin
+ <systemProperties>
+ <property>
+ <name>junit.test.loglevel</name>
+ <value>3</value>
+ </property>
+ </systemProperties>
+ -->
+ </configuration>
+ </plugin>
</plugins>
</build>
-
<dependencies>
<dependency>
@@ -57,11 +76,6 @@
</dependency>
<dependency>
<groupId>org.apache.lenya</groupId>
- <artifactId>lenya-module-sourcerepository</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.lenya</groupId>
<artifactId>lenya-core-repository</artifactId>
</dependency>
<dependency>
@@ -92,8 +106,26 @@
</dependency>
<dependency>
<groupId>org.apache.lenya</groupId>
- <artifactId>lenya-core-ac</artifactId>
+ <artifactId>lenya-core-api</artifactId>
<scope>test</scope>
+ <type>test-jar</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.lenya</groupId>
+ <artifactId>lenya-core-ac</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!-- FIXME: maybe the tests can be organized with less dependencies -->
+ <dependency>
+ <groupId>org.apache.lenya</groupId>
+ <artifactId>lenya-module-sitetree</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.lenya</groupId>
+ <artifactId>lenya-module-sourcerepository</artifactId>
+ <scope>runtime</scope>
</dependency>
</dependencies>
Added: lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/cocoon/source/LenyaDocSourceFactory.java
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/cocoon/source/LenyaDocSourceFactory.java?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/cocoon/source/LenyaDocSourceFactory.java (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/cocoon/source/LenyaDocSourceFactory.java Tue Feb 10 18:22:23 2009
@@ -0,0 +1,208 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.lenya.cms.cocoon.source;
+
+import java.io.IOException;
+import java.net.MalformedURLException;
+import java.util.Map;
+
+import javax.servlet.http.HttpServletRequest;
+
+import org.apache.avalon.framework.configuration.Configuration;
+import org.apache.avalon.framework.configuration.ConfigurationException;
+import org.apache.cocoon.processing.ProcessInfoProvider;
+import org.apache.cocoon.spring.configurator.WebAppContextUtils;
+import org.apache.cocoon.util.AbstractLogEnabled;
+import org.apache.excalibur.source.Source;
+import org.apache.excalibur.source.SourceException;
+import org.apache.excalibur.source.SourceFactory;
+import org.apache.lenya.cms.publication.Document;
+import org.apache.lenya.cms.publication.Publication;
+import org.apache.lenya.cms.publication.Repository;
+import org.apache.lenya.cms.publication.ResourceNotFoundException;
+import org.apache.lenya.cms.publication.Session;
+import org.apache.lenya.cms.publication.URLInformation;
+import org.apache.lenya.cms.repository.NodeFactory;
+import org.apache.lenya.util.ServletHelper;
+
+/**
+ * A factory for the "lenyadoc" scheme (virtual protocol), which is used to resolve any
+ * src="lenyadoc:<...>" attributes in sitemaps.
+ *
+ * <code>lenyadoc://<publication>/<area>/<language>/<uuid></code>
+ * <code>lenyadoc:/<language>/<uuid></code>
+ *
+ * If we want to request the meta data for a document
+ * instead of the document itself, we need to use
+ *
+ * <code>lenyadoc:meta:/<language>/<uuid></code>
+ * <code>lenyadoc:meta://<publication>/<area>/<language>/<uuid></code>
+ *
+ * @version $Id:$
+ * @deprecated Use <code>lenya-document</code> instead (see {@link org.apache.lenya.cms.cocoon.source.DocumentSourceFactory}.
+ */
+public class LenyaDocSourceFactory extends AbstractLogEnabled implements SourceFactory {
+
+ protected static final String SCHEME = "lenyadoc";
+
+ private Repository repository;
+ private NodeFactory nodeFactory;
+
+ /**
+ * @see org.apache.avalon.framework.configuration.Configurable#configure(org.apache.avalon.framework.configuration.Configuration)
+ */
+ public void configure(Configuration configuration) throws ConfigurationException {
+ }
+
+ /**
+ * @see org.apache.excalibur.source.SourceFactory#getSource(java.lang.String, java.util.Map)
+ */
+ public Source getSource(String location, Map parameters) throws MalformedURLException,
+ IOException, SourceException {
+ String scheme = null;
+ String area = null;
+ String language = null;
+ String uuid = null;
+ Publication pub;
+
+ // Parse the url
+ int start = 0;
+ int end;
+
+ // Scheme
+ end = location.indexOf(':', start);
+ if (end == -1) {
+ throw new MalformedURLException("Malformed lenyadoc: URI: can not find scheme part ["
+ + location + "]");
+ }
+ scheme = location.substring(start, end);
+ if (!SCHEME.equals(scheme)) {
+ throw new MalformedURLException("Malformed lenyadoc: URI: unknown scheme [" + location
+ + "]");
+ }
+
+ ProcessInfoProvider processInfoProvider = (ProcessInfoProvider) WebAppContextUtils
+ .getCurrentWebApplicationContext().getBean(ProcessInfoProvider.ROLE);
+ HttpServletRequest request = processInfoProvider.getRequest();
+ Session session = this.repository.getSession(request);
+ start = end + 1;
+
+ // Absolute vs. relative
+ if (location.startsWith("//", start)) {
+ // Absolute: get publication id
+ start += 2;
+ end = location.indexOf('/', start);
+ if (end == -1) {
+ throw new MalformedURLException("Malformed lenyadoc: URI: publication part not found ["
+ + location + "]");
+ }
+ String publicationId = location.substring(start, end);
+ try {
+ pub = session.getPublication(publicationId);
+ } catch (ResourceNotFoundException e) {
+ throw new MalformedURLException("Malformed lenyadoc: Publication [" + publicationId
+ + "] does not exist or could not be initialized");
+ }
+ if (pub == null || !pub.exists()) {
+ throw new SourceException("The publication [" + publicationId + "] does not exist!");
+ }
+
+ // Area
+ start = end + 1;
+ end = location.indexOf('/', start);
+ if (end == -1) {
+ throw new MalformedURLException("Malformed lenyadoc: URI: cannot find area ["
+ + location + "]");
+ }
+ area = location.substring(start, end);
+
+ } else if (location.startsWith("/", start)) {
+ end += 1;
+ // Relative: get publication id and area from page envelope
+ try {
+ String id = new URLInformation(ServletHelper.getWebappURI(request)).getPublicationId();
+ pub = session.getPublication(id);
+ } catch (ResourceNotFoundException e) {
+ throw new SourceException("Error getting publication id / area from page envelope ["
+ + location + "]");
+ }
+ if (pub != null && pub.exists()) {
+ String url = ServletHelper.getWebappURI(request);
+ area = new URLInformation(url).getArea();
+ } else {
+ throw new SourceException("Error getting publication id / area from page envelope ["
+ + location + "]");
+ }
+ } else {
+ throw new MalformedURLException("Malformed lenyadoc: URI [" + location + "]");
+ }
+
+ // Language
+ start = end + 1;
+ end = location.indexOf('/', start);
+ if (end == -1) {
+ throw new MalformedURLException("Malformed lenyadoc: URI: cannot find language ["
+ + location + "]");
+ }
+ language = location.substring(start, end);
+
+ // UUID
+ start = end + 1;
+ uuid = location.substring(start);
+
+ if (getLogger().isDebugEnabled()) {
+ getLogger().debug("Creating repository source for URI [" + location + "]");
+ }
+ Document document;
+ try {
+ document = pub.getArea(area).getDocument(uuid, language);
+ } catch (ResourceNotFoundException e) {
+ throw new MalformedURLException("Malformed lenyadoc: Document [" + uuid + ":"
+ + language + "] could not be created.");
+ }
+
+ String lenyaURL = document.getSourceURI();
+
+ if (getLogger().isDebugEnabled()) {
+ getLogger().debug("Mapping 'lenyadoc:' URL [" + location + "] to 'lenya:' URL ["
+ + lenyaURL + "]");
+ getLogger().debug("Creating repository source for URI [" + lenyaURL + "]");
+ }
+
+ return new RepositorySource(getNodeFactory(), lenyaURL, session, getLogger());
+ }
+
+ /**
+ * @see org.apache.excalibur.source.SourceFactory#release(org.apache.excalibur.source.Source)
+ */
+ public void release(Source source) {
+ // Source will be released by delegated source factory.
+ }
+
+ public void setRepository(Repository repository) {
+ this.repository = repository;
+ }
+
+ public void setNodeFactory(NodeFactory nodeFactory) {
+ this.nodeFactory = nodeFactory;
+ }
+
+ public NodeFactory getNodeFactory() {
+ return nodeFactory;
+ }
+}
\ No newline at end of file
Modified: lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentFactoryBuilderImpl.java
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentFactoryBuilderImpl.java?rev=743041&r1=743040&r2=743041&view=diff
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentFactoryBuilderImpl.java (original)
+++ lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentFactoryBuilderImpl.java Tue Feb 10 18:22:23 2009
@@ -20,6 +20,7 @@
import org.apache.cocoon.util.AbstractLogEnabled;
import org.apache.excalibur.source.SourceResolver;
import org.apache.lenya.cms.metadata.MetaDataCache;
+import org.apache.lenya.cms.repository.NodeFactory;
/**
* Document factory builder implementation.
@@ -30,12 +31,14 @@
private PublicationManager pubManager;
private MetaDataCache metaDataCache;
private SourceResolver sourceResolver;
+ private NodeFactory nodeFactory;
public DocumentFactory createDocumentFactory(Session session) {
DocumentFactoryImpl factory = new DocumentFactoryImpl(session);
factory.setMetaDataCache(getMetaDataCache());
factory.setPublicationManager(getPublicationManager());
factory.setSourceResolver(getSourceResolver());
+ factory.setNodeFactory(this.nodeFactory);
return factory;
}
@@ -63,5 +66,9 @@
this.sourceResolver = sourceResolver;
}
+ public void setNodeFactory(NodeFactory nodeFactory) {
+ this.nodeFactory = nodeFactory;
+ }
+
}
Modified: lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentFactoryImpl.java
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentFactoryImpl.java?rev=743041&r1=743040&r2=743041&view=diff
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentFactoryImpl.java (original)
+++ lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentFactoryImpl.java Tue Feb 10 18:22:23 2009
@@ -25,9 +25,11 @@
import org.apache.commons.logging.LogFactory;
import org.apache.excalibur.source.SourceResolver;
import org.apache.lenya.cms.metadata.MetaDataCache;
+import org.apache.lenya.cms.repository.NodeFactory;
import org.apache.lenya.cms.repository.RepositoryException;
import org.apache.lenya.cms.repository.RepositoryItem;
import org.apache.lenya.cms.repository.RepositoryItemFactory;
+import org.apache.lenya.cms.repository.SessionHolder;
/**
* A DocumentIdentityMap avoids the multiple instanciation of a document object.
@@ -41,6 +43,7 @@
private Session session;
private MetaDataCache metaDataCache;
private SourceResolver sourceResolver;
+ private NodeFactory nodeFactory;
/**
* @return The session.
@@ -93,7 +96,8 @@
}
protected org.apache.lenya.cms.repository.Session getRepositorySession() {
- return (org.apache.lenya.cms.repository.Session) this.session;
+ SessionHolder holder = (SessionHolder) this.session;
+ return holder.getRepositorySession();
}
/**
@@ -301,6 +305,7 @@
DocumentImpl doc = new DocumentImpl(session, identifier, revision);
doc.setMetaDataCache(getMetaDataCache());
doc.setSourceResolver(getSourceResolver());
+ doc.setNodeFactory(this.nodeFactory);
return doc;
}
@@ -355,4 +360,9 @@
this.sourceResolver = sourceResolver;
}
+ public void setNodeFactory(NodeFactory nodeFactory) {
+ Validate.notNull(nodeFactory, "node factory");
+ this.nodeFactory = nodeFactory;
+ }
+
}
\ No newline at end of file
Modified: lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentImpl.java
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentImpl.java?rev=743041&r1=743040&r2=743041&view=diff
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentImpl.java (original)
+++ lenya/trunk/org.apache.lenya.core.impl/src/main/java/org/apache/lenya/cms/publication/DocumentImpl.java Tue Feb 10 18:22:23 2009
@@ -41,6 +41,7 @@
import org.apache.lenya.cms.repository.NodeFactory;
import org.apache.lenya.cms.repository.RepositoryItem;
import org.apache.lenya.cms.repository.Session;
+import org.apache.lenya.cms.repository.SessionHolder;
import org.apache.lenya.cms.site.Link;
import org.apache.lenya.cms.site.SiteException;
import org.apache.lenya.cms.site.SiteStructure;
@@ -329,7 +330,7 @@
*/
public int hashCode() {
- String key = getPublication().getId() + ":" + getPublication().getServletContext() + ":"
+ String key = getPublication().getId() + ":" + getPublication().getPubBaseUri() + ":"
+ getArea() + ":" + getUUID() + ":" + getLanguage();
return key.hashCode();
@@ -516,8 +517,9 @@
*/
public Node getRepositoryNode() {
if (this.repositoryNode == null) {
- this.repositoryNode = getRepositoryNode(getNodeFactory(), (Session) getSession(),
- getSourceURI());
+ SessionHolder holder = (SessionHolder) getSession();
+ this.repositoryNode = getRepositoryNode(getNodeFactory(),
+ holder.getRepositorySession(), getSourceURI());
}
return this.repositoryNode;
}
@@ -681,7 +683,8 @@
}
}
- public boolean isCheckedOutBySession(String sessionId, String userId) throws RepositoryException {
+ public boolean isCheckedOutBySession(String sessionId, String userId)
+ throws RepositoryException {
try {
return getRepositoryNode().isCheckedOutBySession(sessionId, userId);
} catch (org.apache.lenya.cms.repository.RepositoryException e) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org