Closed Ahava closed 11 years ago
Upload your config.yml on Gist and send it to me please. ;)
Hey, I only changed the name of the launcher. But it doesnt change anything. I took the source from here cause I don't get to compile it. https://www.dropbox.com/sh/x9dixjedivwx6by/ktznwlLS9b Could you make a tutorial how to build and use it?
To compile MCLauncher, you must use Maven by calling "mvn clean install" on project directory (Maven is embedded in base versions of Eclipse) With Eclipse, you must use "Run As > Maven Build > Goal: clean install" :)
Now I get tons of errors.http://meincraft.eu/paste/cg1MPjIt/
Could you just upload your eclipse workspace folder of MCLauncher? I don't get it
That's because your project don't fill Maven project format. Re-import MCLauncher from Github repo (Eclipse: "Import > Existing Maven Project"), do your modifications and re-compile it with "Run As > Maven Build > goal: clean install"
At the goals it says "No entries available."
Ok, now when I run the Launcher with "clean install" the Launcher doesn't appear.
Run with the console and paste the log please :)
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Minecraft Custom Launcher 0.9.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ mclauncher ---
[INFO] Deleting D:\Downloads\KokaKiwi-MCLauncher-f93d67f\KokaKiwi-MCLauncher-f93d67f\target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ mclauncher ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 8 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ mclauncher ---
[INFO] Compiling 29 source files to D:\Downloads\KokaKiwi-MCLauncher-f93d67f\KokaKiwi-MCLauncher-f93d67f\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ mclauncher ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\Downloads\KokaKiwi-MCLauncher-f93d67f\KokaKiwi-MCLauncher-f93d67f\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ mclauncher ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ mclauncher ---
[INFO] No tests to run.
[INFO] Surefire report directory: D:\Downloads\KokaKiwi-MCLauncher-f93d67f\KokaKiwi-MCLauncher-f93d67f\target\surefire-reports
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] [INFO] --- maven-jar-plugin:2.1:jar (default-jar) @ mclauncher --- [INFO] Building jar: D:\Downloads\KokaKiwi-MCLauncher-f93d67f\KokaKiwi-MCLauncher-f93d67f\target\minecraft.jar [INFO] [INFO] --- maven-shade-plugin:1.4:shade (default) @ mclauncher --- [INFO] Including org.yaml:snakeyaml:jar:1.9 in the shaded jar. [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing D:\Downloads\KokaKiwi-MCLauncher-f93d67f\KokaKiwi-MCLauncher-f93d67f\target\minecraft.jar with D:\Downloads\KokaKiwi-MCLauncher-f93d67f\KokaKiwi-MCLauncher-f93d67f\target\mclauncher-0.9.5-shaded.jar [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ mclauncher --- [INFO] Installing D:\Downloads\KokaKiwi-MCLauncher-f93d67f\KokaKiwi-MCLauncher-f93d67f\target\minecraft.jar to C:\Users\Wanja.m2\repository\com\kokakiwi\mclauncher\0.9.5\mclauncher-0.9.5.jar [INFO] Installing D:\Downloads\KokaKiwi-MCLauncher-f93d67f\KokaKiwi-MCLauncher-f93d67f\dependency-reduced-pom.xml to C:\Users\Wanja.m2\repository\com\kokakiwi\mclauncher\0.9.5\mclauncher-0.9.5.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.140s [INFO] Finished at: Sun Jul 15 13:11:32 CEST 2012 [INFO] Final Memory: 21M/231M [INFO] ------
It's mean that your launcher is located at: D:\Downloads\KokaKiwi-MCLauncher-f93d67f\KokaKiwi-MCLauncher-f93d67f\target\minecraft.jar ;) "Run As > Maven Build" execute Maven on the project and build your launcher JAR
When I double click on the minecraft.jar nothing happen :( But thanks for your Support :D
Do you have a solution for that?
Nope sorry, i don't know what happened :(
Could you send me your Project Folder of MCLauncher? I don't get it what im doing wrong.
My project folder is the same as yours, i just do "Run As > Maven Build" and exported jar is working fine for me. :o
Can I just edit the config.yml in a compiled mclauncher.jar and it works?
Yep it's work too. ;)
could you send me a compiled mclauncher.jar ;)
There are many downloads in "Downloads" section MCLauncher git repo ;)
When I run those nothing happens o.O
I dont know if it helps but i only have java 7 installed.
When I run your jar file via console I get this error.
Mhh that's strange. When I use MCLauncher v0.9.4 then I can run it but when I change something in the config.yml it doesn't appear in the programm
Ok, the problem was I forgot to delete the profiles folder. Now it works fine. Thank you! But, could you upload me the sourcecode of the 0.9.4 because the other versions don't work for me (http://meincraft.eu/paste/7MisgkK2/).
Thanks, Ahava
When I change something on the config.yml and build the project again nothing happens.