-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi everyone,
I would like use custom theme for my zk 8.5.0 webapp. I have create a Maven project from org.zkoss.zk-archetype-theme v. 8.5.0, but when I run mvn clean and mvn install I have this error:
[ERROR] ParseError: Unrecognised input in C:\Users\NSCARC~1\AppData\Local\Temp\tempgen1524490180308\archive\web\nico\zul\less\norm.less on line 2, column 102: 1 @import "C:/Users/NSCARC~1/AppData/Local/Temp/tempgen1524490180308/archive/web/nico/zul/less/header.less"; 2 @import "C:/Users/NSCARC~1/AppData/Local/Temp/tempgen1524490180308/archive/web/zul/less/reset.less";"; 3 @import "C:/Users/NSCARC~1/AppData/Local/Temp/tempgen1524490180308/archive/web/zul/less/font/all.less";"; // Font-Awesome 3.1.1 org.zkoss.maven.ZKLesscException: ParseError: Unrecognised input in C:\Users\NSCARC~1\AppData\Local\Temp\tempgen1524490180308\archive\web\nico\zul\less\norm.less on line 2, column 102: 1 @import "C:/Users/NSCARC~1/AppData/Local/Temp/tempgen1524490180308/archive/web/nico/zul/less/header.less"; 2 @import "C:/Users/NSCARC~1/AppData/Local/Temp/tempgen1524490180308/archive/web/zul/less/reset.less";"; 3 @import "C:/Users/NSCARC~1/AppData/Local/Temp/tempgen1524490180308/archive/web/zul/less/font/all.less";"; // Font-Awesome 3.1.1 at org.zkoss.maven.ZKLessEngine.compileLess(ZKLessEngine.java:176) at org.zkoss.maven.ZKLessCompilerMojo.compileFromFolder(ZKLessCompilerMojo.java:248) at org.zkoss.maven.ZKLessCompilerMojo.execute(ZKLessCompilerMojo.java:173) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
I think the problem is that plugin doesn't load less file from classpath.
Any helps?
Thanks
as mentioned in this article the new and recommended way to build a custom theme is based on the zkThemeTemplate repository (allowing git supported upgrading to newer ZK versions)
If you follow the steps you'll get a custom theme in no time.
./init.js
mvn clean package
Asked: 2018-04-23 21:42:18 +0800
Seen: 15 times
Last updated: May 04 '18