echo downloading creatools software
+set GIT_SSH=C:\Program Files\PuTTY\plink.exe
+
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/%creavtksource% >> 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
+echo mkdir %creatoolsGeneration2% >> tmp.sh
+echo mkdir %creatoolsGeneration2%/cs >> tmp.sh
+echo cd %creatoolsGeneration2%/cs >> tmp.sh
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creasource% >> tmp.sh
+echo cd %creasource% >> tmp.sh
+echo git checkout vtk7itk4wx3-mingw64 >> tmp.sh
+echo cd .. >> tmp.sh
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%bbtksource% >> tmp.sh
+echo cd %bbtksource% >> tmp.sh
+echo git checkout vtk7itk4wx3-mingw64 >> tmp.sh
+echo cd .. >> tmp.sh
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creamaracassource% >> tmp.sh
+echo cd %creamaracassource% >> tmp.sh
+echo git checkout vtk7itk4wx3-mingw64 >> tmp.sh
+echo cd .. >> tmp.sh
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creavtksource% >> tmp.sh
+echo cd %creavtksource% >> tmp.sh
+echo git checkout vtk7itk4wx3-mingw64 >> tmp.sh
+echo cd .. >> tmp.sh
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaenvironmentsource% >> tmp.sh
+echo cd %creaenvironmentsource% >> tmp.sh
+echo git checkout vtk7itk4wx3-mingw64 >> tmp.sh
+echo cd .. >> tmp.sh
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creabrukersource% >> tmp.sh
+echo cd %creabrukersource% >> tmp.sh
+echo git checkout vtk7itk4wx3-mingw64 >> tmp.sh
+echo cd .. >> tmp.sh
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaimagesource% >> tmp.sh
+echo cd %creaimagesource% >> tmp.sh
+echo git checkout vtk7itk4wx3-mingw64 >> tmp.sh
+echo cd .. >> tmp.sh
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creacontourssource% >> tmp.sh
+echo cd %creacontourssource% >> tmp.sh
+echo git checkout vtk7itk4wx3-mingw64 >> tmp.sh
+echo cd .. >> tmp.sh
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%crearigidregistrationssource% >> tmp.sh
+echo cd %crearigidregistrationssource% >> tmp.sh
+echo git checkout vtk7itk4wx3-mingw64 >> tmp.sh
+echo cd .. >> tmp.sh
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%bbtkgeditorsource% >> tmp.sh
+echo cd %bbtkgeditorsource% >> tmp.sh
+echo git checkout vtk7itk4wx3-mingw64 >> tmp.sh
+echo cd .. >> tmp.sh
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creatoolssource% >> tmp.sh
+echo cd %creatoolssource% >> tmp.sh
+echo git checkout vtk7itk4wx3-mingw64 >> tmp.sh
+echo cd .. >> tmp.sh
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaminitoolssource% >> tmp.sh
+echo cd %creaminitoolssource% >> tmp.sh
+echo git checkout vtk7itk4wx3-mingw64 >> tmp.sh
+echo cd .. >> tmp.sh
echo call gitcall.bat "%cd%\tmp.sh"
dir
call gitcall.bat "%cd%\tmp.sh"
- echo end of downloading creatools software
+echo end of downloading creatools software
exit