This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes PVCS task in ANT - unable t run from WSAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "PVCS task in ANT - unable t run from WSAD" Watch "PVCS task in ANT - unable t run from WSAD" New topic
Author

PVCS task in ANT - unable t run from WSAD

sub venkat
Greenhorn

Joined: May 19, 2004
Posts: 15
I try to run the ANT pvcs task from within WSAD (Right click on build.xml-->"Run Ant").
1. Now this build.xml file, I placed in the project workspace (of WSAD).
2. Before I placed the build.xml file, I imported the project into this work space in WSAD manually from the PVCS repository,

then copied the build.xml file into the project folder (which is within the WorkSpace in WSAD).
3. That is how I am able to access the ant script (build.xml) from within WSAD (ie., since I placed the build.xml file in the

same workspace as the project).
4. This is the ANT task I m trying to run:

<pvcs repository="S:\Wsadproj\WSWSAD~1" pvcsproject="/myproj"/>

What I am expecting this to do is get the latest project copy of "myproj" from the remote repository on network-mapped S

drive, into my WSAD workspace from where I am running the ANT script (build.xml).
5. Now the question is: the ant script throws this exception:
Build exception: Failed executing: pcli lvf -z -aw -prS:\Wsadproj\WSWSAD~1 /myproj
6. I do have access to the repository since I was able to run the command:
pcli lvf -z -aw -prS:\Wsadproj\WSWSAD~1 /myproj
after setting "PCLI_ID" from a command window.

Any help is greatly appreciated.

thank you.
C Tobias
Greenhorn

Joined: May 26, 2004
Posts: 3
What version of PVCS are you using Sub Cat?
sub venkat
Greenhorn

Joined: May 19, 2004
Posts: 15
At the time of posting this message, I was using ANt 1.4.1. But later I shunned that and downloaded a binary version 1.6.1. from apache, and am NOT running it in WSAD but from command line. It works with the PVCS task also.


thanks.
C Tobias
Greenhorn

Joined: May 26, 2004
Posts: 3
I wondered about the version of PVCS for my own purposes too.
I've had exactly the problem you describe trying to run ant with PVCS 6.5. I wondered whether you were using this same version?
sub venkat
Greenhorn

Joined: May 19, 2004
Posts: 15
I am sorry, I did not read your message properly earlier. The PVCS here is version 7.5
 
 
subject: PVCS task in ANT - unable t run from WSAD
 
Similar Threads
Fetching code from Serena [Version control] using ANT tasks
Simple PVCS Get
Pvcs Ant
How can we tell if a task is supported or not by the current ANT installation?
Problem running ant with PVCS