Unable to open project when configure buildWar

Hello,

I have followed the documentation in order to configure the build.gradle script to create separate wars.
Code blocks


task buildWar(type: CubaWarBuilding) {
	appHome = './work/Catalina/localhost'
    singleWar = false
    includeContextXml = true
    includeJdbcDriver = true
    appProperties = ['cuba.automaticDatabaseUpdate': true, 'cuba.connectionUrlList': 'http://localhost/intervenciones-core']
}

The wars are created properly but when I try to open again the project with the Studio the following error message appears:

Unable to open the project
Chunk [‘cuba.automaticDatabaseUpdate’: true] is not a valid entry.

What am I doing wrong?

Thanks.

Pol

Hi Pol,

It’s a known issue in the latest Studio version. To work around it, use values in quotes, for example:


appProperties = ['cuba.automaticDatabaseUpdate': 'true']
1 Like

Hello Konstantin,

I’ve made the change and it works.

Thanks.

Pol