lesscss-java icon indicating copy to clipboard operation
lesscss-java copied to clipboard

bug fix with absolute uri IMPORT

Open marcosemiao opened this issue 10 years ago • 4 comments

exemple : @import "/bootstrap/less/bootstrap.less";

if the source file is not present into root directory.

the compilation fail :

[ERROR] D:\dev\billetel\IRIS_14.03\modules\lotus\src\main\webapp\bordel\less\sty les.less [0:0]: Error compiling LESS source java.io.FileNotFoundException: File D:\dev\billetel\IRIS_14.03\modules\lotus\src \main\webapp\bordel\less\bootstrap\less\bootstrap.less not found. at org.lesscss.LessSource.(LessSource.java:59) at org.lesscss.LessSource.resolveImports(LessSource.java:145) at org.lesscss.LessSource.(LessSource.java:63) at org.lesscss.mojo.CompileMojo.execute(CompileMojo.java:123) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default BuildPluginManager.java:106) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:153)

the file "bootstrap.less" is not in "D:\dev\billetel\IRIS_14.03\modules\lotus\src \main\webapp\bordel\less\bootstrap\less\bootstrap.less" but into D:\dev\billetel\IRIS_14.03\modules\lotus\src \main\webapp\bordel\bootstrap\less\bootstrap.less"

marcosemiao avatar Apr 25 '14 15:04 marcosemiao

Thanks for the contribution @marcosemiao !

sandroboehme avatar May 03 '14 19:05 sandroboehme

Hello, with many recurisve absolute path with import, there are bug, i fix it ;) Envoy ;)

marcosemiao avatar May 16 '14 14:05 marcosemiao

Thanks for the good testing!

sandroboehme avatar May 22 '14 14:05 sandroboehme

Hello,

You delivered two versions from my pull request since then April on the central maven repository, 1.7.0.1.0 and 1.7.0.1.1.

Now I stand the 1.3.3 version with my patch on my project. Do you take my pull request for the next version ?

Thanks ;)

marcosemiao avatar Jul 02 '14 08:07 marcosemiao