Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com ______________________________________________________________________ Outil de generation du catalogue de module a partir des fichiers idl corba. version 0.1 (12/4/2002) Marc Tajchman (CEA) ______________________________________________________________________ Etat : Version initiale ______________________________________________________________________ A faire : Tests supplementaires pour l'ajout et le remplacement de composants Implementation du retrait de composant Gestion des champs du catalogue de modules non presents dans les fichiers idl Autres generations (wrappers divers ...) ______________________________________________________________________ Utilisation : Une seule commande dans tous les cas de figure : runIDLparser -Wbcatalog=my_catalog.xml (appel de runIDLparser pour interpreter et mettre a jour le catalogue de module my_catalog.xml) ______________________________________________________________________ Tests d'utilisation : Pour lancer les tests, utiliser le script 'testIDLparser' depuis le repertoire /SALOME/src/ModuleGenerator : sh testIDLparser ou vaut 1, 1b, 2, 3, 4, 5 _________________________________________ 1. Creation d'un nouveau catalogue de composants my_catalog.xml a partir d'un fichier idl Le fichier idl contient un seul composant Salome. _________________________________________ 1b. Creation d'un nouveau catalogue de composants my_catalog.xml a partir d'un fichier idl Le fichier idl contient un composant et une interface CORBA qui n'est pas un composant Salome (i.e. ne derive pas de Engines::EngineComponent). _________________________________________ 2. Un meme fichier idl est lu deux fois _________________________________________ 3. Deux fichiers idl differents sont lus, puis le premier est relu _________________________________________ 4. Deux fichiers idl contenant deux versions differentes du meme composant sont lus. Teste aussi la 'persistance' des champs 'commentaires' _________________________________________ 5. Test global sur les idl de Salome Les scripts de test se trouvent dans le repertoire /src/ModuleGenerator/tests Les fichiers idl servant aux tests se trouvent dans les repertoires /idl /src/ModuleGenerator/tests