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 2003/10/17 00:02:50 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/pubs/default/config/tasks targets.xml tasks.xconf

andreas     2003/10/16 15:02:50

  Modified:    src/webapp/lenya/pubs/default/config/tasks targets.xml
                        tasks.xconf
  Log:
  - added initworkflow task
  - removed broken task definitions
  
  Revision  Changes    Path
  1.19      +19 -1     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.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- targets.xml	13 Aug 2003 19:23:03 -0000	1.18
  +++ targets.xml	16 Oct 2003 22:02:50 -0000	1.19
  @@ -104,6 +104,8 @@
         />
   </target>
   
  +<taskdef name="init-history" classname="org.apache.lenya.cms.ant.InitWorkflowHistoryTask"/>
  +
   <target name="create">
       
     <property name="create.parent-id" value=""/>
  @@ -127,7 +129,6 @@
       <echo>init the workflow history with document-id: ${create.parent-id}/${create.child-id}</echo>      
       <echo>with document-type: ${create.doctype}</echo>      
       <echo>with language: ${create.language}</echo>      
  - <taskdef name="init-history" classname="org.apache.lenya.cms.ant.InitWorkflowHistoryTask"/>
     <init-history
         documentid="${create.parent-id}/${create.child-id}"
         documenttype="${create.doctype}"
  @@ -300,6 +301,23 @@
     <echo>Delete Workflow (To Do)</echo>
     <!-- To Do -->
    
  +</target>
  +
  +
  +<target name="initworkflow">
  +    <echo>init the workflow history</echo>
  +    <echo>document-id: ${initworkflow.document-id}</echo>      
  +    <echo>document-type: ${initworkflow.document-type}</echo>      
  +    <echo>language: ${initworkflow.language}</echo>      
  +    <echo>user-id: ${initworkflow.user-id}</echo>      
  +    <echo>machine-ip: ${initworkflow.machine-ip}</echo>      
  +  <init-history
  +      documentid="${initworkflow.document-id}"
  +      documenttype="${initworkflow.document-type}"
  +      language="${initworkflow.language}"
  +      userid="${initworkflow.user-id}"
  +      machineip="${initworkflow.machine-ip}"
  +      />
   </target>
   
   </project>
  
  
  
  1.8       +0 -12     cocoon-lenya/src/webapp/lenya/pubs/default/config/tasks/tasks.xconf
  
  Index: tasks.xconf
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/default/config/tasks/tasks.xconf,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- tasks.xconf	28 Jul 2003 08:07:28 -0000	1.7
  +++ tasks.xconf	16 Oct 2003 22:02:50 -0000	1.8
  @@ -38,16 +38,4 @@
       <parameter name="target" value="deactivateDocument"/>
     </task>
   
  -  <task id="moveUpNode" class="org.apache.lenya.cms.task.MoveSiteTreeNodeTask">
  -    <label>moveUpNode</label>
  -    <parameter name="treePath" value="content/authoring/sitetree.xml"/>
  -    <parameter name="org.apache.lenya.cms.info.direction" value="up"/>
  -  </task>
  -
  -  <task id="moveDownNode" class="org.apache.lenya.cms.task.MoveSiteTreeNodeTask">
  -    <label>moveDownNode</label>
  -    <parameter name="treePath" value="content/authoring/sitetree.xml"/>
  -    <parameter name="org.apache.lenya.cms.info.direction" value="down"/>
  -  </task>
  -
   </tasks>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org