Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "FAQ How do I deploy projects to a server and keep the two synchronized?"
m |
|||
Line 32: | Line 32: | ||
how to implement your own team subscriber and for integrating with the | how to implement your own team subscriber and for integrating with the | ||
generic Synchronize view. | generic Synchronize view. | ||
+ | |||
+ | '''Aside:''' if all you really want is to do is synch Eclipse workspace content with a webserver, see [[Eclipse Server Sandbox Setup]] for an idea on how this can be done. | ||
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font> | <hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font> |
Latest revision as of 21:40, 29 August 2006
Some development tools include support for pushing projects to a remote server, using such protocols as FTP and WebDAV. Then an ongoing challenge is to keep the old workspace contents synchronized with the remote content as files in the workspace and on the remote server are added, removed, or changed. The Eclipse team API includes generic infrastructure for deploying workspace contents to a remote location and for keeping the two copies synchronized.
The main entry point for this kind of team integration is the notion
of a team subscriber. A subclass of TeamSubscriber
specifies the logic for comparing workspace contents to a remote resource
and for performing synchronization. The team API has support for building
and maintaining a model of remote resources and the synchronization
state between remote and local resources. A subscriber can use the generic
Synchronize view to allow users to browse the differences between
local and remote copies and for refreshing and synchronizing the two.
The org.eclipse.team.ui.synchronize package includes API
for adding pages to the Synchronize view and for displaying the synchronization
model created by a team subscriber.
See the Platform Plug-in Developer Guide
under Programmer’s Guide > Team support for complete details on
how to implement your own team subscriber and for integrating with the
generic Synchronize view.
Aside: if all you really want is to do is synch Eclipse workspace content with a webserver, see Eclipse Server Sandbox Setup for an idea on how this can be done.
This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.