From 850ff0ea2d1f75e74a7ee989e60f82ce78b71200 Mon Sep 17 00:00:00 2001 From: pb Date: Sat, 24 Mar 2018 09:38:09 +0000 Subject: [PATCH] Fixed less parameter in themedirector to comply to naming convention. NOTE: themedirector configuration should be checked! (default is noch styles/main.less and name changes from themedirectory.less... to themedirector.less.... git-svn-id: https://svn.libreccm.org/ccm/trunk@5358 8810af33-2d31-482b-a856-94f89814c4df --- ccm-themedirector/application.xml | 2 +- .../com/arsdigita/themedirector/ThemeDirectorConfig.java | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ccm-themedirector/application.xml b/ccm-themedirector/application.xml index f653d5409..d0b7d49da 100755 --- a/ccm-themedirector/application.xml +++ b/ccm-themedirector/application.xml @@ -3,7 +3,7 @@ name="ccm-themedirector" prettyName="Theme Director" version="6.6.3" - release="1" + release="2" webapp="ROOT"> diff --git a/ccm-themedirector/src/com/arsdigita/themedirector/ThemeDirectorConfig.java b/ccm-themedirector/src/com/arsdigita/themedirector/ThemeDirectorConfig.java index 2f94f3db5..792876fe8 100755 --- a/ccm-themedirector/src/com/arsdigita/themedirector/ThemeDirectorConfig.java +++ b/ccm-themedirector/src/com/arsdigita/themedirector/ThemeDirectorConfig.java @@ -100,10 +100,14 @@ public class ThemeDirectorConfig extends AbstractConfig { Parameter.REQUIRED, "bmp css eot gif jpeg jpg js png svg ttf woff xml xsl"); + /** + * Specifies the less file(s) used as entry point(s) for compiling + * a managed theme on the fly when publishing. + */ private final Parameter m_lessFilesParam = new StringArrayParameter( - "themedirectory.less_files.compile", + "themedirector.less_files_compile", Parameter.OPTIONAL, - new String[]{"styles/style.less"}); + new String[]{"styles/main.less"}); /** * number of seconds before checking for updated development files. in a