ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stephan beal <step...@wanderinghorse.net>
Subject Re: CVS and ant
Date Tue, 02 Apr 2002 13:03:21 GMT
On Tuesday 02 April 2002 02:57 am, jinwei@korvac.com wrote:
>       [cvs] protocol error: `../source/src/oneOfMyFolders' has
> too many ..
>
> It is complaining the '..' - the protocol error. I did not change that else
> my ant would not be pointing to the right folder. How can I solve this
> problem?

The <cvs> task uses the standard cvs command-line client to do it's 
work, so it also has the same limitations as that tool. Cvs itself won't 
allow relative paths with ../ in an update command. Try it out on any cvs 
tree you've got laying around:

stephan@cheyenne:~/cvs/qub/lib> cvs up ../Makefile.am
protocol error: `..' has too many ..

Absolute paths will apparently also fail:

stephan@cheyenne:~/cvs/qub> export foo=$PWD
stephan@cheyenne:~/cvs/qub> cd -
/home/stephan/cvs/qub/lib
stephan@cheyenne:~/cvs/qub/lib> cvs up $foo/Makefile.am
absolute pathname `/home/stephan/cvs/qub' illegal for server
stephan@cheyenne:~/cvs/qub/lib> cd ..
stephan@cheyenne:~/cvs/qub> cvs up $foo/Makefile.am
absolute pathname `/home/stephan/cvs/qub' illegal for server
stephan@cheyenne:~/cvs/qub> echo $foo
/home/stephan/cvs/qub


----- stephan
Generic Unix Computer Guy
stephan@einsurance.de - http://www.einsurance.de
Office: +49 (89)  552 92 862 Handy:  +49 (179) 211 97 67
"...control is a degree of inhibition, and a system which is perfectly
inhibited is completely frozen." -- Alan W. Watts

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message