3. Sync the content

The content folder needs to be synchronized with the WebDAV repository as it contains the whole project. Before performing the following steps assure that your Slide server is up and running.

Right-click on this folder and select Export. The Export wizard appears and will show up an entry called WebDAV. If this entry is not present please check if the WebDAV plug-in has been installed successfully.

Figure 4.5. Export the content

Export the content

Select this entry and click the Next-button. Now select the content folder and proceed to the next step. Select Create a new site and click the Next-button.

Now you’ve to specify the location of your WebDAV-repository. When using the default Slide installation the URL to the Projector application directory will be

http://localhost:8080/slide/projector/applications

Enter this URL and specify the user and password that will be used to synchronize the content. Use the user projector with password projector if you have not changed the default Slide configuration.

Figure 4.6. Exporting content via WebDAV

Exporting content via WebDAV

After pressing the Next-Button, Eclipse will connect to the WebDAV-repository and will show up the desired application folder. Open it and create a new folder with the name of your application. The folder should appear and we select it in order to sync our content with the newly created remote folder. Now check the box that appears on the next screen and press the Finish-Button to start the synchronization.

Figure 4.7. Select the target site...

Select the target site...

Figure 4.8. ...and the resources to be exported

...and the resources to be exported

After the synchronization has been completed you can check with any other tool if the content really has been created. If you are using Windows and you’ve mounted the Slide repository by using a Webfolder you’d see something like this:

Figure 4.9. Checking success via Webfolder

Checking success via Webfolder

So you see that everything went fine and you are able to change the content of the application either by using Eclipse or by using any other WebDAV-enabled client. In order to keep informed about any changes that need to be synchronized you can open and configure the Eclipse Synchronize view. Click on the Synchronize-Button and select WebDAV as synchronization type.

It is a good idea to manage the whole project by using CVS as version control system. You can do this by using the team support as you know it from any Eclipse based project. So the WebDAV-synchronization is an additional option and doesn’t conflict with the CVS-based team support.

That’s it! Now you are ready for developing your first Projector application.