|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Eclipse batch launchI'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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Repast-interest mailing list Repast-interest@... https://lists.sourceforge.net/lists/listinfo/repast-interest |
|
|
Re: Eclipse batch launchYou need to supply your model classes to the runtime
classpath. Put the /bin folder of your code in the Classpath entries in
the Eclipse launch.
eric Eric Tatara,
Ph.D. From: repast-interest-bounces@... [mailto:repast-interest-bounces@...] On Behalf Of Brett Walker Sent: Wednesday, June 25, 2008 2:29 PM To: repast Subject: [Repast-interest] Eclipse batch launch 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\binat 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Repast-interest mailing list Repast-interest@... https://lists.sourceforge.net/lists/listinfo/repast-interest |
| Free Forum Powered by Nabble | Forum Help |