Community
Participate
Working Groups
In Photon 4.8.0 when I create a synchronized remote project that has a vendor folder, after a synchronization the vendor folder on the server is deleted. This don't happens with oxygen.3. This happens with a yii2 project created on the server with: composer create-project --prefer-dist yiisoft/yii2-app-basic basic When I create in Photon a Synchronized PHP Project ..... after some work in local, and a synchronization .... Eclipse completely remove the vendor folder on the server.
Could you explain what you mean by "derived" directory and how it was marked as such? By default, sync projects mirror any local changes to remote. Thus, if the directory is removed locally, sync'ing will remove it remotely. You can add the directory to the filter when the project is created to keep it from being sync'ed.
My original title was: When synchronizing a remore yii2 project the composer folder vendor are completely deleted on server. Someone changed it ... with the "derived" .... I know that when I delete local directory they are removed on remote after sync, but this is not the case. The problem happens only for the directory "vendor" and all the subdir that are managed by composer. The first sync I do correctly copy on local the entire /vendor directory .... but after I sync again from local to remote on remote the /vendor directory are completely removed.
How I wrote before ... this happens only in photon .... in oxygen all works as expected.
(In reply to John Eblen from comment #1) > Could you explain what you mean by "derived" directory and how it was marked > as such? > > By default, sync projects mirror any local changes to remote. Thus, if the > directory is removed locally, sync'ing will remove it remotely. You can add > the directory to the filter when the project is created to keep it from > being sync'ed. PDT automark dirs called "vendor" as derived, if this happen during synchronization from remote, PTP remove dir from localhost and remote.
The org.eclipse.remote component of the Eclipse Ecosystem has a new home. It is now part of the Eclipse CDT project[1]. This change means a new Git repo[2], P2 site[3] and Bugzilla component. The org.eclipse.remote will continue to be delivered as part of the quarterly Simultaneous Release of Eclipse as well. If this bug is no longer relevant, please feel free to comment or close the bug. If you can confirm if this issues still occurs in the latest release please do let me know in a comment. [1] https://wiki.eclipse.org/CDT/User/NewIn106 [2] https://git.eclipse.org/c/cdt/org.eclipse.cdt.git (in the remote directory) [3] first CDT release will be 10.6 - P2 site will be https://download.eclipse.org/tools/cdt/releases/10.6/ (This comment was added to all relevant org.eclipse.remote bugs along with changing the Product/component pair to CDT/remote.)