Closed Inei1 closed 6 years ago
Changes for finding the keystore and building the jar file look fine.
I don't understand/remember however how the libs/FacadeServer-1.0.0-SNAPSHOT.jar
file which the scripts should launch has to be built (i.e. which Gradle command I need to run) - can you please provide a short recap of the required steps (i.e. which commands one should run to build the FacadeServer binary distribution and which files have to be copied into the Omega distribution zip)? Thanks
So here is what I think should work in the omega distribution:
gradlew jar
if I understand it correctly).You can run gradlew distPC
in a local version of the omega workspace with my modified script to copy in the server facade jar and all its dependencies. After that, if you manually copy in the launch scripts, it should work fine on Windows (and possibly on Linux/Mac, but it's untested there).
Okay, thank you for the explanation - merging.
I managed to build an Omega zip which includes FacadeServer using your instructions.
It may be worth noticing that when downloading FacadeServer from Artifactory, Gradle also downloaded an engine-2.0.1-20180619.023039-5.jar
- which in my understanding shouldn't be needed since the engine should already be present in the Terasology.zip manually copied in the build environment, correct? But this is probably to be discussed in another PR (in the Index repository probably).
Add a few changes to the jar file, make new launch scripts, and change ServerMain to give information on keystore files.
This needs to be merged before I finalize the changes to the omega distribution, as it adds the scripts I need to copy over.