Migrated repository
Go to file
2016-10-27 12:10:14 +04:00
config/checkstyle PL-6894 Change copyright 2016-03-16 17:26:35 +04:00
modules PL-8080 Visibility script of application folder does not work 2016-10-27 12:10:14 +04:00
.gitignore PL-5085 Single sign-on for CUBA applications 2016-08-27 14:10:13 +04:00
build.gradle PL-8065 Compatibility with Gradle 3.1 2016-10-26 11:33:58 +04:00
lib.gradle PL-7900 ArrayIndexOutOfBoundsException on EntityManager.reload(entity, viewName) 2016-10-24 18:27:52 +04:00
LICENSE.txt Add license and readme files 2016-03-26 17:22:31 +04:00
README.md PL-7779 License badge for cuba and cuba-gradle-plugin 2016-08-25 10:43:34 +04:00
settings.gradle PL-5085 Single sign-on for CUBA applications 2016-08-27 14:10:13 +04:00

CUBA Platform

license

CUBA Platform is a high level framework for rapid development of enterprise applications with rich web interface.

The simplest way to start using the platform is to download CUBA Studio and create a new project in it. A released version of the platform will be downloaded automatically from the artifact repository.

You can also build a snapshot version of the platform from the source code and use it in your project.

Building from Source

In order to build the platform from source, you need to install the following:

Let's assume that you have cloned CUBA Gradle Plugin and CUBA into the following directories:

work/
    cuba/
    cuba-gradle-plugin/

Open terminal in the work directory and run the following command to build and install the plugin into your local Maven repository (~/.m2):

cd cuba-gradle-plugin
gradle install

After that, go to the CUBA directory and build and install it with the same command:

cd ../cuba
gradle install

Using Snapshot Version

Edit the build.gradle file of your project. Change the ext.cubaVersion property and add mavenLocal() to the repositories section, for example:

buildscript {
    ext.cubaVersion = '6.2-SNAPSHOT'
    repositories {
        mavenLocal()
        maven { ...

That's all. Now you can generate IDE project files and build and deploy your application based on the snapshot version of the platform from your local repository:

gradle idea
gradle deploy

Third-party dependencies

The platform uses a number of forked third-party libraries. They can be found in the following source code repositories:

All dependencies are also located in our artifacts repository, so you don't have to build them from sources in order to build and use the platform.