pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/marceloverdijk/lesscss-java/pull/47

/assets/code-6756960bc12d5d38.css" /> bug fix with absolute uri IMPORT by marcosemiao · Pull Request #47 · marceloverdijk/lesscss-java · GitHub
Skip to content
This repository was archived by the owner on Jan 9, 2019. It is now read-only.

bug fix with absolute uri IMPORT#47

Open
marcosemiao wants to merge 4 commits intomarceloverdijk:masterfrom
marcosemiao:master
Open

bug fix with absolute uri IMPORT#47
marcosemiao wants to merge 4 commits intomarceloverdijk:masterfrom
marcosemiao:master

Conversation

@marcosemiao
Copy link

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"

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

if the source file is not present into root directory
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it backwards compatible, if the constructor is invoked without the sourceDirectory?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oups i missed a test condition for this case :( sorry

@sandroboehme
Copy link
Collaborator

Thanks for the contribution @marcosemiao !

@marcosemiao
Copy link
Author

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

@sandroboehme
Copy link
Collaborator

Thanks for the good testing!

@marcosemiao
Copy link
Author

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 ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy