-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi everibody,
I have downloaded a ui-exemples-master project from ZK customize theme and I'm trying to compile less files, by Maven, following the ZK Style Customization Guide.
This is Maven plugin configuration:
<plugin> <groupid>org.zkoss.maven</groupid> <artifactid>zkless-engine-maven-plugin</artifactid> <version>0.9.4</version> <executions> <execution> <id>compile-less</id> <goals> <goal>lessc</goal> </goals> <configuration> <sourcedirectory> ${project.basedir}/src/main/webapp/applications2/less </sourcedirectory> <outputdirectory> ${project.basedir}/src/main/webapp/applications2/css </outputdirectory> </configuration> </execution> </executions> </plugin>
When I execute maven clean and then maven install in directory /target/ui-examples/applications2/css I found css.dsp files but they are all empty. During maven install I don't see any parsing or compiling errors.
Has anyone had the same problem?
I have tried to compile less files from windows command line using lessc command, but I got this error:
ParseError: Unrecognised input in C:\Users\nscarciolla\workspaces\totem\TotemCentralManagmentSystem\src\main\webapp\less\import\zk_header.l ess on line 1, column 1: 1 <%@ taglib uri="http: //www.zkoss.org/dsp/web/core" prefix="c" %> 2 <%@ taglib uri="http: //www.zkoss.org/dsp/zk/core" prefix="z" %>
Thanks to all.
Try to start this in debug mode and stop it if the zk less files are compied to your temparaery folder. Than try to compile it with lessc in the shell. There you can see the errors.
Asked: 2014-10-10 08:46:26 +0800
Seen: 24 times
Last updated: Oct 11 '14