ao-libre / finisterra

Java game client and server based on the popular argentina MMORPG Argentum Online
133 stars 37 forks source link

Testear crear una release en Mac #195

Closed Derillo closed 4 years ago

Derillo commented 5 years ago

Testear utilizando el branch fix-j Utilizar el comando ./gradlew desktop:appBundle ./gradlew server:appBundle

Si la build sale bien, y queremos testear el cliente/servidor debemos:

  1. En server: Copiar el archivo server.json a la carpeta del ejectuable para que podamos conectar en local host.
  2. En desktop; borrar los Archivos de /data y /sounds ya que provocan un error.
RecoX commented 5 years ago
➜  ao-java git:(master) ✗ ./gradlew desktop:appBundle
Starting a Gradle Daemon (subsequent builds will be faster)
Configuration on demand is an incubating feature.

> Task :desktop:appBundle FAILED
Runtime Path: /Users/lucasrecoaro/ao-java/desktop/build/jre/contents/plugins/Java.runtime/Contents/Home
Distribution Path: /Users/lucasrecoaro/ao-java/desktop/build/distribution/
Input Path: /Users/lucasrecoaro/ao-java/desktop/build/input/
Jpackage Path: /Users/lucasrecoaro/ao-java/desktop/build/jdk/jdk-14.jdk/Contents/Home/bin/jpackage
Jdk Path: /Users/lucasrecoaro/ao-java/desktop/build/jdk/jdk-14.jdk

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':desktop:appBundle'.
> A problem occurred starting process 'command '/Users/lucasrecoaro/ao-java/desktop/build/jdk/jdk-14.jdk/Contents/Home/bin/jpackage''

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 25s
13 actionable tasks: 3 executed, 10 up-to-date
Derillo commented 5 years ago

Gracias por el apoyo, @RecoX y Perdón por no hacer la aclaración correspondiente. El branch correspondiente para hacer el testeo es fix-j y se esta trabajando sobre el PR #193

cpbeto commented 4 years ago

Con el PR #299, ahora GitHub puede compilar para los tres SO y hacer releases. Solo habría que testear.