Menu

Separate configuration / upload folder

ART Help
2023-09-12
2023-10-08
  • Gaël Lalire

    Gaël Lalire - 2023-09-12

    When running in Tomcat, ART is using WEB-INF/work to store its configuration and the uploaded templates files. This directory is deleted when the webapp is updated. ART could have a configuration (given by system property for example, default to $HOME/.art ) which tell where configuration files should be put

     
  • Gerd S

    Gerd S - 2023-09-14

    Hi, you can modify the WEB-INF\art-custom-settings.json file and set an "external" work-dir.
    https://sourceforge.net/p/art/wiki/Manual/#custom-settings

    When I do updates, i have a script where I copy only these files back into the tomcat-dir :art_custom_settings.json and groovy_whitelist.txt

     
  • Gaël Lalire

    Gaël Lalire - 2023-10-08

    Hello I also copy the content of WEB-INF to do an update. I think it is not practical, art-custom-settings.json must be saved and restored I guess. We need something external (like system property) to avoid save and restore process.

     

Log in to post a comment.