Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
general
stups
ProB 2 Jupyter Kernel
Commits
fc004646
Commit
fc004646
authored
Sep 01, 2020
by
dgelessus
Browse files
Remove setting of prob.stdlib now that ProB 2 does it automatically
parent
cffee0af
Pipeline
#45645
passed with stage
in 4 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/prob2/jupyter/Main.java
View file @
fc004646
...
...
@@ -215,7 +215,6 @@ public final class Main {
final
String
contents
=
String
.
join
(
"\n"
,
Files
.
readAllLines
(
connectionFile
,
StandardCharsets
.
UTF_8
));
final
JupyterConnection
conn
=
new
JupyterConnection
(
KernelConnectionProperties
.
parse
(
contents
));
System
.
setProperty
(
"prob.stdlib"
,
Paths
.
get
(
de
.
prob
.
Main
.
getProBDirectory
(),
"stdlib"
).
toString
());
final
Injector
injector
=
Guice
.
createInjector
(
Stage
.
PRODUCTION
,
new
ProBKernelModule
());
final
ProBKernel
kernel
=
injector
.
getInstance
(
ProBKernel
.
class
);
kernel
.
becomeHandlerForConnection
(
conn
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment