Cuba 7 Deployment

Hello,

How can I deploy a single jar file in Cuba 7?
From what I read after Cuba/Buid Task/Deploy should I have an app.jar file.
Unfortunately there is no app.jar file.
(I saw that Single Uber JAR is marked by default. What happens if I choose Build Uber JAR instead single Uber JAR?)
image
Please advise.

Done!

  • Choose Custom Jetty env file
  • run buildUberJar
  • sudo apt install openjdk-8-jre-headless
  • java -jar app.jar
    Open Browser.

However I don’t know what is Logback conf file used for ?

See logbackConfigurationFile parameter explanation in the buildUberJar task documentation.

  • logbackConfigurationFile - defines a relative path to a file to be used for logging configuration.

For example:

logbackConfigurationFile = "/modules/global/src/logback.xml"

What means this exactly? This will be the (new) file where will be place the log file?

You should create an appropriate file somewhere in your project’s file tree and set the relative path to it in the property.

I didn’t understand. Can you give me an example, pls?
And again: what is this logback.xml file used for?

Did you even try to google it? what is logback.xml - Google Suche

Sorry but usually I use Log4j.
Thank you!