You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both the Rascal modules and the Java classes of q should be loaded from the version in the workspace.
Actual
✔️ The Rascal modules of q are loaded from the version in the workspace.
⛔ The Java classes of qaren't loaded at all (not from any version).
Preliminary analysis
Only the target folder of p is on the classpath of the REPL, but not the target folder of q.
If q isn't open in the workspace, then its Java classes are loaded from the version in the local Maven repository (declared in its POM), as expected.
The text was updated successfully, but these errors were encountered:
sungshik
changed the title
Which versions of projects are loaded in the REPL? -- Java classes of dependencies aren't loaded when they're open in the workspace
Java classes of dependencies aren't loaded when they're open in the workspace
Dec 4, 2024
Scope (branches)
replace-lib-by-mvn-and-others
(Replace lib:/// scheme by mvn:/// and file:/// and jar+file:/// everywhere rascal#1969)replace-lib-scheme
(testing rascal without the lib scheme #454)Problem
Background
Situation
p
andq
are open in the workspace.p
has a dependency onq
(declared in its POM)p
,q
∉ {rascal
,rascal-lsp
}p
.Expected
Both the Rascal modules and the Java classes of
q
should be loaded from the version in the workspace.Actual
q
are loaded from the version in the workspace.q
aren't loaded at all (not from any version).Preliminary analysis
target
folder ofp
is on the classpath of the REPL, but not thetarget
folder ofq
.q
isn't open in the workspace, then its Java classes are loaded from the version in the local Maven repository (declared in its POM), as expected.The text was updated successfully, but these errors were encountered: