Title: Pvcs Task. Promotiongroup

hi ,
I am trying to get a project from PVCS, all work fine if i use the attribute "label" (where i can specified versions, M-revisions and promotions groups) but if i try to use the attribute "promotiongroup"

My code is:

  <target name="get_pvcs">
      <echo message="Getting ${get.module} from PVCS....."  />
      <pvcs repository="${pvcs.dir}/${current.module}" pvcsbin="${pvcs.bin}" pvcsproject="${get.module}" force="yes" label="1.1" promotiongroup="Development"     />

   </target>

and i allways get this error:
get_pvcs:
     [echo] Getting /isaisua/be/isaserver from PVCS.....
     [pvcs] PVCS Version Manager (VMGUI) v6.7.00 (Build 894) for Windows NT/80x86
     [pvcs] Copyright 1985-2000 MERANT.  All rights reserved.
     [pvcs] PVCS Version Manager (get) v6.7.00 (Build 894) for Windows NT/80x86
     [pvcs] Copyright 1985-2000 MERANT.  All rights reserved.
     [pvcs] get: Group "Development" does not exist in promotion hierarchy.
     [pvcs] get: Group "Development" does not exist in promotion hierarchy.
     [pvcs] get: Group "Development" does not exist in promotion hierarchy.
     [pvcs] get: Group "Development" does not exist in promotion hierarchy.
     [pvcs] get: Group "Development" does not exist in promotion hierarchy.
     [pvcs] get: Group "Development" does not exist in promotion hierarchy.
     [pvcs] get: Group "Development" does not exist in promotion hierarchy.

BUILD FAILED

D:\JavaBuildFiles\build-basic.xml:422: Failed executing: w:\vm\win32\bin\get -Y -GDevelopment @D:\JavaBuildFiles\pvcs_ant_8996327492223297969.log

Total time: 21 seconds

I am sure that Development group exists because if i execute the following code, it success.
  <target name="get_pvcs">
      <echo message="Getting ${get.module} from PVCS....."  />
      <pvcs repository="${pvcs.dir}/${current.module}" pvcsbin="${pvcs.bin}" pvcsproject="${get.module}" force="yes" label="Development"     />

   </target>

Does anyone know what i am doing wrong??
thanks !
Natalia

Reply via email to