Hi,

i think, i found the problem (on WinNT at least):
ant will find the cvs executable, when it is in the PATH, but contrary 
to what you're used to from working with Batches you MUST NOT 
doublequote the path, even if there are spaces in it!

So this works for me
        set PATH=c:\Programme\gnu\WinCVS 1.1;%PATH%

So, you don't need to move your cvs directory around.


Martin.



List:     ant-user
Subject:  RE: Question: How to make ant running with cvs
From:     Viraj Purang <[EMAIL PROTECTED]>
Date:     2001-06-19 20:22:35
[Download message RAW]

Hi,
     I changed the directory that I was accessing to one which does not have
spaces in its name (Mind you , I had given the quotes to take care of that
..., but that in fact quotes coould be a problem too.) from
C:\CVS1\builder>set PATH
PATH="C:\Progra~1\GNU\WinCvs 1.1" to point to C:\CVS1\builder>set
PATH=c:\mycvs;%PATH% (I did not reinstall WinCvs, just copied the files over
to c:\Mycvs) and the error changed , basically it started recognizing the
cvs.exe that I have.
        IN response to your qn ...does WinCVS even have a command-line
interface?
     They have a cvs.exe and a WinCvs.exe which leads me to believe that 
they
wanted us to have an option here of being capable enough to invoke the cvs
program from the command line too.IN hindsight,  I guess I would not know
unless I burn myself on this one but responses now seem to be quite
encouraging as the results below show.

      If you know any other working CVS client on Windows, I would be the
happiest person to know about it !
----------------------------------------------------------------------------

Reply via email to