• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

cvs status with absolute path problem.

 
Ranch Hand
Posts: 32
MySQL Database Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 2661
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
When all four tires fall off your canoe, how many tiny ads does it take to build a doghouse?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic