aspose file tools*
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
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
Author

cvs status with absolute path problem.

kopparapu v kiran kumar
Ranch Hand

Joined: Oct 16, 2008
Posts: 32

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

Joined: Dec 20, 2006
Posts: 2510
    
  10

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
youtube channel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cvs status with absolute path problem.