[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-vcm-dev] CVS synchronization problem
|
Core has provided a "derived" flag on IResource, with the intention that
builders will mark their output derived and providers will ignore derived
for version management.
One remaining question we are working on is wether they should be marking
the directories as well, or wether derived on a folder should be based on
the derived status of its children, or finally whether CVS should implement
the latter semantics on folders. Regarldess of which route we take, the
folder problem should go away.
Note however that for CVS support there is a "ignore empty directories"
preference for CVS that should also make the case you mentioned below go
away.
Kevin
Bryan Stephenson
<Bryan.Stephenson@meran To: platform-vcm-dev@xxxxxxxxxxx
t.com> cc:
Sent by: Subject: [platform-vcm-dev] CVS synchronization problem
platform-vcm-dev-admin@
eclipse.org
04/04/2002 07:45 AM
Please respond to
platform-vcm-dev
This relates to problems synchronizing with the repository originally found
in
Eclipse 1.0 VCM. The problem is with effectively empty directories such
as the bin directory. I say effectively as there are .class and any other
copied files such as
.properties .txt. With the default selection of .class files in the
ignored resources a directory in the bin tree will appear to be empty and
only the directory tree is created.
However, subsequent synchronizations show the "bin" tree as requiring
catchup/release. A simple workaround was to add "bin" to the list of
ignored resources. After a number of catchup/release cycles it behaved as
expected. This would appear to be the best solution
as globally ignoring .txt and .properties would preclude their storage in
the src tree. This gets more complicated in say WSAD where in web projects
classes get put in the WEB-INF/classes tree. I checked previous
messages/bug reports anw while I found some similar issues, there was no
concrete resolution. As this was VCM 1.0 we were waiting for possible
resolution in Team 2.0. Note that without bin or classes in the ignore
lists it is easy for ther user to get into the situation.
The reason I am raising this now is that it appears to be a problem with
the CVS support
in Team 2.0. I have a plugin project and it continually asks me to update
from the CVS repository the bin tree even though no files have changed.
Is this still expected behaviour or is is a manifestation of the same
problem as in VCM 1.0. It seems that manipulating the ignore entries can
resolve the problem.
Bryan Stephenson
mailto:Bryan.Stephenson@xxxxxxxxxx