Set up custom application.property file

I was reading some documentation about how to modify the attribute “axelor.config” and works with the next command
gradle -Daxelor.config=[custom_path]
This command works running Tomcat that I installed in my computer but when I try to run the system, using tomcat that is embed in axelor, it doesn’t work
So, my question is How can I run a custom application.property file running Tomcat embed in the system?

Thanks.

Hello,

To use external configuration, use the command « gradle run --config=‹ your/path/to/dev.properties › » when running your application.

Regards,