You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by eg...@apache.org on 2003/07/08 18:16:10 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/pubs/default/config/tasks targets.xml
egli 2003/07/08 09:16:09
Modified: src/webapp/lenya/pubs/default/config/tasks targets.xml
Log:
Fixed the parameter names for the creator so that creation
actually works.
Revision Changes Path
1.6 +11 -8 cocoon-lenya/src/webapp/lenya/pubs/default/config/tasks/targets.xml
Index: targets.xml
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/default/config/tasks/targets.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- targets.xml 11 Jun 2003 09:59:22 -0000 1.5
+++ targets.xml 8 Jul 2003 16:16:09 -0000 1.6
@@ -29,6 +29,7 @@
<property name="export.uris" value=""/>
<property name="publish.documentid" value=""/>
+<property name="publish.language" value=""/>
<property name="publish.sources" value=""/>
<property name="servlet.context" value=""/>
@@ -46,6 +47,8 @@
<echo>pub dir : ${pub.dir}</echo>
<copy todir="${pub.dir}/${live.dir}">
+ <!-- FIXME: copy only the file that corresponds to the node that
+ we're publishing -->
<fileset dir="${pub.dir}/${authoring.dir}">
<include name="${publish.sources}"/>
</fileset>
@@ -70,7 +73,7 @@
<echo>and insert it in tree ${pub.dir}/${live.dir}/${authoring.tree}</echo>
<publishtree
- documentid= "${publish.documentid}"
+ documentid= "${publish.documentid}"
absolutetreeauthoringpath= "${pub.dir}/${authoring.dir}/${authoring.tree}"
absolutetreelivepath = "${pub.dir}/${live.dir}/${authoring.tree}"
/>
@@ -89,11 +92,11 @@
<target name="create">
- <property name="create.parent-id"/>
- <property name="create.child-id"/>
- <property name="create.child-name"/>
- <property name="create.child-type"/>
- <property name="create.doctype"/>
+ <property name="create.parent-id" value=""/>
+ <property name="create.child-id" value=""/>
+ <property name="create.child-name" value=""/>
+ <property name="create.child-type" value=""/>
+ <property name="create.doctype" value=""/>
<taskdef name="create" classname="org.apache.lenya.cms.ant.DocumentCreatorTask"/>
<create
@@ -101,9 +104,9 @@
childid="${create.child-id}"
childname="${create.child-name}"
childtype="${create.child-type}"
- docspath="${authoring.dir}"
+ authoringpath="${authoring.dir}"
documenttype="${create.doctype}"
- treeauthoringpath="${authoring.tree}"/>
+ treefile="${authoring.tree}"/>
</target>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org