Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

BaSyx / Download / .NET Setup

< BaSyx ‎ | Download
Revision as of 13:59, 22 June 2019 by Unnamed Poltroon (Talk) (Created page with "= How to build the BaSyx .NET Core SDK = The BaSyx .NET Core SDK can be build via dotnet CLI as wells as Microsoft Visual Studio. It uses NuGet for dependency management. Thi...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to build the BaSyx .NET Core SDK

The BaSyx .NET Core SDK can be build via dotnet CLI as wells as Microsoft Visual Studio. It uses NuGet for dependency management. This article will detail on how to build the .NET Core SDK from a fresh checkout.

Requirements

The BaSyx .NET Core SDK requires the following dependencies to successfully build:

Getting started

The following Eclipse Projects can to be imported to Eclipse:

  • basys.sdk
  • basys.components
  • basys.examples

In order to start developing on the project, the first thing you need to do is

  1. Make sure that each project has a JDK selected as JRE System Library
  2. Right-click “basys.sdk” >> Select “Run As” >> Select “Maven Install”


Maven will download all required sources, run the unit and integration tests and export a jar of the SDK to the .components and .examples project. The mentioned projects are depending on each other in the following sense: BaSyx Java Dependencies.PNG

That means the basys.sdk project is required as a .jar file in each of the local maven repositories of basys.examples and basys.components. If you want to make changes to the basys.sdk project, you need to make a maven install in order to see the changes reflect in the other projects.

Before you get started, the second task you need to do is to update the .sdk project to align with the maven configuration. For this what you need to do is

  • Right-click “basys.sdk” >> Select “Maven” >> Select “Update Project…” (ignore errors)

Finally, the last step is to run a Maven clean compile to make sure that the changes you do during coding are directly reflected when you execute single unit tests manually.

  • Right-click “basys.sdk” >> Select “Run As” >> Select “Build…” >> Type “clean compile” and hit Enter


!! Note: Make sure to clean compile after each install! Otherwise, your changes in the code will not be reflected in manual unit testing. !!

Back to the top