Tutorials

Build Project

Introduction

Run mvn clean install then navigate to the target directory within your project. You will find several files, including:

  • KAB File: samples-rack-1.0.0-SNAPSHOT.kab. This is the KOS Archive Bundle that packages your application for deployment.

What’s in a KAB File?

A KAB file is a container for your application. You can put any content associated with your application in this container, along with the application itself. KOS will load your application from a typical /lib and /classes directory structure. Since our application builds to a single jar, we will simply put that jar into the /lib directory

Your target directory should contain the JAR and KAB files, along with any other directories that Maven may generate. This structure represents the skeleton of your project after a build.

Project Directory Structure

rack/
├── src/
│   ├── main/
│   │   ├── java/
│   │   │   └── com/
│   │   │       └── bookstore/
│   │   │           └── rack/
│   │   │               ├── RackApp.java
│   │   │               └── RackIU.java
│   │   └── resources/
│   │       ├── images/
│   │       │   ├── all.png
│   │       │   ├── book1.png
│   │       │   ├── book2.png
│   │       │   └── book3.png
├── target/
│   ├── samples-rack-1.0.0-SNAPSHOT.jar
│   ├── samples-rack-1.0.0-SNAPSHOT.kab
├── descriptor.json
├── pom.xml
└── README.md

Summary

By following these steps, you built your KOS system application and generated the necessary artifacts. The KAB file, which packages your application, can then be imported into KOS Studio for further configuration and simulation. This process ensures that your application is properly packaged and ready for deployment on KOS-supported hardware.

Previous
Next
On this page
Java Development
Seamlessly transition from Legacy+ systems to Freestyle microdosing and advanced distributed dispense systems.
UI Development
Using KOS SDKs, integrating Consumer and Non-consumer facing UIs becomes seamless, giving you less hassle and more time to create.
Video Library
Meet some of our development team, as they lead you through the tools, features, and tips and tricks of various KOS tools.
Resources
Familiarize yourself with KOS terminology, our reference materials, and explore additional resources that complement your KOS journey.
Copyright © 2024 TCCC. All rights reserved.