Skip to content

Commit

Permalink
Update JVM installation
Browse files Browse the repository at this point in the history
  • Loading branch information
kdouda committed Jan 9, 2025
1 parent fc084b3 commit efd2f4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pyrdfrules/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023-present Karel Douda <kareldouda1@gmail.com>
#
# SPDX-License-Identifier: MIT
__version__ = "0.0.6"
__version__ = "0.0.9"
5 changes: 4 additions & 1 deletion src/pyrdfrules/engine/util/jvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def read_output_stderr(pipe, process):
pass

def start_rdfrules(pipe):
path = os.path.abspath('../src/rdfrules')
path = get_rdfrules_path()
workspace = get_workspace_dir()

log().info(f"Starting RDFRules at {path}")
Expand Down Expand Up @@ -212,6 +212,9 @@ def start_rdfrules_process():
return proc

def get_server_url():
if server_url.endswith("/"):
return server_url + "api/"

return server_url + "/api/"

def stop_rdfrules_process():
Expand Down

0 comments on commit efd2f4c

Please sign in to comment.