Skip to content
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

fix deploy/run-file #589

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open

fix deploy/run-file #589

wants to merge 1 commit into from

Conversation

bessw
Copy link

@bessw bessw commented Jul 11, 2024

removed conflicting lib folder from class path as it is not used anymore.

See this matrix message and the following conversation @florian-rabe


MMT/deploy/run-file chrashes with the following error when running it on the git-bash for windows (couldn't test unix bash):

$ ../MMT/deploy/run-file build.msl
Fehler: Hauptklasse info.kwarc.mmt.api.frontend.Run konnte nicht gefunden oder geladen werden
Ursache: java.lang.ClassNotFoundException: info.kwarc.mmt.api.frontend.Run

When comparing it with the cmd version the class path differs:

cmd:

call java -Xmx1024m -cp %~dp0/mmt.jar info.kwarc.mmt.api.frontend.Run :file %1

bash:

dir="$(dirname $0)"
java -Xmx8192m -cp "$dir/lib/*:$dir/mmt.jar" info.kwarc.mmt.api.frontend.Run :file $1

The bash version works when I remove $dir/lib/*: from the class path.

bessw added a commit to UFrameIT/archives that referenced this pull request Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant