Hi Eoch, > Can you insert the SVN revision no. into Amforth ID message i.e., > "amforth r1304..." instead of "amforth 4.9..." (as is fit for a > release).
Well, lets have a short look at that task The command svnversion gives the revision number of the last commit. But: Of which file / directory? You can only change the build machine to call svnversion in the top level amforth directory (where the appl/template and the core/ directories are). mt@ayla:~/amforth/trunk$ svnversion -c 494:1304 mt@ayla:~/amforth/trunk$ svnversion 1268:1304 mt@ayla:~/amforth/trunk$ This gives you a number (or two, seems to depend on the version of svnversion itself), which you need to incorporate into your application somehow. e.g. a word like applturnkey that gets modified during the hex file generation: ; ( -- n ) utilities ; R( -- ) VE_SVN_REV: .dw $ff0b .db "svn-version",0 .dw VE_HEAD .set VE_HEAD = VE_SVN_REV XT_SVN_REV: .dw DO_COLON PFA_SVN_REV: .dw XT_DOLITERAL .dw $GLOBALID$ ; <- this is a placeholder for search/modify .dw XT_EXIT Calling this word gives the rev-number on the stack. I very much prefer getting a patchset for that change, I do not want to deal with all this myself ;) But please a patchset, that can deal with (at least some) errors and other oddities as well, failures at this point should not break the build process. IMHO. Matthias ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel