Menu

#712 Reintroduce installers

Release 1.1
new
nobody
None
open
Utilities
0.9.0
enhancement
minor
2020-05-23
2018-11-24
Sahits GmbH
No

The packager was removed from OpenJDK 11 and the replacement is not yet in place.
https://bugs.openjdk.java.net/browse/JDK-8200758

Related

Tickets: #709

Discussion

  • Sahits GmbH

    Sahits GmbH - 2019-11-22

    The packaging tool (https://bugs.openjdk.java.net/browse/JDK-8212780) is currently slanted for Java 14, comming out March 2020. Which means upgrading the JVM and minimal requirement for the game.

     
  • Sahits GmbH

    Sahits GmbH - 2020-04-13

    Update to Java 14 and then use the following commands:
    Linux deb:
    jpackage --name OpenPatrician --description "OpenPatrician is a free implementation in Java of Ascaron's classic The Patrician and The Patrician 2. The game is economic simulation located in the European North- and East-Sea in the late middle age." --vendor "Sahits GmbH" --app-version 1.1.0-SNAPSHOT --input . --dest target --main-jar target/OpenPatricianStandalone-1.1.0-SNAPSHOT.jar --linux-package-name openpatrician --linux-deb-maintainer hotzst@sourceforge.net --linux-app-category Game --linux-menu-group Game --license-file package/Apache-LICENSE-2.0.txt --java-options -Xmx2048m --icon package/linux/trade-icon.png --verbose

    Linux rpm:
    jpackage --type rpm --name OpenPatrician --description "OpenPatrician is a free implementation in Java of Ascaron's classic The Patrician and The Patrician 2. The game is economic simulation located in the European North- and East-Sea in the late middle age." --vendor "Sahits GmbH" --app-version 1.1.0_SNAPSHOT --input . --dest target --main-jar target/OpenPatricianStandalone-1.1.0-SNAPSHOT.jar --linux-package-name openpatrician --linux-app-category Game --linux-menu-group Game --license-file package/Apache-LICENSE-2.0.txt --java-options -Xmx2048m --icon package/linux/trade-icon.png --verbose

    MacOs pkg:
    jpackage --type pkg --name OpenPatrician --description "OpenPatrician is a free implementation in Java of Ascaron's classic The Patrician and The Patrician 2. The game is economic simulation located in the European North- and East-Sea in the late middle age." --vendor "Sahits GmbH" --app-version 1.1.0_SNAPSHOT --input . --dest target --main-jar target/OpenPatricianStandalone-1.1.0-SNAPSHOT.jar

    MacOs dmg:
    jpackage --type dmg --name OpenPatrician --description "OpenPatrician is a free implementation in Java of Ascaron's classic The Patrician and The Patrician 2. The game is economic simulation located in the European North- and East-Sea in the late middle age." --vendor "Sahits GmbH" --app-version 1.1.0_SNAPSHOT --input . --dest target --main-jar target/OpenPatricianStandalone-1.1.0-SNAPSHOT.jar

    Windows msi:
    jpackage --type msi --name OpenPatrician --description "OpenPatrician is a free implementation in Java of Ascaron's classic The Patrician and The Patrician 2. The game is economic simulation located in the European North- and East-Sea in the late middle age." --vendor "Sahits GmbH" --app-version 1.1.0_SNAPSHOT --input . --dest target --main-jar target/OpenPatricianStandalone-1.1.0-SNAPSHOT.jar --win-menu --win-menu-group Game

    Windows exe:
    jpackage --type exe --name OpenPatrician --description "OpenPatrician is a free implementation in Java of Ascaron's classic The Patrician and The Patrician 2. The game is economic simulation located in the European North- and East-Sea in the late middle age." --vendor "Sahits GmbH" --app-version 1.1.0_SNAPSHOT --input . --dest target --main-jar target/OpenPatricianStandalone-1.1.0-SNAPSHOT.jar --win-menu --win-menu-group Game

     
  • Sahits GmbH

    Sahits GmbH - 2020-04-22

    Prerequisit for build:
    JDK 14 installed
    Maven 3.6.x installed
    SVN installed

    Build instructions:

     
  • Sahits GmbH

    Sahits GmbH - 2020-05-23

    Tested on MacOs, packaging is working, the application has the wrong icon (duke instead of open patrician) and there are some issues when running.

     

Log in to post a comment.

MongoDB Logo MongoDB