+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
+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 ------------------------------------------------------------------------
+
@echo off
echo cleaning prefix
echo downloading creatools software
- call %baseFolder%\cvscheckout.bat %creasource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\cvscheckout.bat %bbtksource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\cvscheckout.bat %creamaracassource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\cvscheckout.bat %creaenvironmentsource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\cvscheckout.bat %creabrukersource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\cvscheckout.bat %creaimagesource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\cvscheckout.bat %creacontourssource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\cvscheckout.bat %crearigidregistrationssource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\cvscheckout.bat %bbtkgeditorsource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\cvscheckout.bat %creatoolssource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\cvscheckout.bat %creaminitoolssource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
+echo echo tmp.sh > tmp.sh
+set creatoolsGeneration2=%creatoolsGeneration:\=/%
+echo mkdir %creatoolsGeneration2% >> tmp.sh
+echo mkdir %creatoolsGeneration2%/creatools_sources >> tmp.sh
+echo cd %creatoolsGeneration2%/creatools_sources >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creasource% >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%bbtksource% >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creamaracassource% >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaenvironmentsource% >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creabrukersource% >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaimagesource% >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creacontourssource% >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%crearigidregistrationssource% >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%bbtkgeditorsource% >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creatoolssource% >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaminitoolssource% >> tmp.sh
+call gitcall.bat "%cd%\tmp.sh"
+
echo end of downloading creatools software
exit
-
\ No newline at end of file
+