Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrectly loading XSL, from file system while it's in classpath #59

Closed
yegor256 opened this issue Nov 28, 2024 · 7 comments
Closed

incorrectly loading XSL, from file system while it's in classpath #59

yegor256 opened this issue Nov 28, 2024 · 7 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@yegor256
Copy link
Member

yegor256 commented Nov 28, 2024

I can't use this JAR in eo-maven-plugin, here is what I see:

Caused by: java.io.FileNotFoundException: URL [jar:file:/Users/yb/.m2/repository/org/eolang/lints/0.0.10/lints-0.0.10.jar!/org/eolang/lints/aliases/alias-too-long.xsl] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/Users/yb/.m2/repository/org/eolang/lints/0.0.10/lints-0.0.10.jar!/org/eolang/lints/aliases/alias-too-long.xsl
      at io.github.secretx33.resourceresolver.ResourceUtils.getFile (ResourceUtils.java:215)
      at io.github.secretx33.resourceresolver.AbstractFileResolvingResource.getFile (AbstractFileResolvingResource.java:176)
      at io.github.secretx33.resourceresolver.UrlResource.getFile (UrlResource.java:276)
      at org.eolang.lints.XslLints.lambda$all$0 (XslLints.java:75)

We should add integration test (with invoker-maven-plugin) in order to reproduce this.

@yegor256 yegor256 added bug Something isn't working help wanted Extra attention is needed labels Nov 28, 2024
@yegor256
Copy link
Member Author

@h1alexbel can you help?

yegor256 added a commit that referenced this issue Nov 28, 2024
@h1alexbel
Copy link
Contributor

@yegor256 yes, checking..

h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
@h1alexbel
Copy link
Contributor

@yegor256 reproduced with invoker integration test in #61. Full logs here. Apparently, this issues happens only on macOS system.

h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 28, 2024
@h1alexbel
Copy link
Contributor

@yegor256 actually, fixed in 9f00e90b

h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 29, 2024
h1alexbel added a commit to h1alexbel/lints that referenced this issue Nov 29, 2024
yegor256 added a commit that referenced this issue Nov 29, 2024
fix(#59): get URL instead of File, EO-parser with compile scope
@yegor256
Copy link
Member Author

@rultor release, tag is 0.0.11

@rultor
Copy link
Contributor

rultor commented Nov 29, 2024

@rultor release, tag is 0.0.11

@yegor256 OK, I will release it now. Please check the progress here.

@rultor
Copy link
Contributor

rultor commented Nov 29, 2024

@rultor release, tag is 0.0.11

@yegor256 Done! FYI, the full log is here (took me 6min).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants