cvs commit command using absolute path

Sunil Saxena <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Organization http://groups.google.com
Message-ID <a743d082-affb-49e9-851a-53318afe71e2@k17g2000yqh.googlegroups.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.