A script to make the running of the server a little easier. The more you make the process convenient the more people will want to use the software.
People could write their own scripts, but why force everyone to do that. It is even worse if they keep upgrading by downloading the next version.
As for the filename changing with version numbers, I would create a symlink to the actual file via automation. Alternatively you could use a wildcard like ClipCascade-Server.-*.jar.
You would probably also then want to make a ClipCascade-Server-3.0.2.tar.gz instead of just the jar stand-alone.
Symlink:
ln -s ClipCascade-Server-3.0.2_JRE-17.jar ClipCascade-Server.jar
server.sh for Linux and macOS:
#!/bin/bash
java -jar ClipCascade-Server.jar $@
server.bat for Windows:
java.exe -jar ClipCascade-Server.jar %*
A script to make the running of the server a little easier. The more you make the process convenient the more people will want to use the software.
People could write their own scripts, but why force everyone to do that. It is even worse if they keep upgrading by downloading the next version.
As for the filename changing with version numbers, I would create a symlink to the actual file via automation. Alternatively you could use a wildcard like
ClipCascade-Server.-*.jar.You would probably also then want to make a
ClipCascade-Server-3.0.2.tar.gzinstead of just thejarstand-alone.Symlink:
server.shforLinuxandmacOS:server.batforWindows: