I just tried to set up a CVS-repository at work, to schedule the development between different
users. There I encountered the problem, that the project we work on has some empty properties
files, that vaj2cvs won´t import. On the other hand, I should mention that I didn´t work with VAJ
before, so if this isn´t a bug, throw it away.
I constructed an example, so that you may be able to see my problem.
I imported a project with a sigle empty file in it.
Check out from command line works fine.
If I try to check out with vaj2cvs, I get an exception.
~/work $ mkdir vaj2cvs_emptyfile
~/work $ touch vaj2cvs_emptyfile/emptyfile
~/work $ ls -l vaj2cvs_emptyfile/
insgesamt 0
-rw-r--r-- 1 Administ Kein 0 18. Jul 06:44 emptyfile
~/work $ cd vaj2cvs_emptyfile/
~/work/vaj2cvs_emptyfile $ cvs import vaj2cvs_emptyfile bugreport v1_0
N vaj2cvs_emptyfile/emptyfile
No conflicts created by this import
~/work/vaj2cvs_emptyfile $ cd ..
~/work $ mkdir co_vaj2cvs_emptyfile
~/work $ cd co_vaj2cvs_emptyfile/
~/work/co_vaj2cvs_emptyfile $ cvs co vaj2cvs_emptyfile
cvs server: Updating vaj2cvs_emptyfile
U vaj2cvs_emptyfile/emptyfile
~/work/co_vaj2cvs_emptyfile $ ls -l
insgesamt 0
drwxr-xr-x 3 Administ Kein 0 18. Jul 06:53 vaj2cvs_emptyfile
~/work/co_vaj2cvs_emptyfile $ ls -l vaj2cvs_emptyfile/
insgesamt 4
drwxr-xr-x 2 Administ Kein 4096 18. Jul 06:53 CVS
-rw-r--r-- 1 Administ Kein 0 18. Jul 06:51 emptyfile
----------------------------------------------------------------------------------
vaj2cvs beta test version 0.34
Copyright (C) 1999, 2000 Wisconsin Supreme Court
This is free software, and you are welcome to
redistribute it under certain conditions.
vaj2cvs comes with ABSOLUTELY NO WARRANTY.
See the GNU General Public License for details.
cvs server: Updating VAJ-Project.vaj2cvs_emptyfile
U VAJ-Project.vaj2cvs_emptyfile/emptyfile
Done. ***** Java exception thrown by tool. *****
----------------------------------------------------------------------------------
vaj2cvs.CvsException: Unable to get resource directory for VAJ-Project.vaj2cvs_emptyfile
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
vaj2cvs.CvsException(java.lang.String)
void vaj2cvs.CvsConnection.processFile(java.lang.String, java.lang.String,
java.lang.String, java.lang.String, java.lang.String, java.lang.String)
void vaj2cvs.CvsConnection.processResponseStream(java.lang.String, java.lang.String)
void vaj2cvs.CvsCheckout.main(java.lang.String [])