Bug - Not A Bug 15080 reporting as 15008

fredmaeHn

New member
I always build my KolMafia JAR via ant daily jarbundler.

svn reports my repository as up-to-date with version 15080, however the built jar and kolmafia interface state the version number as 15008 in filename, title bar and apparently also internally. I only realized it because it broke the crimbot script...

Code:
version:
     [echo] Current revision: 15080M
    [javac] Compiling 1 source file to /Volumes/Apple Data/schulz/kolmafia/build

svn-version:

gitsvn-version:

unversion:

jar:
      [jar] Building jar: /Volumes/Apple Data/schulz/kolmafia/dist/KoLmafia-16.7.jar

jarbundler:
[jarbundler] Creating application bundle: /Volumes/Apple Data/schulz/kolmafia/dist/KoLmafia-16.7.app

BUILD SUCCESSFUL
Total time: 17 seconds
Fredericks-Mac-Pro:kolmafia schulz$ cd dist
Fredericks-Mac-Pro:dist schulz$ ls
KoLmafia-15080M.jar	KoLmafia-16.7.app	KoLmafia-16.7.jar
Fredericks-Mac-Pro:dist schulz$ java -jar KoLmafia-15080M.jar 

KoLmafia v16.7 r15008
Released on December 7, 2014
 
Last edited:
Open src/net/sourceforge/kolmafia/KoLConstants.java. On line 81, REVISION should be null, and it is not for you. Fix that and things will be good again. This happens when something weird happens during the compile process, so it doesn't get changed back.
 
Yes, that worked. Just deleted the file and brought it back from SVN. Sorry for spamming the bug-forum and thank you for helping!

Merry Christmas!
 
Back
Top