core icon indicating copy to clipboard operation
core copied to clipboard

Respect Velocity Folder config property

Open dsilvam opened this issue 9 years ago • 2 comments

Description by @wezell :

There is another requirement - we need to respect theVELOCITY_FOLDER config property everywhere within the dotCMS system. Currently, our ActivatorUtil has this value hard coded. Here is a search of where we need to change this property to use what is configured in the config properties:

af6ad926-1f92-11e7-9fe2-fd537afbf399

dsilvam avatar Apr 12 '17 20:04 dsilvam

Passed QA

  • Verified that velocity default folder location is created when velocity property is not defined in dotmarketing-config.properties. Uploaded successfully osgi plugin.
  • Verified that velocity custom folder is created when velocity property is defined (VELOCITY_ROOT) in dotmarketing-config.properties. Uploaded successfully osgi plugin.
  • Verified that velocity custom folder is created when defining an environment variable and velocity property (VELOCITY_ROOT) is defined in dotmarketing-config.properties (e.g.: VELOCITY_ROOT = {env:velocityPath). Uploaded successfully osgi plugin.
  • Uploaded a few osgi plugins and worked fine.

Tested in dotcms 4.1.0 distribution Mac OS 10.10 / MySQL 5.6.35 / Firefox v45.0.1 / Tomcat 8 / Java 8

shaydotcms avatar May 02 '17 17:05 shaydotcms

Documented: https://auth.dotcms.com/docs/latest/distributed-velocity-files

DeanGonzalez avatar May 10 '17 21:05 DeanGonzalez