Why does the Tooltwist Controller delete or overwrite files on the destination server?

When I use ToolTwist Controller to deploy my application, it deletes or overwrites the file configuration files on the target server that I do not want to modify. Is there any way to prevent this?

+3
source share
1 answer

Yes, there is a way to prevent this. You just need to protect those files or folders that you do not want to overwrite. To do this, you just need to update the protect property of the .fip-destination file located inside the ~ / server / folder .

This is the default value:

protect=mysql/.*,tomcat/work/.*,tomcat/logs/.*,protected/.*,tomcat/conf/tomcat-users.xml

An example of an individual value:

protect=mysql/.*,tomcat/work/.*,tomcat/logs/.*,tomcat/lib/.*,tomcat/endorsed/.*,tomcat/bin/.*,tomcat/conf/.*,tomcat/webapps/elbhc.*,tomcat/webapps/ttsvr/WEB-INF/.*,protected/.*
+3
source

All Articles