Changeset 8313955 in tol for windows/build_tools
- Timestamp:
- Dec 8, 2011, 12:40:38 AM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- f532388
- Parents:
- 1a27dd0
- Location:
- windows/build_tools
- Files:
-
- 3 edited
-
_uptol.bat (modified) (4 diffs)
-
exclude.lst (modified) (1 diff)
-
uptol.bat (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
windows/build_tools/_uptol.bat
r1a27dd0 r8313955 145 145 Goto ERROR 146 146 ) 147 If Not Exist ..\..\%_mod%\ win-VC9\%_sln% (148 Set _msg_error=No se puede compilar, el archivo %_mod%\ win-VC9\%_sln% no existe147 If Not Exist ..\..\%_mod%\%winSrc%\%_sln% ( 148 Set _msg_error=No se puede compilar, el archivo %_mod%\%winSrc%\%_sln% no existe 149 149 Goto ERROR 150 150 ) 151 151 If "%_vsvars32%"=="" ( 152 If Defined VS 90COMNTOOLS (153 call "%VS 90COMNTOOLS%vsvars32"152 If Defined VSCOMNTOOLS ( 153 call "%VSCOMNTOOLS%vsvars32" 154 154 If errorlevel 1 ( 155 155 Set _msg_error=No se pudo ejecutar vsvars32 … … 158 158 Set _vsvars32=1 159 159 ) else ( 160 Echo VS 90COMNTOOLS no esta definida intentanto vsvars32 desde el PATH160 Echo VSCOMNTOOLS no esta definida intentanto vsvars32 desde el PATH 161 161 call vsvars32 162 162 If errorlevel 1 ( … … 169 169 ) 170 170 Rem Verifico postbuild.bat: aseguro que existe. postbuild copia la compilacion a ActiveTOL 171 If Not Exist ..\..\%_mod%\ win-VC9\postbuild.bat (172 xcopy /F /Y postbuild.bat %_mod%\ win-VC9173 ) 174 vcbuild %_rbopt% /useenv ..\..\%_mod%\ win-VC9\%_sln% "Release|Win32"171 If Not Exist ..\..\%_mod%\%winSrc%\postbuild.bat ( 172 xcopy /F /Y postbuild.bat %_mod%\%winSrc% 173 ) 174 vcbuild %_rbopt% /useenv ..\..\%_mod%\%winSrc%\%_sln% "Release|Win32" 175 175 If errorlevel 1 ( 176 176 Set _msg_error=Fallo en vcbuild con la solucion %_sln% … … 247 247 Rem copiamos pkgIndex.tcl de toltcl 248 248 xcopy ..\..\toltcl\pkgIndex.tcl ..\ActiveTOL\lib\toltcl\ /F /Y /I 249 xcopy ..\..\toltcl\library\toltcl.tcl ..\ActiveTOL\lib\toltcl\ /F /Y /I 249 250 If errorlevel 1 ( 250 251 Set _msg_error=Error copiando toltcl\pkgIndex.tcl hacia ActiveTOL 251 252 Goto ERROR 252 253 ) 253 Rem Copia de scripts tcl, byswidget, toltk y rmtps_client 254 Rem byswidget 255 Set _dir_src=..\..\tolbase\lib\byswidget 256 Set _dir_dest=..\ActiveTOL\lib\byswidget 257 Set _ret=RET_CPBYS 258 Goto UP_SCRIPTS 259 :RET_CPBYS 260 Rem toltk 261 Set _dir_src=..\..\tolbase\lib\toltk 262 Set _dir_dest=..\ActiveTOL\lib\toltk 263 Set _ret=RET_CPTTK 264 Goto UP_SCRIPTS 265 :RET_CPTTK 266 Rem rmtps_client 267 Set _dir_src=..\..\tolbase\lib\rmtps_client 268 Set _dir_dest=..\ActiveTOL\lib\rmtps_client 269 Set _ret=RET_CPRMT 270 Goto UP_SCRIPTS 271 :RET_CPRMT 254 255 Rem Copia de scripts tcl: autoscroll, byswidget, markupparser, markupviewer, 256 Rem mimetex, mkWidgets1.3 ndbmanager, notebookdb, renderpane, rmtps_client, 257 Rem toltk, trycatch, wtree 258 259 For %%x in (autoscroll byswidget markupparser markupviewer mimetex mkWidgets1.3 nbdbmanager notebookdb renderpane toltk trycatch wtree) do ( 260 Set _dir_src=..\..\tolbase\lib\%%x 261 Set _dir_dest=..\ActiveTOL\lib\%%x 262 263 If Exist !_dir_dest!\nul ( 264 Echo Borrando scripts antiguos de !_dir_dest! 265 Rmdir /S /Q !_dir_dest%! 266 ) 267 Echo Copiando scripts nuevos de !_dir_src! a !_dir_dest! 268 xcopy !_dir_src! !_dir_dest! /S /F /Y /I /EXCLUDE:exclude.lst 269 If errorlevel 1 ( 270 Set _msg_error=Error copiando !_dir_src! hacia !_dir_dest! 271 Goto ERROR 272 ) 273 ) 272 274 273 275 Rem Recupero ficheros perdidos por cualquier causa 274 276 If Not Exist ..\ActiveTOL\bin\tol.exe ( 275 277 Echo Recuperando ejecutable perdido ..\ActiveTOL\bin\tol.exe 276 copy ..\..\tol\ win-VC9\release\tol.exe ..\ActiveTOL\bin\tol.exe278 copy ..\..\tol\%winSrc%\release\tol.exe ..\ActiveTOL\bin\tol.exe 277 279 ) 278 280 If Not Exist ..\ActiveTOL\bin\tol.dll ( 279 281 Echo Recuperando librería perdida ..\ActiveTOL\bin\tol.dll 280 copy ..\..\tol\ win-VC9\release\tol.dll ..\ActiveTOL\bin\tol.dll282 copy ..\..\tol\%winSrc%\release\tol.dll ..\ActiveTOL\bin\tol.dll 281 283 ) 282 284 If Not Exist ..\ActiveTOL\bin\tolodbc*.dll ( 283 285 Echo Recuperando librería perdida ..\ActiveTOL\bin\tolodbc*.dll 284 copy ..\..\tol\ win-VC9\libtolodbc\Release\*.dll ..\ActiveTOL\bin286 copy ..\..\tol\%winSrc%\libtolodbc\Release\*.dll ..\ActiveTOL\bin 285 287 ) 286 288 If Not Exist ..\ActiveTOL\bin\tolmysql*.dll ( 287 289 Echo Recuperando librería perdida ..\ActiveTOL\bin\tolmysql*.dll 288 copy ..\..\tol\ win-VC9\libtolmysql\Release\*.dll ..\ActiveTOL\bin290 copy ..\..\tol\%winSrc%\libtolmysql\Release\*.dll ..\ActiveTOL\bin 289 291 ) 290 292 If Not Exist ..\ActiveTOL\bin\tolpgsql*.dll ( 291 293 Echo Recuperando librería perdida ..\ActiveTOL\bin\tolpgsql*.dll 292 copy ..\..\tol\ win-VC9\libtolpgsql\Release\*.dll ..\ActiveTOL\bin294 copy ..\..\tol\%winSrc%\libtolpgsql\Release\*.dll ..\ActiveTOL\bin 293 295 ) 294 296 If Not Exist ..\ActiveTOL\lib\toltcl\toltcl.dll ( 295 297 Echo Recuperando librería perdida ..\ActiveTOL\lib\toltcl\toltcl.dll 296 copy ..\..\toltcl\ win-VC9\Release\toltcl.dll ..\ActiveTOL\lib\toltcl\toltcl.dll298 copy ..\..\toltcl\%winSrc%\Release\toltcl.dll ..\ActiveTOL\lib\toltcl\toltcl.dll 297 299 ) 298 300 If Not Exist ..\ActiveTOL\bin\vbtol.dll ( 299 301 Echo Recuperando librería perdida ..\ActiveTOL\bin\vbtol.dll 300 copy ..\..\vbtol\ win-VC9\Release\vbtol.dll ..\ActiveTOL\bin\vbtol.dll302 copy ..\..\vbtol\%winSrc%\Release\vbtol.dll ..\ActiveTOL\bin\vbtol.dll 301 303 ) 302 304 -
windows/build_tools/exclude.lst
r1a27dd0 r8313955 1 1 CVS 2 .svn 2 3 Makefile.am 3 4 Makefile.in -
windows/build_tools/uptol.bat
r1a27dd0 r8313955 1 1 @Rem Author: Jorge <josp.jorge@gmail.com> 2 2 @Echo Off 3 3 4 4 ..\..\tol\win-VC8\release\build_date_gen.exe 5 6 5 touch ..\..\tol\init.cpp 7 6 8 @Echo Off9 7 Rem Actualiza desde el SVN el contenido de build_tools (este directorio) 10 8 Rem Luego procede a ejecutar _uptol.bat … … 39 37 ) 40 38 39 If Defined VS80COMNTOOLS ( 40 Echo Reconocido el entorno de desarrollo VS80 41 Set VSCOMNTOOLS=%VS80COMNTOOLS% 42 Set winSrc=win-VC8 43 ) Else If Defined VS90COMNTOOLS ( 44 Echo Reconocido el entorno de desarrollo VS90 45 Set VSCOMNTOOLS=%VS90COMNTOOLS% 46 Set winSrc=win-VC9 47 ) Else ( 48 Echo No hemos encontrado un entorno de desarrollo reconocido. Los entornos reconocidos con VS80 or VS90 49 Goto END 50 ) 51 41 52 CALL _uptol.bat %* 42 53
Note: See TracChangeset
for help on using the changeset viewer.
