Author: chatellier Date: 2010-01-27 10:14:03 +0000 (Wed, 27 Jan 2010) New Revision: 2949 Modified: isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/simulator/launcher/SimulationMonitor.java Log: Result copy is not done anymore. Modified: isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/simulator/launcher/SimulationMonitor.java =================================================================== --- isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/simulator/launcher/SimulationMonitor.java 2010-01-26 21:09:50 UTC (rev 2948) +++ isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/simulator/launcher/SimulationMonitor.java 2010-01-27 10:14:03 UTC (rev 2949) @@ -462,11 +462,9 @@ // if not finished, re-add it at end if (jobIsFinished) { - if (log.isInfoEnabled()) { log.info("Job " + job.getId() + " finished"); } - doPostSimulationOperation(job, launcher); } @@ -538,7 +536,6 @@ else { // cas d'une simulation arretee par exception - File informationFile = SimulationStorage.getSimulationInformationFile(simulationRoot); SimulationInformation information = new SimulationInformation(informationFile); if (StringUtils.isNotEmpty(information.getException())) { @@ -559,8 +556,11 @@ /** * Operation to do after simulation end. * - * - get simulation result - * - do result export + * <ul> + * <li>get simulation result</li> + * <li>do registred post actions</li> + * <li>do sensitivity analisys second pass</li> + * </ul> * * @param job job * @param launcher {@link SimulatorLauncher} that manage simulation @@ -590,8 +590,6 @@ // on ne fait de post traitement que si // la simulation n'a pas été arretée if (!control.isStopSimulationRequest()) { - // post manage this storage - boolean simulationAvailble = true; //exportResult(job, simulation); // do posts actions for (PostAction action : job.getPostActions()) { @@ -607,9 +605,8 @@ // sensitivity calculator analyze result call // can't do analyze second pass if simulation // has been deleted - if (simulationAvailble) { - analyzeSensitivityResult(job, simulation); - } + // simulation can't be deleted anymore + analyzeSensitivityResult(job, simulation); } // notify simulation ended