X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fappli%2FbbCreateBlackBox%2FbbCreateBlackBox.bat.in;h=794708943d7ac21eb6da79d49e5cfc4570c5e92c;hb=757a189b6ce998d5da17f49504a140c03d4feeff;hp=b30c85fe7f36471120ce10e2cefc9476ea5a1f47;hpb=f87c49c48b5b99956697759168cffb06826e4fe8;p=bbtk.git diff --git a/kernel/appli/bbCreateBlackBox/bbCreateBlackBox.bat.in b/kernel/appli/bbCreateBlackBox/bbCreateBlackBox.bat.in index b30c85f..7947089 100644 --- a/kernel/appli/bbCreateBlackBox/bbCreateBlackBox.bat.in +++ b/kernel/appli/bbCreateBlackBox/bbCreateBlackBox.bat.in @@ -1,3 +1,29 @@ +rem # --------------------------------------------------------------------- +rem # +rem # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +rem # pour la SantÈ) +rem # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +rem # Previous Authors : Laurent Guigues, Jean-Pierre Roux +rem # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil +rem # +rem # This software is governed by the CeCILL-B license under French law and +rem # abiding by the rules of distribution of free software. You can use, +rem # modify and/ or redistribute the software under the terms of the CeCILL-B +rem # license as circulated by CEA, CNRS and INRIA at the following URL +rem # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +rem # or in the file LICENSE.txt. +rem # +rem # As a counterpart to the access to the source code and rights to copy, +rem # modify and redistribute granted by the license, users are provided only +rem # with a limited warranty and the software's author, the holder of the +rem # economic rights, and the successive licensors have only limited +rem # liability. +rem # +rem # The fact that you are presently reading this means that you have had +rem # knowledge of the CeCILL-B license and that you accept its terms. +rem # ------------------------------------------------------------------------ */ +rem + @echo off echo creates the file architecture for a new blackbox @@ -36,11 +62,11 @@ echo "** Creating new black box '%BLACKBOX%' xml/c++ in folder '%OUTPUT%'" echo Creating XML file.. echo copy %INPUT%\%type%-template.xml %OUTPUT%\%FILENAME%.xml copy %INPUT%\%type%-template.xml %OUTPUT%\%FILENAME%.xml_tmp -%BINPATH%\bbSed %OUTPUT%\%FILENAME%.xml_tmp __BLACKBOXNAME__ %BLACKBOX% > %OUTPUT%\%FILENAME%_1.xml -%BINPATH%\bbSed %OUTPUT%\%FILENAME%_1.xml __AUTHOR__ %AUTHOR% > %OUTPUT%\%FILENAME%_2.xml -%BINPATH%\bbSed %OUTPUT%\%FILENAME%_2.xml __DESCRIPTION__ %DESCRIPTION% > %OUTPUT%\%FILENAME%.xml_tmp +"%BINPATH%\bbSed" %OUTPUT%\%FILENAME%.xml_tmp __BLACKBOXNAME__ %BLACKBOX% > %OUTPUT%\%FILENAME%_1.xml +"%BINPATH%\bbSed" %OUTPUT%\%FILENAME%_1.xml __AUTHOR__ %AUTHOR% > %OUTPUT%\%FILENAME%_2.xml +"%BINPATH%\bbSed" %OUTPUT%\%FILENAME%_2.xml __DESCRIPTION__ %DESCRIPTION% > %OUTPUT%\%FILENAME%.xml_tmp del %OUTPUT%\%FILENAME%_1.xml -del %OUTPUT%\%FILENAME%_2.xml +del %OUTPUT%\%FILENAME%_2.xml IF %FORMAT%==XML GOTO module_XML @@ -55,8 +81,8 @@ goto END :module_C++ IF EXIST %OUTPUT%\%FILENAME%.cxx GOTO ERROR02 - echo %BINPATH%\bbfy %OUTPUT%\%FILENAME%.xml_tmp %PACK% %OUTPUT% - %BINPATH%\bbfy %OUTPUT%\%FILENAME%.xml_tmp %PACK% %OUTPUT%\ + echo "%BINPATH%\bbfy" %OUTPUT%\%FILENAME%.xml_tmp %PACK% %OUTPUT% + "%BINPATH%\bbfy" %OUTPUT%\%FILENAME%.xml_tmp %PACK% %OUTPUT%\ del %OUTPUT%\%FILENAME%.xml_tmp goto END