-
Notifications
You must be signed in to change notification settings - Fork 5
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
JDK dependencies in module.xml don't work #46
Comments
…ppropiate "real" modules (see ceylon/ceylon-module-resolver#70)
Didn't you fix this already? |
Ah no I guess not. Well, unless @alesj can fix this today we'll have to live without it. |
Do you have a test to reproduce this? |
javax.xml::7 -- this is Ceylon only notion. The way you solve this is to have so called "system" module, Let me check if we have something like that already. |
This is what I'm taking about: ... which is already in CMR ... |
OK, so you're saying this issue is only for our modules, not for other modules loaded by ceylon code that will have |
@alesj It's a Ceylon-only notion, but we'd like it integrated somehow with the runtime. Otherwise we'll have two different systems: people can do The class |
Runtime, CMR, etc also uses JBoss Modules to "assemble" itself -- but using only default JBoss Modules things, pretty much similar to Wildfly. Hence it only knows default module.xml stuff. Whereas Ceylon modules are loaded by custom ModuleLoader, CeylonModuleLoader. To have this before, you would have a chicken-n-egg problem. ;-) |
@FroMage so, yes. |
Well the |
OK, then fair enough, this is not so important if it only applies to our bootstrap modules. |
Though perhaps it messes things up for ceylon modules that import our bootstrap modules? |
As in, the Ceylon module that imports one of our bootstrap module, will look at its shared imports, and where it should see something like |
No, it won't see those because we don't have them defined. That's why it's a less than ideal solution what we have now. Nothing really major I think, but not really correct either. |
Like @lucaswerkmeister's stuff. |
It shouldn't mess things up imo, as the class(loader) should be the same -- the system classloader. |
I mean, they won't see that the modules depend on JDK stuff, but this slips to 1.1 anyways. |
What do you mean by this? |
It means that if you ask for the module's dependencies "javax.xml/7" won't be part of it. |
It depends who uses this module.xml. |
Moving to 1.2, unfortunately. |
Adding a dependency like:
to a
module.xml
file doesn't work, resulting in errors like:Also see discussion on ceylon/ceylon-module-resolver#70
The text was updated successfully, but these errors were encountered: