Closed jmkeil closed 9 months ago
According to the documentation of the maven plugin generating the EXE file, it is a known limitation of the plugin:
You’re looking at an old version of Protégé, we are no longer using this plugin to generate the Windows launcher. We use a custom launcher instead.
The good news is that this launcher does allow us to pass command line arguments to the main
method – it’s merely an oversight that we did not do so. I’ll fix that shortly.
The launcher has been updated to pass command line arguments. The issue will be fixed in the next Protégé release.
Thanks for fixing. Looking forward for the next release.
This issue has similar symptoms as #547, but it has another root cause.
Opening an ontology file with Protege.exe by associating the file type with Protege.exe or with the "Open with …" dialog does not work. Using
run.but
instead is a workaround, but with some disadvantages (additional console window, no icon associated, ambiguous name in "open with …" dialog). As i understood, the problem is, thatProtege.exe
does not pass the arguments to themain
method. According to the documentation of the maven plugin generating the EXE file, it is a known limitation of the plugin:Solving this problem would therefore require to switch the maven plugin (if there is a sufficient alternative).