Installing the Publisher Sample
A publisher sample is made available as a Git repository for the developer to understand how to architect a publisher:
You are recommended to install this sample in your development environment.
It will ease the understanding of the rest of this documentation, as all tasks described here are implemented in the sample.
Here are the steps to install the sample in your Eclipse platform:
In a web browser:
In the Bitbucket web page of the SECollab Snippets repository,
click the Clone button at the top right of the screen.
Copy the location of the repository to your clipboard:
git clone firstname.lastname@example.org:sodius/public.secollab.snippets.git
- You may prefer using the
HTTPS url and, in such case, switch from
HTTPS in the pop-up window's upper right corner.
In your Eclipse development environment:
Click Window > Perspective > Open Perspective > Other..., select Git and click Open.
In the Git Repositories view, right-click Paste Repository Path or URI....
A Clone Git Repository dialog should open and have the SECollab repository location set a URI location field.
Follow the Git procedure to complete the cloning.
In the Local Destination page of this wizard,
you are recommended to turn on the Import all existing Eclipse projects after clone finishes,
to have the sample source code in your Java perspective when the clone is completed
At this end of these steps, your Eclipse Java perspective should contain a
Creating the Publisher Plug-In
Testing the Publisher