badass-jlink-plugin icon indicating copy to clipboard operation
badass-jlink-plugin copied to clipboard

Delegating modules - eclipse integration

Open nicowiggersiv opened this issue 3 years ago • 1 comments

I am using the eclipse plugin in gradle and use vscode with Redhats java extension, which is using the eclipse JDT. In this setup JDT complains about the plain JAR module names, which it cannot resolve as a module (of course it can not resolve these modules, as these are generated delegating modules from the jlink plugin). As a result, all packages from within the plain jars, are shown as problems ("not accessible") as JDT can not find these packages in the resolved java modules. I guess eclipse JDT users should have the same issue.

Is this issue addressed somehow yet?

nicowiggersiv avatar Sep 09 '20 10:09 nicowiggersiv

The plugin has no support for Eclipse JDT. I tried to reproduce your issue using one of my projects and I ran into a different problem. In my case, VSCode showed "xxx cannot be resolved to a module" for all automatic modules required in my module-info.java. I was able to get rid of this error by using this workaround. Maybe it also works in your case.

siordache avatar Sep 09 '20 12:09 siordache

Closing due to inactivity.

airsquared avatar Sep 25 '23 05:09 airsquared