|
From: Mark R. D. <mdi...@la...> - 2002-12-26 00:12:42
|
Nick and Repast Team, I was playing around in the 2.0 repast jar and I came to a little mess you might want to know about. I recognize that in the available binary distribution of repast that the individual demo examples each are contained in their own jars (and that some of these jars also contain the "pgm" files required by those simulations, which get loaded as resources off the classloader). I was also noticing that the "repast.jar" also contains these classes for all the demos as well. Is this a replication of compiled classes that could be done away with? It is the case that the repast.jar, while having the classes for the examples, does not contain the non-class files, like "pgm" files required by the demo to execute properly, these files appear to be loaded as resources in the same namespace as each demo package so these demos break when you try to run them straight out of repast.jar. I might recommend either: 1.) removing the demo classes from the repast.jar or 2.) including the support files for each demo into the repast.jar. As its probibly the case that the number of demos will grow over time. I would suggest (1) just removing the demos from the repast.jar as a more logical solution. Happy Holidays, Mark |