You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2001/09/27 05:41:40 UTC

cvs commit: jakarta-turbine-2/conf/torque/templates/sql/load Control.vm

jvanzyl     01/09/26 20:41:40

  Modified:    conf/torque/templates/sql/load Control.vm
  Log:
  - letting the task attributes set the name of the output file
    as the control template outputs nothing to look at. i don't
    always want the output to be named ${project}-data.xml.
  
  Revision  Changes    Path
  1.2       +1 -2      jakarta-turbine-2/conf/torque/templates/sql/load/Control.vm
  
  Index: Control.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/conf/torque/templates/sql/load/Control.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Control.vm	2001/08/16 05:07:01	1.1
  +++ Control.vm	2001/09/27 03:41:40	1.2
  @@ -1,6 +1,5 @@
   #set ( $fname= "sql/load/${targetDatabase}/row.vm" )
  -#set ( $outFile = "${project}-data.sql")
   
   #foreach ($r in $data)
  -    $generator.parse($fname,$outFile,"row",$r)
  +$generator.parse($fname,"","row",$r)
   #end
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org