task buildWar(type: CubaWarBuilding) { appHome = './cm-app' singleWar = false includeContextXml = true includeJdbcDriver = true appProperties = [ 'cuba.automaticDatabaseUpdate': true, 'cuba.dbmsType': 'postgres', 'cuba.webPort': 8888, 'cuba.connectionUrlList': 'http://localhost:8888/app-core', 'reporting.openoffice.path': '/usr/lib/libreoffice/program', 'reporting.displayDeviceUnavailable': true, 'reporting.fontsDir': '/usr/share/fonts', 'cuba.web.loginDialogDefaultUser': '', 'cuba.web.loginDialogDefaultPassword': '', 'cuba.testMode': false, 'cm.debugMode' : false, 'cuba.gui.layoutAnalyzerEnabled': false ] coreContextXmlPath = 'ext/conf/production-context.xml' } task buildDevWar(type: CubaWarBuilding) { appHome = './cm-app' singleWar = false includeContextXml = true includeJdbcDriver = true appProperties = [ 'cuba.automaticDatabaseUpdate': true, 'cuba.dbmsType': 'postgres', 'cuba.webPort': 8888, 'cuba.connectionUrlList': 'http://localhost:8888/app-core', 'reporting.openoffice.path': '/usr/lib/libreoffice/program', 'reporting.displayDeviceUnavailable': true, 'reporting.fontsDir': '/usr/share/fonts', 'cm.debugMode' : true ] coreContextXmlPath = 'ext/conf/dev-context.xml' }