From within Reactive Blocks, you can directly import libraries and example projects to work with. Since importing new libraries may also update and replace existing ones, all open blocks editors will be closed.
There are two ways to start the import wizard:
There are three types of import wizard to choose:
If you have not signed in, you will be asked to do so. If you are new, you will be asked to create a new account.
Choose the login provider you used when you signed up, and click button Sign in…. Supported providers are Google and Facebook.
A web browser opens, sign in with your account (if you haven’t done so) and give authorization to the Reactive Blocks.
After a successful signed in, switch back to Eclipse.
Select the project/libraries you want to import. Dependencies (other libraries or projects used by the selected items) will be imported automatically.
You can also filter the list of libraries and projects by teams.
Click Next to review licenses and then Finish button.
Libraries and projects are shared via teams. Hence, to get access to libraries/projects within a team, you need to be a member of the team.
Every user is a member of at least team Tutorial. You can check teams you are a member of by selecting Manage your teams link in the import wizard (see the previous figure). The link is only shown when you choose all libraries and projects import wizard type.
A web page opens and shows information about your teams.
Whenever you open the import wizard, it will show you which library updates are available. The figure below shows that an update for the Buffering library is available. If your current version of the library is 3.10.0, then the newest version is 3.11.2.
Just continue by selecting Next. Updates will automatically be imported.
Currently, libraries are always updated to the newest version. Older versions are deleted automatically when new ones are downloaded.
Examples provided as editable projects may also be updated over time. By default, the import wizard does not replace your local projects, since you may want to keep some changes.
To get another new version of projects that were imported, you have to rename (or delete) the old version from the Package Explorer view. Then, start the import wizard again.
In case you are not able to contact the server and import any libraries, check the following:
Open the Eclipse Preferences:
Find Reactive Blocks → Login in the Preferences window.
You might see errors in Java source files due to some import statements cannot be resolved, although the referred libraries are available. This is a known Eclipse problem.
To resolve it, try cleaning the effected projects. Choose Project → Clean… from the Eclipse menu.