-
Notifications
You must be signed in to change notification settings - Fork 2
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
support Modules #62
Comments
Can you please provide some sample script? Also please note that we don't parse the Jbang directives to set the class path, we depend on what |
We return the module name and the dependency locations. You don't need module names do you? |
do all dependencies need to be added to the modulepath instead of the classpath? or can you mix-n match? (I don't remember, I never use that abomination) |
Yes. Just add to module path instead of classpath. You can in theory add on classpath but it isn't a thing. If we ever did that we would have an explicit classpath in the tools info output. One additional caveat is that jbang generates a module info if user don't provide one. Not sure if we can deal with that in the IDE. Ill try make an example an share to see. It relies on stuff only in main atm. |
As soon as we enable module support in Eclipse, we'll need to point to that module-info.java. Is there a way to run |
pretty sure we can for sure include it in tools output - but its not necessarily a stable location. can eclipse pickup an arbitrary .java anywhere? @quintesse ^^ |
@maxandersen eclipse could link to any location, but it'd be better if it pointed to the same file on each jbang invocation. |
when //MODULE is present vscode java should put dependencies on module classpath not the classpath so the compiler does not complain about missing modules :)
The text was updated successfully, but these errors were encountered: