0

Less compiling create empty css.dsp files

asked 2014-10-10 08:46:26 +0800

hf gravatar image hf
0

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.

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2014-10-11 19:17:45 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

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.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-10-10 08:46:26 +0800

Seen: 24 times

Last updated: Oct 11 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More