• 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

Eclipse's ANT using CVS gets error code 1

 
Author
Posts: 131
7
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm running an ANT script within Eclipse. The ANT script is suppose to checkout files from CVS. I get the following error when I try to do this. Anyone run into this before?



[edited to add line breaks in PATH]
[ January 17, 2006: Message edited by: Jeanne Boyarsky ]
 
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try adding the "error" property to your CVS task to capture the error output into a file:

eg.
<cvs ... error="error.log" />

Also double check your checkout command, just briefly looking at the command, looks like you are missing a space when specifying your revision.

eg.
-r rmt_prod_20050925_5
 
Michael Remijan
Author
Posts: 131
7
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Those are good suggestions. However, when I do use the error property I get no output. And your comment about "-r rmt_prod_20050925_5" is on obvious thing to look at but, in fact with cvs "-rrmt_prod_20050925_5" works just fine. I tried it directly on the command line.

I have, however, discovered a solution. It's a cvs password problem. I was setting the attribute to my .cvspass file however, the version of WinCVS I'm using doesn't seem to use the .cvspass file anymore. Instead it stores your password in the windows system registry. So in my ANT build script I removed setting the location to my .cvspass file and it worked! cvs finds the password in the windows system registry.
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cool, glad you sorted it out without too much pain.

Cheers.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic