jQuery in Action, 3rd edition
The moose likes Ant, Maven and Other Build Tools and the fly likes cvs status with absolute path problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "cvs status with absolute path problem." Watch "cvs status with absolute path problem." New topic

cvs status with absolute path problem.

kopparapu v kiran kumar
Ranch Hand

Joined: Oct 16, 2008
Posts: 32


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

Joined: Dec 20, 2006
Posts: 2562

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.

OCUP UML fundamental and ITIL foundation
I agree. Here's the link: http://aspose.com/file-tools
subject: cvs status with absolute path problem.
It's not a secret anymore!