• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cvs status with absolute path problem.

 
kopparapu v kiran kumar
Ranch Hand
Posts: 32
Chrome Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying to write a ant build file to get the status of the given project/package from CVS as shown below.



Using above snippet I'm able to connect MyWebServices project which is located under the head. Since I'm using c:/temp/MyWebServices which is already checked out from cvs in my current temp location.

Here what I'm basically trying to get to see what are all the files which are modified in locally (means in my workspace) and remote.

Ant always says cvs_target: [cvs] cvs [status aborted]: Absolute pathname `C:\\temp\\MyWebservices' not allowed...

Kindly provide a solution for this problem. I don't want to place this ant file in the MyWebServices probject, rather I would like to keep this file outside of the project, so that I can make use of the same script for any
project which is located into cvs.

Thanks in advance!!

Kiran Kumar.
 
Jan Cumps
Bartender
Posts: 2588
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From http://www.cvsnt.org/pipermail/cvsnt/2003-March/005952.html:

Because absolute paths mean nothiing to the server - they're client specific.
You should be using paths relative to the sandbox.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic