You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Mattos, John" <jm...@Indemand.com> on 2002/08/22 18:10:59 UTC

CVS Tag problem. Cannot find #cvs.lock??

Hi all,

I've got the following CVS target in my build.xml. the checkout part works
fine (the CVS_RSH is set up, etc.) but I can't get it to TAG the stuff after
I get it out of CVS using the second two commands below..

It tells me...
      [cvs] cvs server: failed to create lock directory for
`/usr/local/indab/build' (/usr/local/indab/build/#cvs.lock): No such file or
directory

Help?!!?!?!

<!-- CVS -->
  <target name="cvs" depends="init" description="get the source from CVS" >
     <tstamp>
       <format property="label.time" pattern="MMMM-dd-yyyy_hh-mm-ss_aa"/>
     </tstamp>
     
     <cvs cvsRoot="${cvsRoot}" cvsRsh="${cvsRsh}" 
		compressionlevel="9" passfile="${passFile}" 
		package="indabWeb" dest="${src}"/>

     <cvs cvsRoot="${cvsRoot}" cvsRsh="${cvsRsh}" 
		compressionlevel="9" passfile="${passFile}" 
		package="indab" dest="${src}"/>

     <cvs cvsRoot="${cvsRoot}" cvsRsh="${cvsRsh}" compressionlevel="9" 
		passfile="${passFile}" package="indabWeb" 
		command="tag -R BUILD_JLM_${label.time}" />

     <cvs cvsRoot="${cvsRoot}" cvsRsh="${cvsRsh}" 
		compressionlevel="9" passfile="${passFile}" package="indab" 
				command="tag -R BUILD_JLM_${label.time}" />
  </target>

Results
      [cvs] Using cvs passfile: C:\putty\rsa\key
      [cvs] Authenticating with public key "Everyone@MATTOS"
      [cvs] cvs server: failed to create lock directory for
`/usr/local/indab/build' (/usr/local/indab/build/#cvs.lock): No such file or
directory
      [cvs] cvs server: failed to obtain dir lock in repository
`/usr/local/indab/build'
      [cvs] cvs [server aborted]: read lock failed - giving up
      [cvs] Using cvs passfile: C:\putty\rsa\key
      [cvs] Authenticating with public key "Everyone@MATTOS"
      [cvs] cvs server: failed to create lock directory for
`/usr/local/indab/build' (/usr/local/indab/build/#cvs.lock): No such file or
directory
      [cvs] cvs server: failed to obtain dir lock in repository
`/usr/local/indab/build'
      [cvs] cvs [server aborted]: read lock failed - giving up

AW: CVS Tag problem. Cannot find #cvs.lock??

Posted by Nick Pellow <ni...@mindmatics.de>.
Hi John,
It looks like a CVS problem, not an ANT problem.
Does the user in C:\putty\rsa\key have write access
to the directory /usr/local/indab/build on the server?
Can you checkout the package from the commandline using
the cvs same command?

Cheers,
Nick


> -----Ursprüngliche Nachricht-----
> Von: Mattos, John [mailto:jmattos@Indemand.com]
> Gesendet: Donnerstag, 22. August 2002 18:11
> An: 'ant-user@jakarta.apache.org'
> Betreff: CVS Tag problem. Cannot find #cvs.lock??
>
>
> Hi all,
>
> I've got the following CVS target in my build.xml. the checkout part works
> fine (the CVS_RSH is set up, etc.) but I can't get it to TAG the
> stuff after
> I get it out of CVS using the second two commands below..
>
> It tells me...
>       [cvs] cvs server: failed to create lock directory for
> `/usr/local/indab/build' (/usr/local/indab/build/#cvs.lock): No
> such file or
> directory
>
> Help?!!?!?!
>
> <!-- CVS -->
>   <target name="cvs" depends="init" description="get the source
> from CVS" >
>      <tstamp>
>        <format property="label.time" pattern="MMMM-dd-yyyy_hh-mm-ss_aa"/>
>      </tstamp>
>
>      <cvs cvsRoot="${cvsRoot}" cvsRsh="${cvsRsh}"
> 		compressionlevel="9" passfile="${passFile}"
> 		package="indabWeb" dest="${src}"/>
>
>      <cvs cvsRoot="${cvsRoot}" cvsRsh="${cvsRsh}"
> 		compressionlevel="9" passfile="${passFile}"
> 		package="indab" dest="${src}"/>
>
>      <cvs cvsRoot="${cvsRoot}" cvsRsh="${cvsRsh}" compressionlevel="9"
> 		passfile="${passFile}" package="indabWeb"
> 		command="tag -R BUILD_JLM_${label.time}" />
>
>      <cvs cvsRoot="${cvsRoot}" cvsRsh="${cvsRsh}"
> 		compressionlevel="9" passfile="${passFile}" package="indab"
> 				command="tag -R BUILD_JLM_${label.time}" />
>   </target>
>
> Results
>       [cvs] Using cvs passfile: C:\putty\rsa\key
>       [cvs] Authenticating with public key "Everyone@MATTOS"
>       [cvs] cvs server: failed to create lock directory for
> `/usr/local/indab/build' (/usr/local/indab/build/#cvs.lock): No
> such file or
> directory
>       [cvs] cvs server: failed to obtain dir lock in repository
> `/usr/local/indab/build'
>       [cvs] cvs [server aborted]: read lock failed - giving up
>       [cvs] Using cvs passfile: C:\putty\rsa\key
>       [cvs] Authenticating with public key "Everyone@MATTOS"
>       [cvs] cvs server: failed to create lock directory for
> `/usr/local/indab/build' (/usr/local/indab/build/#cvs.lock): No
> such file or
> directory
>       [cvs] cvs server: failed to obtain dir lock in repository
> `/usr/local/indab/build'
>       [cvs] cvs [server aborted]: read lock failed - giving up
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>