The Advanced tab displays advanced project configuration settings.
When you create a new project, its modules have the default app
prefix. This prefix is also used for
the assembled artifact names and for the web applications deployed into Tomcat. You can change the prefix in the
Modules prefix field. For example, the prefix can reflect the application name.
If you select the Groovy support checkbox, Studio will add Groovy plugin to build.gradle
, which
enables compiling of Groovy code. Besides, Studio will create Groovy source files for screen controllers and services.
If the Use debug versions of widgetsets checkbox is selected, JavaScript code in the browser will not be minified and you
will be able to debug it and view meaningful stack traces. This option takes effect only for inherited widgetsets.
If you have created a web-toolkit
module in your project, use style
parameter of the
buildWidgetSet task to control the JavaScript output format.
The Use local Maven repository checkbox enables search for dependencies also in your local Maven repository, which
is usually located in ~/.m2
folder.
The Additional dependencies list allows you to add new libraries to be used in the project. A dependency belongs to a module and its configuration.
In order to add a dependency, click the + button next to the module name. Choose one of the following configurations in the first column:
Specify the dependency name, for example:
org.apache.activemq:activemq-broker:5.10.0
files("${rootProject.projectDir}/lib/my-library-0.1.jar")
fileTree(dir: 'libs', include: ['*.jar'])
If you add a dependency to the Global module, it will be available for all other modules too. If you add a dependency to the GUI module, it will be available also for Web and Desktop.
The Tomcat ports group allows you to assign non-standard ports for the Tomcat application server
installed in the deploy/tomcat
folder as a result of
fast deployment.
In particular, the HTTP port field affects the port Tomcat is listening on for HTTP connection, as well as
cuba.webPort
, cuba.webAppUrl
, cuba.restApiUrl
and
cuba.connectionUrlList
application properties.
In the Shutdown port field, you can set the port Tomcat is listening on for SHUTDOWN command.
In the Debug port field, you can set the port Tomcat is listening on for Java debugger connection. If you change this port, you should also change it in the debug configuration of your IDE.
The Additional data stores panel contains the list of additional data stores registered in the project. The Data store dialog appears when you create or edit a data store. It has the following fields:
RdbmsStore
or Custome
. See the documentation for details. The fields explained below should be set in case of RdbmsStore
.