Skip to content

Install bacnet

drbecavin edited this page Dec 20, 2021 · 15 revisions

BACNET V2 - Update December 2021

Download Java and Eclipse

First you need to have at least Java SE 11 installed on your desktop. http://www.oracle.com/technetwork/java/javase/downloads/index.html

Eclipse should be downloaded here : http://www.eclipse.org/downloads/. In the installer select directly Eclipse for RCP and RAP developers

Import of BACNET

  • Git clone BACNET on your computer : git@github.com:becavin-lab/bacnet.git
  • Import all plug-ins in your workspace by clicking on *File > Import > General : Projects from Folder or Archive.
  • Select the Directory where you cloned bacnet It should find all plug-ins automatically.

Import Project

(Be sure that "Search for nested projects" is CHECKED)

  • Click on Finish

You should have all BACNET plugins installed.

Project_explorer

Setting up Eclipse RAP environment

We need to setup the target platform which the place where Eclipse will pick all java and Eclipse RAP dependencies needed

If you have no Eclipse e4 RAP target platform installed, no worries, bacnet comes with it !

  • Open bacnet-target-platform/bacnet-target-platform.target

In the target definition item bacnet-target-platform.target > Definition), check that it indicates around 300 plug-ins available.

Bacnet_target_platform

Otherwise click on "Reload". If no plug-ins is available then Eclipse will not know where to find the dependencies. As soon as you have the plug-ins available, click on the top-right corner : "Set as active Target Platform".

The operation is complete if in all bacnet plug-ins there are no dependencies error. Meaning that all plug-ins have been found by Eclipse in the Target platform.

No Problem

  • You are ready to proceed and start developing your own multi-omics website using Bacnet *

Develop your first multi-omics website

You can also do some reading about eclipse RAP and RCP (desktop version) architecture

Eclipse RAP and RCP architecture

Create your own Eclipse e4 RAP target platform

In case you want to create your own Target platform for developping Eclipse RAP e4 software. Follow these steps:

  • Create a new workspace named : workspaceRAP

  • In the welcome page, select Overview, and click on Rich Ajax Platform (RAP) tutorial. This will bring you through the different steps to install RAP Target Platform image1

  • Install the latest stable RAP Target Platform

  • You need to install Eclipse e4 RAP target platform. Go in Window > Preferences > Plug-in Development > Target Platform. You should see your installed RAP target platform.

Capture_d_écran__3_

  • Click on Edit > Add > Software site and add Eclipse e4.

For RAP 3.9, you can add Eclipse RAP e4 Runtime 3.9 - http://download.eclipse.org/rt/rap/3.9/e4

  • Validate. You should have now a full Eclipse e4 RAP target platform which should look like that:

Capture_d_écran__4_