[messages] [Technical Support & Bugs] VASSAL ERROR -- icon import on source compile

trevelyan david at wesecretary.com
Tue Dec 27 00:00:34 CET 2016


There is a bug in the current software that prevents VASSAL from being
run after it is compiled from the command-line. The fix is as follows:

/src/VASSAL/tools/icon/IconFactory.java

Replace the references to IMAGE_DIR in this file with ICON_DIR, most
importantly in the function initVassalIconFamilys(). In its present
state, VASSAL is searching for icons in the "images/" subfolder rather
than in the "icons/" subfolder where they are located. A temporary
workaround is to put the icons subfolder into a JAR: the software
appears to find the icons by default when they are distributed as part
of a jar.

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=52778#p52778


More information about the messages mailing list