It is currently 23 Apr 2024, 22:01
   
Text Size

linux building noob

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

linux building noob

Postby mahler » 29 Jul 2015, 23:52

I'm attempting to build forge on linux using commandline tools, and everything seems to go well enough except for when I try to launch the newly built .jar, I get the following error:

Code: Select all
bash ./forge.sh
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
FSkin > can't find skins directory!
main > java.lang.ExceptionInInitializerError
        at forge.Singletons.initializeOnce(Singletons.java:50)
        at forge.view.Main.main(Main.java:48)
Caused by: java.lang.RuntimeException: Cannot find default skin at /home/matthew/Sources/forge/forge-svn/trunk/forge-gui-desktop/target/res/skins/default/bg_splash.png
        at forge.toolbox.FSkin.loadLight(FSkin.java:1060)
        at forge.toolbox.FSkin.loadLight(FSkin.java:1062)
        at forge.view.SplashFrame.<init>(SplashFrame.java:70)
        at forge.view.FView.<init>(FView.java:92)
        at forge.view.FView.<clinit>(FView.java:64)
        ... 2 more

Exception: java.lang.ExceptionInInitializerError thrown from the UncaughtExceptionHandler in thread "main"
Now, the strange thing is that if I make a link to the 'res' directory from an official release of forge, I don't get that error, and everything works as far as I can tell.

I've built using the commandline maven, you know, like this:

mvn validate
mvn compile
mvn test
mvn package
mvn integration-test
mvn verify
mvn install

everything looks like it went fine, so I must be missing a step.

Please let me know what I'm missing.
mahler
 
Posts: 1
Joined: 29 Jul 2015, 23:36
Has thanked: 0 time
Been thanked: 0 time

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 41 guests


Who is online

In total there are 41 users online :: 0 registered, 0 hidden and 41 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 41 guests

Login Form