Murlakotamus / Boggarton

0 stars 0 forks source link

Проверить иконку программы под Windows и Linux #77

Open Murlakotamus opened 6 years ago

Murlakotamus commented 6 years ago

Необходимо проверить иконку программы под Windows и под Linux, ну и заодно уточнить, работает ли она вообще на этих платформах с учётом добавления иконки под Мак.

arhiza commented 6 years ago

кажется, все поломалось :(

tany@tany-Aspire-E5-573:~/StackUp$ export MAVEN_OPTS=-Djava.library.path=target/natives tany@tany-Aspire-E5-573:~/StackUp$ mvn install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building boggarton 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl_util/2.9.0/lwjgl_util-2.9.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl_util/2.9.0/lwjgl_util-2.9.0.pom (828 B at 546 B/s) Downloading from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/parent/2.9.0/parent-2.9.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/parent/2.9.0/parent-2.9.0.pom (841 B at 8.9 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0.pom (1.4 kB at 7.7 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0.pom (667 B at 7.2 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl_util/2.9.0/lwjgl_util-2.9.0.jar Downloading from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0.jar Downloading from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0-natives-windows.jar Downloading from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0-natives-linux.jar Downloading from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0-natives-osx.jar Downloaded from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl_util/2.9.0/lwjgl_util-2.9.0.jar (173 kB at 527 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0-natives-osx.jar (519 kB at 361 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0-natives-windows.jar (610 kB at 401 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0-natives-linux.jar (569 kB at 367 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0.jar (995 kB at 634 kB/s) [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ boggarton --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 32 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ boggarton --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 84 source files to /home/tany/StackUp/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/tany/StackUp/src/main/java/com/foxcatgames/boggarton/Graphics.java:[33,22] package com.apple.eawt does not exist [ERROR] /home/tany/StackUp/src/main/java/com/foxcatgames/boggarton/Graphics.java:[97,9] cannot find symbol symbol: class Application location: class com.foxcatgames.boggarton.Graphics [ERROR] /home/tany/StackUp/src/main/java/com/foxcatgames/boggarton/Graphics.java:[97,35] cannot find symbol symbol: variable Application location: class com.foxcatgames.boggarton.Graphics [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.413 s [INFO] Finished at: 2018-07-09T23:19:16+03:00 [INFO] Final Memory: 19M/155M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project boggarton: Compilation failure: Compilation failure: [ERROR] /home/tany/StackUp/src/main/java/com/foxcatgames/boggarton/Graphics.java:[33,22] package com.apple.eawt does not exist [ERROR] /home/tany/StackUp/src/main/java/com/foxcatgames/boggarton/Graphics.java:[97,9] cannot find symbol [ERROR] symbol: class Application [ERROR] location: class com.foxcatgames.boggarton.Graphics [ERROR] /home/tany/StackUp/src/main/java/com/foxcatgames/boggarton/Graphics.java:[97,35] cannot find symbol [ERROR] symbol: variable Application [ERROR] location: class com.foxcatgames.boggarton.Graphics [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException tany@tany-Aspire-E5-573:~/StackUp$ mvn compile exec:java -Dexec.mainClass=com.foxcatgames.boggarton.Boggarton [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building boggarton 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ boggarton --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 32 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ boggarton --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 84 source files to /home/tany/StackUp/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/tany/StackUp/src/main/java/com/foxcatgames/boggarton/Graphics.java:[33,22] package com.apple.eawt does not exist [ERROR] /home/tany/StackUp/src/main/java/com/foxcatgames/boggarton/Graphics.java:[97,9] cannot find symbol symbol: class Application location: class com.foxcatgames.boggarton.Graphics [ERROR] /home/tany/StackUp/src/main/java/com/foxcatgames/boggarton/Graphics.java:[97,35] cannot find symbol symbol: variable Application location: class com.foxcatgames.boggarton.Graphics [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.235 s [INFO] Finished at: 2018-07-09T23:19:37+03:00 [INFO] Final Memory: 15M/128M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project boggarton: Compilation failure: Compilation failure: [ERROR] /home/tany/StackUp/src/main/java/com/foxcatgames/boggarton/Graphics.java:[33,22] package com.apple.eawt does not exist [ERROR] /home/tany/StackUp/src/main/java/com/foxcatgames/boggarton/Graphics.java:[97,9] cannot find symbol [ERROR] symbol: class Application [ERROR] location: class com.foxcatgames.boggarton.Graphics [ERROR] /home/tany/StackUp/src/main/java/com/foxcatgames/boggarton/Graphics.java:[97,35] cannot find symbol [ERROR] symbol: variable Application [ERROR] location: class com.foxcatgames.boggarton.Graphics [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Murlakotamus commented 6 years ago

Продолжает воспроизводиться?

arhiza commented 6 years ago

tany@tany-Aspire-E5-573:~/StackUp$ mvn compile exec:java -Dexec.mainClass=com.foxcatgames.boggarton.Boggarton [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building boggarton 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ boggarton --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 32 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ boggarton --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 84 source files to /home/tany/StackUp/target/classes [INFO] [INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ boggarton --- java.lang.NullPointerException at com.foxcatgames.boggarton.Graphics.createWindow(Graphics.java:99) at com.foxcatgames.boggarton.Graphics.initEngine(Graphics.java:130) at com.foxcatgames.boggarton.Graphics.init(Graphics.java:42) at com.foxcatgames.boggarton.Boggarton.main(Boggarton.java:15) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282) at java.lang.Thread.run(Thread.java:748) [WARNING] java.lang.RuntimeException: No OpenGL context found in the current thread. at org.lwjgl.opengl.GLContext.getCapabilities (GLContext.java:124) at org.lwjgl.opengl.GL11.glEnable (GL11.java:1012) at com.foxcatgames.boggarton.Graphics.initGL (Graphics.java:141) at com.foxcatgames.boggarton.Graphics.init (Graphics.java:43) at com.foxcatgames.boggarton.Boggarton.main (Boggarton.java:15) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:282) at java.lang.Thread.run (Thread.java:748) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.379 s [INFO] Finished at: 2018-07-10T00:06:17+03:00 [INFO] Final Memory: 17M/129M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project boggarton: An exception occured while executing the Java class. No OpenGL context found in the current thread. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Murlakotamus commented 6 years ago

Ага, можно снова пробовать.

arhiza commented 6 years ago

Запускается. В убунте иконки нет, как и раньше.

Murlakotamus commented 6 years ago

Ясно. Буду думать.

Murlakotamus commented 6 years ago

Тань, есть такой вопрос. До последних изменений (под Виндой точно, под Линуксом - не помню) у проги была стандартная иконка в виде фигуры из Тетриса (в таскбаре и в таскменеджере). А сейчас там что?