ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Natalia Bello <nbe...@isabel.be>
Subject RE: Pvcs Task. Promotiongroup
Date Mon, 23 Jul 2001 12:04:28 GMT
Simon, thanks for your answer.
It is strange because for me it works in the command line with the option
-gDevelopment:


	W:\VM\Win32\Bin>pcli get -z -gDevelopment
-prw:/vm/PvcsProj6.5/Isacore /isaisua/be/isaserver 
	PVCS Version Manager (VMGUI) v6.7.00 (Build 894) for Windows
NT/80x86
	Copyright 1985-2000 MERANT.  All rights reserved.
	IsuaConnectorInitUnitTest.java Checked out revision 1.0.
	IsuaConnectorOtherUnitTest.java Checked out revision 1.0.
	IsuaConnectorUnitTest.java Checked out revision 1.0.
	IsuaConnector.java Checked out revision 1.0.
	IsuaLogMsg.java Checked out revision 1.0.
	IsuaUserId.java Checked out revision 1.0.
	IsuaUserIdProvider.java Checked out revision 1.0.

and this doesnt work in the pvcs task. Maybe is something related with the
temporary file that is created, i dont know.

What it doesnt work in command line, is when i try to get files with a label
and a specific promotion group:

	W:\VM\Win32\Bin>pcli get -z -gDevelopment  -r1.0
-prw:/vm/PvcsProj6.5/Isacore /isaisua/be/isaserver
	Error: /IsaIsua/be/isaserver/webfk/toolkit/isua/IsuaLogMsg.java: The
value <Development> for the parameter
<W:\VM\PvcsProj6.5\IsaCore\archives\isaisua\be\isaserver\webfk\toolkit\isua\
IsuaLogMsg.java-arc> is invalid.
	Error:
/IsaIsua/be/isaserver/webfk/toolkit/isua/provider/IsuaUserId.java: The value
<Development> for the parameter
<W:\VM\PvcsProj6.5\IsaCore\archives\isaisua\be\isaserver\webfk\toolkit\isua\
provider\IsuaUserId.java-arc> is invalid.
	Error:
/IsaIsua/be/isaserver/webfk/toolkit/isua/provider/IsuaUserIdProvider.java :
The value <Development> for the parameter
<W:\VM\PvcsProj6.5\IsaCore\archives\isaisua\be\isaserver\webfk\toolkit\isua\
provider\IsuaUserIdProvider.java-arc> is invalid.


Well, anyway i think i can follow getting a specific promotion group with
the "label" attribute.
Thanks again,
Natalia

-----Original Message-----
From: SimonRichardson2@halifax.co.uk
[mailto:SimonRichardson2@halifax.co.uk]
Sent: 23 July 2001 13:39
To: ant-user@jakarta.apache.org
Subject: RE: Pvcs Task. Promotiongroup


I've had a look at the merant support website and I've found out how to get
a file, specifying the promotion group.  You need to give the location of
your configuration file!!  This option should be made available to you in
the pvcs task.

On the command line this works as follows:

get -c<path to the config file> -g<promotion group> <archive location of
file>

.. and in my case this equates to (note the \\\\ for the config file
location! .. it doesn't work with \\!!!!)
C:\TEMP>get -c\\\\trdbd04\pvcs\administration\49_superstructure.cfg -gTest
\\trdbd04\pvcs\49_superstructure\archives\ss1
\com\cw\src\SimpleThread.java-arc
PVCS Version Manager (get) v6.7.00 (Build 894) for Windows NT/80x86
Copyright 1985-2000 MERANT.  All rights reserved.
SimpleThread.java <-
\\trdbd04\pvcs\49_superstructure\archives\ss1\com\cw\src\SimpleThread.java-a
rc
rev 1.1

Simon


-----Original Message-----
From: SimonRichardson2@halifax.co.uk
[mailto:SimonRichardson2@halifax.co.uk]
Sent: 23 July 2001 12:15
To: ant-user@jakarta.apache.org
Subject: RE: Pvcs Task. Promotiongroup


Natalia
 
The same happens using the pvcs command line:
 
Specifying a promotion group:
 
C:\TEMP>get -gTest
\\trdbd04\pvcs\49_superstructure\archives\ss1\com\cw\src\SimpleThread.java-a
rc
<file://\\trdbd04\pvcs\49_superstructure\archives\ss1\com\cw\src\SimpleThrea
d.java-arc> 
PVCS Version Manager (get) v6.7.00 (Build 894) for Windows NT/80x86
Copyright 1985-2000 MERANT.  All rights reserved.
get: Group "Test" does not exist in promotion hierarchy.
 
Specifying a version label:
 
C:\TEMP>get -v13.4.2
\\trdbd04\pvcs\49_superstructure\archives\ss1\com\cw\src\SimpleThread.java-a
rc
<file://\\trdbd04\pvcs\49_superstructure\archives\ss1\com\cw\src\SimpleThrea
d.java-arc> 
PVCS Version Manager (get) v6.7.00 (Build 894) for Windows NT/80x86
Copyright 1985-2000 MERANT.  All rights reserved.
SimpleThread.java <-
\\trdbd04\pvcs\49_superstructure\archives\ss1\com\cw\src\SimpleThread.java-a
rc
<file://\\trdbd04\pvcs\49_superstructure\archives\ss1\com\cw\src\SimpleThrea
d.java-arc> 
rev 1.0
 
I know it doesn't help, but I would suggest this may be something you could
ask merant?
 
Simon
 
-----Original Message-----
From: Natalia Bello [ mailto:nbello@isabel.be <mailto:nbello@isabel.be> ]
Sent: 23 July 2001 11:13
To: 'ant-user@jakarta.apache.org'
Subject: 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 


----------------------------------------------------------------------------
--
Part of the Halifax Group, Halifax plc, Registered in England No. 2367076.
Registered Office: Trinity Road, Halifax, West Yorkshire HX1 2RG. Represents
only the Halifax Financial Services Marketing Group for the purposes of
advising on and selling life assurance, pensions and unit trust business.
The Marketing Group is regulated by the Personal Investment Authority.
Switchboard 01422 333333.


============================================================================
==


----------------------------------------------------------------------------
--
Part of the Halifax Group, Halifax plc, Registered in England No. 2367076.
Registered Office: Trinity Road, Halifax, West Yorkshire HX1 2RG. Represents
only the Halifax Financial Services Marketing Group for the purposes of
advising on and selling life assurance, pensions and unit trust business.
The Marketing Group is regulated by the Personal Investment Authority.
Switchboard 01422 333333.


============================================================================
==

Mime
View raw message