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 2005/05/26 08:34:27 UTC
svn commit: r178606 -
/lenya/trunk/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
Author: andreas
Date: Wed May 25 23:34:26 2005
New Revision: 178606
URL: http://svn.apache.org/viewcvs?rev=178606&view=rev
Log:
Instantiator: copy usecase-policies.xml and index_en.xml meta file
Modified:
lenya/trunk/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
Modified: lenya/trunk/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java?rev=178606&r1=178605&r2=178606&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java (original)
+++ lenya/trunk/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java Wed May 25 23:34:26 2005
@@ -56,8 +56,9 @@
"config/ac/passwd/ldap.properties.sample", "config/ac/passwd/editor.gml",
"config/ac/passwd/edit.rml", "config/ac/passwd/alice.iml",
"config/ac/passwd/admin.rml", "config/ac/passwd/admin.gml", "config/ac/ac.xconf",
- "config/doctypes/doctypes.xconf", "config/workflow/workflow.xml",
- "content/authoring/sitetree.xml", "content/authoring/index/index_en.xml" };
+ "config/ac/usecase-policies.xml", "config/doctypes/doctypes.xconf",
+ "config/workflow/workflow.xml", "content/authoring/sitetree.xml",
+ "content/authoring/index/index_en.xml", "content/authoring/index/index_en.xml.meta" };
/**
* @see org.apache.lenya.cms.publication.templating.Instantiator#instantiate(org.apache.lenya.cms.publication.Publication,
@@ -131,8 +132,11 @@
}
}
- protected void copySource(Publication template, String publicationId, SourceResolver resolver,
- String publicationsUri, String source) throws MalformedURLException, IOException {
+ protected void copySource(Publication template,
+ String publicationId,
+ SourceResolver resolver,
+ String publicationsUri,
+ String source) throws MalformedURLException, IOException {
Source templateSource = null;
ModifiableSource targetSource = null;
try {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org