Hello!
I have the following task in gradle
task deploy (dependsOn: [assemble, cleanConf], type: CubaDeployment) {
appName = "${modulePrefix}"
appJars (modulePrefix + '-global', modulePrefix + '-web')
copy {
from "images"
into "$cuba.tomcat.dir/webapps/${modulePrefix}/VAADIN/images"
include "*.png"
}
}
When I deploy the application using intelliJ it works fine, but I don’t know how to make the same thing happen when I deploy it with a jar
task buildUberJar (type: CubaUberJarBuilding) {
singleJar = true
appProperties = ['cuba.automaticDatabaseUpdate': false]
coreJettyEnvPath = 'modules/core/web/META-INF/jetty-env.xml'
logbackConfigurationFile = 'etc/uber-jar-logback.xml'
}
Can you help me? Thanks a lot