Skip to content

Development environment to build your applications with Bonita

License

Notifications You must be signed in to change notification settings

bonitasoft/bonita-studio

Repository files navigation

Bonita Studio

This repository contains the source code of the Bonita Studio component from Bonita Platform.
In order to build this repository it is required to build its dependencies. To help you achieve this there is a dedicated repository here.

Prerequisites

  • Java 17

Run build

./mvnw package -DskipTests

Build profiles

  • default
  • all-in-one: build product .zip archives
  • it: run integration tests

By default active profiles are: default and all-in-one

Built artifacts

  • Products archive are located here all-in-one/target/products

🌍 Include additional localization

It is possible to include additional localizations but it requires a rebuild of the Studio for now. Above are the instructions to update the source code to include a new localization. Additional languages will be automaticaly detected at runtime.

📘 Only the Studio part of the Bonita platform is invovled here. UI Designer and applications use other mechanisms.

Bonita localization from Crowdin

It is possible to include other locale available on Crowdin using the following maven command from the root of the project:

./mvnw groovy:execute@fetch-l10n -Dcrowdin.locale=<LOCALE_CODE> -Dcrowdin.branch=<BRANCH> -Dtycho.mode=maven

Where:

  • LOCALE_CODE must be an available locale in the Bonita crowdin project (eg: tr, vi...etc)
  • BRANCH must be one of the available branch in the crowdin project (eg: dev, master, 7.13.x...etc)

Eclipse localization

Eclipse l10n are provided by the Babel project. You may include additional eclipse languages in your build. To do so, you must modify the platform/platform.target file and add the babel update site location like this (using the tr locale):

 <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
            <unit id="org.eclipse.babel.nls_eclipse_tr.feature.group" version="0.0.0"/>
            <unit id="org.eclipse.babel.nls_technology.egit_tr.feature.group" version="0.0.0"/>
            <unit id="org.eclipse.babel.nls_technology.jgit_tr.feature.group" version="0.0.0"/>
            <repository location="https://download.eclipse.org/technology/babel/update-site/latest/"/>
</location>

Then you must include the tr localization features in the studio-feature in bundles/features/studio-feature/feature.xml

Report issues

If you want to report an issue or a bug use our official bugtracker