Re coucou, je viens de recopier des regles de gestion crees en V3 dans la V4 et j ai des erreurs, surtout des objets et methodes non reconnus quand des dates sont impliquees. qu est ce qui a change?? Merci Un echantillon representatif: - la class Date n est pas reconnue (pourtant j ai import fr.ifremer.isisfish.types.Date; ) - cannot find symbol method getUseAnalysePlan() location: interface fr.ifremer.isisfish.simulator.SimulationParameter if(context.getSimulationStorage().getParameter().getUseAnalysePlan()){ - C:\Users\slehuta.NEPTUNE\isis-fish-4\isis-database\rules\Paita5_Anchois.java:121: warning: [deprecation] getMonth() in java.util.Date has been deprecated } else if (date.getMonth().before(param_beginMonth)) { - C:\Users\slehuta.NEPTUNE\isis-fish-4\isis-database\rules\Paita5_Anchois.java:123: int cannot be dereferenced } else if (date.getMonth().after(param_endMonth)) { - C:\Users\slehuta.NEPTUNE\isis-fish-4\isis-database\rules\Paita5_Anchois.java:138: cannot find symbol symbol : method next() location: class java.util.Date for (Date dat = new Date(0); dat.before(date); dat = dat.next()) { - C:\Users\slehuta.NEPTUNE\isis-fish-4\isis-database\rules\Paita5_Anchois.java:140: cannot find symbol symbol : method getMatrix(java.util.Date,fr.ifremer.isisfish.entities.Population,java.lang.String) location: class fr.ifremer.isisfish.datastore.ResultStorage MatrixND mat = matResult.getMatrix(dat, param_pop, - C:\Users\slehuta.NEPTUNE\isis-fish-4\isis-database\rules\RuleE_Es_Anchois.java:214: cannot find symbol symbol : method getMetierSeasonInfo(int) location: interface fr.ifremer.isisfish.entities.Metier TargetSpecies ts = metier.getMetierSeasonInfo(date.getMonth()).getSpeciesTargetSpecies(param_pop.getSpecies()); -- Sigrid Lehuta Post-doctorante, Institut de Recherche du Golfe du Maine, USA contact : + 1-207-228-1695 / slehuta@ifremer.fr / slehuta@gmri.org http://www.gmri.org/people/bio.asp?ID=344 Membre de l'Association Française d'Halieutique http://halieutique.agrocampus-ouest.fr/afh/index.html