}
public static JobManagerSet loadJobManagers() throws Exception {
//load tasks:
JobManagerSet jobManagers = new JobManagerSet();
String modulePath = "C:\\Users\\rogersda\\Desktop\\Gridp\\Module Collection";
File moduleFolder = new File(modulePath);
//TaskProvider provider = getSSHProvider(directory);
//GRIDP:
TaskManager taskManager1 = getLocalTaskManager(moduleFolder);
JobManager gridpJobManager = new BasicJobManager(taskManager1);
//gridpJobManager = createRemoteSystem(provider);
jobManagers.addJobManager("Local System", gridpJobManager);
//TaskManager taskManager2 = gridp.getSSHProvider(directory);
//JobManager gridpJobManager2 = gridp.createLocalSystem(taskManager2);
//jobManagers.addJobManager("SSH Altix", gridpJobManager2);
TaskCollection tasks = test_gui.loadTaskEntries();
JobManager funcManager = new BasicJobManager(new BasicTaskManager(tasks));
jobManagers.addJobManager("Functions", funcManager);
return jobManagers;
}