bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cvs commit command using absolute path


From: Sunil Saxena
Subject: cvs commit command using absolute path
Date: Thu, 21 Jan 2010 20:57:38 -0500

Hi,

In cvs, "*commit*" command is it possible to specify absolute path instead
of relative path during checkin of file ?
Need to checkin the build jars into CVS automatically

I have ant build scripts in : /export/home/apache-ant-1.7.1 directory

Relative Path of jar in cvs :project-details/CompiledJars/environments.jar

*
*
*Build can be processed in following paths*
     /test/path1
        OR
     /test/path2

So jar will be created / updated by  build process in
    /test/path1/project-details/CompiledJars/environments.jar
        OR
    /test/path2/project-details/CompiledJars/environments.jar



Relative Path like this would work from /test/path2 directory
cvs  -d $cv commit -m "no
message"   project-details/CompiledJars/environments.jar
project-details/CompiledJars/environments.jar



But would require absolute path, Is it directly possible to pass absolute
path to cvs commit command ?

Something like this ..... [ this doesnt work]
1) Run the ant script from /export/home/apache-ant-1.7.1
2) cvs -d $cvs.root commit -m "no message"
*/test/path2/project-details**/*CompiledJars/environments.jar
project-details/CompiledJars/environments.jar
Considering,
              /test/path2/project-details/CompiledJars/environments.jar =
Absolute path of jar on local machine
              project-details/CompiledJars/environments.jar = Relative /
Absolute Path of jar in CVS


Could you please help me out with the same

Regards,
Sunil


reply via email to

[Prev in Thread] Current Thread [Next in Thread]