Sunil Saxena
2010-01-22 01:58:49 UTC
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
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