For what it's worth, I also compile from the code, and my debug log header looks like this:
Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v14.6, Windows 7, Java 1.6.0_26
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Also, the revision number doesn't appear in the mafia window, but get_revision() does report it properly.
I just use "ant jsmooth", though I have modified build.xml slightly, though I'm not sure what change I made that would cause this to occur.
Code:
Index: build.xml
===================================================================
--- build.xml (revision 9557)
+++ build.xml (working copy)
@@ -219,16 +219,18 @@
<!-- generate the standard EXE -->
<!-- =========================== -->
- <target name="jsmooth" depends="init,update,jar">
+ <target name="jsmooth" depends="clean,init,update,jar">
<move file="${win.jsmoothfile}" tofile="${win.tmp.jsmoothfile}" />
<replace file="${win.tmp.jsmoothfile}" token="dist/KoLmafia.exe" value="${exefile}" />
<replace file="${win.tmp.jsmoothfile}" token="dist/KoLmafia.jar" value="${jarfile}" />
<taskdef name="jsmooth" classname="net.charabia.jsmoothgen.ant.JSmoothGen" classpath="${util}/windows/jsmoothgen-ant.jar" />
+ <jsmooth project="${win.tmp.jsmoothfile}" skeletonroot="${util}/windows/skeletons"/>
- <jsmooth project="${win.tmp.jsmoothfile}" skeletonroot="${util}/windows/skeletons" />
- <delete file="${win.tmp.jsmoothfile}" />
+ <replace file="${win.tmp.jsmoothfile}" token='${exefile}' value="dist/KoLmafia.exe"/>
+ <replace file="${win.tmp.jsmoothfile}" token='${jarfile}' value="dist/KoLmafia.jar"/>
+ <move file="${win.tmp.jsmoothfile}" tofile="${win.jsmoothfile}"/>
</target>
Note that even though I put in "dist/KoLmafia.exe" it still ends up as "dist/KoLmafia-14.6.exe" (and likewise for the resulting jar)
(to be totally honest, I only have very introductory experience with makefiles and ant build files are totally foreign to me.)
EDIT: totally realize this is completely off-topic from the thread at hand, sorry.