From: Rick W. <wes...@pu...> - 2010-01-13 18:51:36
|
Erik Vos wrote: > > Thank you for the extensive reply. Knowing that there > is the MakeGameTileSets program to autogenerate the per-game Tiles.xml > and to check the Map.xml file is > a big help. Although I do wonder why you don't simply > read in the global Tiles files and use that. But, knowing XML, > perhaps that is too much of a strain on the program. > > XML parsing is slow. I don't like wasting CPU time and memory. Once again I hesitate to make suggestions when I am not going to implement them and may not know what I am talking about ... however ... during the compile into a jar could the global Tiles file be converted into a Java-friendly format that is quick to read and parse? That way when the program actually runs it just picks up the pre-formatted data and does not need to do XML parsing. > > Anyway can you give this poor ol' non-Java programmer a short > hint on how to run MakeGameTileSets? I am getting a > 'NoClassDefError' on org/apache/log4j/logger when I try to run the > class directly. I am probably doing something painfully obviously > wrong. > Your suggestion works. Thanks. One of these days I'll have to sit down to actually learn Java and all about class paths. Maybe 'rails' will be first, ah, victim. :-) -- Rick Westerman wes...@pu... |