Can't commit a previously updated and edited file ...

Steffen Böhme <[email protected]> Tue, 18 May 2004 21:29:42 +0200
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
Hi,

i have a problem with commiting a file and can't solve it ...

At the beginning I check out a file using the update-command.
The listener shows the following line:

   U .Trilith-Versionen/Produktiv-Pakete/Steffen.trilith-pakage.xml

and the file is writen to the right place ... thats great, but if i 
change the file (I recreate it, not just modify ... but I think thats 
not the problem) and try to commit it to the repository i get the 
following errors:

If I try to add the file, then I get this error:

   cvs [server aborted]: cannot read directory 
/usr/cvs/.Trilith-Versionen/Produktiv-Pakete/Steffen.trilith-pakage.xml: 
No such file or directory

If I try to execute the update-command, then I get the following Error:

   cvs server: failed to create lock directory for 
`/usr/cvs/.Trilith-Versionen/Produktiv-Pakete/Steffen.trilith-pakage.xml' 
(/usr/cvs/.Trilith-Versionen/Produktiv-Pakete/Steffen.trilith-pakage.xml/#cvs.lock): 
No such file or directory
   cvs server: failed to obtain dir lock in repository 
`/usr/cvs/.Trilith-Versionen/Produktiv-Pakete/Steffen.trilith-pakage.xml'
   cvs [server aborted]: read lock failed - giving up

And finally if I try to commit the file, then I get this message:

   cvs server: failed to create lock directory for 
`/usr/cvs/.Trilith-Versionen/Produktiv-Pakete/Steffen.trilith-pakage.xml' 
(/usr/cvs/.Trilith-Versionen/Produktiv-Pakete/Steffen.trilith-pakage.xml/#cvs.lock): 
No such file or directory
   cvs server: lock failed - giving up
   cvs [server aborted]: lock failed - giving up

I've tried any possible versions of the above commands:

- first add, then update, then commit
- first update, then commit
- only commit

but I get  every time the same errors ... and I don't understand this ...
Why does the cvs tries to check the file in as a directory?
Have I to set speciall options if I checkout this file?
I check only this file out ... setting update-command-files on this 
file, not the directory: update.setFiles(new File[] {"the path to the 
file with filename"}) !?

I hope, somebody can help me ...
thanks a lot

Steffen