The problem is the following:

Assume you are sharing files and omit those one that will be modified 
(depending on
your local environment) by some plugins automatically.

>From my point of view it is not desired that those files will be automatically 
>shared
because I did NOT enclude them, when I shared my project with someone.

We already check if the resource is marked as derived ... but this can:

1. Not always be the case
2. There is also an TODO in SarosProjectMapper

        if (idMapping.containsValue(project)) {
            if (isCompletelyShared(project)) {
                // TODO how should partial sharing handle this case ?
                return !resource.isDerived(IResource.CHECK_ANCESTORS);
            }
            List<IResource> resources = resourceMapping.get(project);
            return resources.contains(resource);
        }

But I do not think that this causing this failure.

Again this may be an design issue as nobody really knows how
the partial sharing should handle files expect Karl Held who wrote
that feature.


---

** [bugs:#793] Partial Sharing overwrite non shared files**

**Status:** open
**Labels:** Consistency 
**Created:** Mon Mar 11, 2013 06:17 PM UTC by Stefan Rossbach
**Last Updated:** Fri Mar 22, 2013 10:09 PM UTC
**Owner:** Arsenij E. Solovjev

Files that are manipulated outside of Eclipse or in the background (by a plugin)
will become shared and so be transmitted to the remote side where the affected
files will get overwritten without any warning.

---

Sent from sourceforge.net because you indicated interest in 
<https://sourceforge.net/p/dpp/bugs/793/>

To unsubscribe from further messages, please visit 
<https://sourceforge.net/auth/prefs/>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Dpp-robot mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dpp-robot

Reply via email to