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

Adding custom jar files for Groovy parsing #427

Closed
jsmithgmail opened this issue Sep 11, 2024 · 2 comments
Closed

Adding custom jar files for Groovy parsing #427

jsmithgmail opened this issue Sep 11, 2024 · 2 comments

Comments

@jsmithgmail
Copy link

Hello.

Im receiving "Unknown parsing error" when parsing the groovy script where there is a custom import class. The classes reside in custom jar files. I tried to add the jar files to the groovy/lib folder, but still does not recognize the class.

unable to resolve class \n @ line 7, column 1.\r\n import \r\n ^\r\n" NglParseError

Is there a way to add external jar files to parse the groovy code? The error can be eliminated by adding --no-parse parameter, but would like to explore options to parse the groovy code.

Thank you.

@nvuillam
Copy link
Owner

The CodeNarc server takes only the text of the method as input parameter, no jars :/
What we need to find is a way to parse the groovy without it looking for external libraries and being unhappy to not find them

Copy link

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants