aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes How to fetch data from Serene PVCS Web-Client? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "How to fetch data from Serene PVCS Web-Client?" Watch "How to fetch data from Serene PVCS Web-Client?" New topic
Author

How to fetch data from Serene PVCS Web-Client?

Nikhil Nagrani
Greenhorn

Joined: Dec 23, 2010
Posts: 24
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

Joined: May 14, 2008
Posts: 5823
    
    7

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.


JBoss In Action
Nikhil Nagrani
Greenhorn

Joined: Dec 23, 2010
Posts: 24
@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

Joined: Jul 26, 2011
Posts: 3

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

Joined: May 14, 2008
Posts: 5823
    
    7

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.
Stas Sokolov
Ranch Hand

Joined: Apr 13, 2004
Posts: 117

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

Good luck for yourself.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to fetch data from Serene PVCS Web-Client?