From: Brett W. <bw...@sc...> - 2008-06-25 19:29:01
|
Before I venture into command line launching, perhaps it's best to have a working batch implementation through Eclipse. I'm trying to get the Boids model running in batch mode (though I am not particular to this model, any model would do). I have made a params.xml for the parameter file and all it currently contains is: <?xml version="1.0"?> <sweep runs="4"> </sweep> When I try to run the model, I obtain the following error: java.lang.RuntimeException: Couldn't find classes using supplied class loader: boids.BoidsAgent on path: C:\RepastS\workspace\Boids\bin at repast.simphony.scenario.ScenarioLoader.getAgentClasses(ScenarioLoader.java:251) The run Main class is set to: repast.simphony.batch.BatchMain The arguments are: -params ${file_prompt:the Batch Run Parameters File Name:params.xml} "${workspace_loc}/Boids/boids.rs" How can I implement a simple batch run? Is there a better model to try this on? Can anyone give me exactly how they have done this? Thanks, -Brett |