Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

LPS-27040 Fix sass to css builder

  • Loading branch information...
commit 8421e165fcf3f2554243d6403869ad533006f1d6 1 parent 73bd8bf
@brianchandotcom brianchandotcom authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 portal-impl/src/com/liferay/portal/tools/SassToCssBuilder.java
View
6 portal-impl/src/com/liferay/portal/tools/SassToCssBuilder.java
@@ -19,6 +19,7 @@
import com.liferay.portal.kernel.util.FastDateFormatFactoryUtil;
import com.liferay.portal.kernel.util.FileUtil;
import com.liferay.portal.kernel.util.PortalClassLoaderUtil;
+import com.liferay.portal.kernel.util.PropsUtil;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.StringUtil;
import com.liferay.portal.kernel.util.SystemProperties;
@@ -31,6 +32,7 @@
import com.liferay.portal.util.FileImpl;
import com.liferay.portal.util.PortalImpl;
import com.liferay.portal.util.PortalUtil;
+import com.liferay.portal.util.PropsImpl;
import java.io.File;
@@ -161,6 +163,10 @@ private void _initUtil(ClassLoader classLoader) {
PortalUtil portalUtil = new PortalUtil();
portalUtil.setPortal(new PortalImpl());
+
+ PropsUtil propsUtil = new PropsUtil();
+
+ propsUtil.setProps(new PropsImpl());
}
private void _parseSassDirectory(String dirName) throws Exception {
Please sign in to comment.
Something went wrong with that request. Please try again.