if i try to checkout the vaj2cvs project itself from
sourceforge in VAJ with vaj2cvs itself then i get the
sourcecode but no resource files.
as one can see in CVSWeb there is a directory called
VAJ-Resources
with the file vaj2cvs.txt and
with a subdir called vaj2cvs which is empty.
both the file and the subdir are ignored when i
checkout the vaj2cvs project with vaj2cvs.
the background is: i was trying to make the Resource
support which was commited from jkersing on
Tue Jun 19 21:29:00 2001 UTC
work with my own cvs projects but failed.
so i tried vaj2cvs itself hoping that this is a
working example. but it is not.
Logged In: YES
user_id=189671
VAJ-Resources are not ignored. We're using them on a daily
basis without any problem. They are tricky to set up
correctly, please use the procedure listed below.
To create a working resource file setup you need to:
1. Create a subdirectory called VAJ-Resources at the root of
your cvs
repository.
2. Create a directory within the VAJ-Resources directory
with the name of
the project, replacing all spaces by dashes. So for a
project called
'Tes t Project' the directory would be:
CVSROOT/VAJ-Resources/Test-Project
3. Now at the system running VAJ add the files you want to
check in to
the directory ide/project_resources/Name of Your
Project
('ide/project_resources/Test Project' for our example)
4. In VAJ open the resource page (right click on projectname
and select
open to resources)
5. Use the Tools->CVS sub-menu to add and commit.
After all these steps you should find the ,v files within
the directory you created at 2, signalling a succesfull
checkin.
Please keep us posted if this solves your problem(s).
(As the vaj2cvs project contains no resource files in the
VAJ-Resources directory it does not make sense to use it for
testing purposes. If there would be any you would have to
name the project 'vaj2cvs' [all lower case] in VAJ to access
them. I'll think about adding some test resources later on)
Regards,
Jac
Logged In: NO
in between i played a little bit with pathnames and
modulenames using the debugger and found finaly out how it
will work.
one of the problems was that i have a existing cvs-project
which i needed to adapt.
the point is that anything you want to have in the
resources of a project need to be checkt out as:
VAJ-Resources.<vaj-projectname>/<rest of the path>
if an existing project does not look like this you simply
need to define "virtual cvs modules" to "translate" your
existing pathes to the format described above.
Bodo Teichmann
Logged In: NO
Yes, but what if you have several projects in your cvs
repository ??? You cannot centralize each project resources
in only one VAJ-Resources directory , that would be
difficult to maintain (witch resource is for which project)
Eg:
Swing project 1 has sources in
CVSROOT/projects/swing1/src
and resources in
CVSROOT/projects/swing2/resources
Swing projects 2 has resources in
CVSROOT/projects/swing2/src
and resources in
CVSROOT/projects/swing2/resources
Each project comes with a bundle for languages, in
my.package.swing1.language and my.package.swing2.language...
How do you describe this situation in CVSROOT/modules ??
Logged In: YES
user_id=323043
>Yes, but what if you have several projects in your cvs
>repository ??? You cannot centralize each project
>resources
>in only one VAJ-Resources directory , that would be
>difficult to maintain (witch resource is for which project)
>...
please have a look at this patch: RequestId 461219
this patch solves exactly this problem.
bodo
Logged In: YES
user_id=189671
To use different resource directories for different
projects you do not need to apply a patch. Please see the
usage example in this 'thread'. For the Test Project the
resources will be in VAJ-Resources.Test-Project for VAJ2CVS
in VAJ-Resources.VAJ2CVS.
Regards,
Jac