Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to fetch data from Serene PVCS Web-Client?

 
Nikhil Nagrani
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I have to write a script to fetch data from PVCS repository and that too from a web-client.

What i did i first installed a desktop client and tried to fetch data from it and i was succesfull in doing that.

Also for that i had to set the path in environment variable: C:\Program Files\Serena\vm\win32\bin

Here goes the script:-



But for webclient what changes i need to make for the same?(i can provide the userid and password by setting properties).

But how will i set the path(in environ variable) in case of web-client?

Please help me in resolving the same.Thanks.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by a "web-client"? Do you mean a web app that someone accesses via a browser? If so, then the settings in the script must match what is available on the server hosting the web application, and also the Serena bin directory must be in the PATH on the same server.
 
Nikhil Nagrani
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Peter

Web-Client here implies that PVCS is somewhere installed on a web-server which is actually a remote desktop.And we can access that pvcs repository through a web url and a valid username and password.

Additionaly in the below script i provided the "repository" attribute with the url address and the "userid" attribute too(instead of local settings as i provided in the below script) but i am getting the error.

And regarding the PATH variable how can i know the Serena Path on the webserver?(Basically this path variable is set to get access to pcli and get commands..so for that i have also installed the PVCS desktop client on my system and set the path for the same in the environ variables..so i thing it's not needed to get the path for the webserver as the script is running in my system).

Please reply with your suggestions.Thanks



 
Trupti Jain
Greenhorn
Posts: 3
Eclipse IDE Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am facing the smae issue. I also want to fetch data from PVCS web client thru Ant script?
Is it possible to get data from web client or we have to download dektop client?
and where to get this PVCS Desktop client?

Please help I am in urget need of this.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried looking at the pvcs task documentation: http://ant.apache.org/manual/Tasks/pvcstask.html
What does your pvcs task look like so far? I don't use PVCS, but from a pvcs client can you use a URL to access a remote repository? If so, you should be able to specify that in the repository attribute.
 
Stan Sokolov
Ranch Hand
Posts: 120
Hibernate IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nikhil Nagrani wrote:Hi Guys,

I have to write a script to fetch data from PVCS repository and that too from a web-client.

What i did i first installed a desktop client and tried to fetch data from it and i was succesfull in doing that.

Also for that i had to set the path in environment variable: C:\Program Files\Serena\vm\win32\bin

Here goes the script:-



But for webclient what changes i need to make for the same?(i can provide the userid and password by setting properties).

But how will i set the path(in environ variable) in case of web-client?

Please help me in resolving the same.Thanks.


What I was doing:
- wrote DOS .bat file to check-out files using SERENA command line utility
- call .bat file from ANT task
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic