| 1 |
@rem ===== source/destination dirs that may change depending where you build mozilla ===== |
|---|
| 2 |
@set DEST_DIR=C:\checkouts\latest |
|---|
| 3 |
|
|---|
| 4 |
@rem =============== instructions =============== |
|---|
| 5 |
@echo This batch file copies files from a Mozilla build to Second Life |
|---|
| 6 |
@echo Client source tree. |
|---|
| 7 |
@echo. |
|---|
| 8 |
@echo IMPORTANT: You will need a full Second Life tree and a debug and |
|---|
| 9 |
@echo optimized build of Mozilla to proceed. |
|---|
| 10 |
@echo. |
|---|
| 11 |
@pause |
|---|
| 12 |
|
|---|
| 13 |
@echo ========== copying header file ========== |
|---|
| 14 |
xcopy llmozlib2.h %DEST_DIR%\libraries\include\ /y |
|---|
| 15 |
|
|---|
| 16 |
@echo ========== copying debug library ========== |
|---|
| 17 |
xcopy debug\llmozlib2d.lib %DEST_DIR%\libraries\i686-win32\lib\debug\ /y |
|---|
| 18 |
xcopy debug\llmozlib2d-vc80.lib %DEST_DIR%\libraries\i686-win32\lib\debug\ /y |
|---|
| 19 |
|
|---|
| 20 |
@echo ========== copying release library ========== |
|---|
| 21 |
xcopy release\llmozlib2.lib %DEST_DIR%\libraries\i686-win32\lib\release\ /y |
|---|
| 22 |
xcopy release\llmozlib2-vc80.lib %DEST_DIR%\libraries\i686-win32\lib\release\ /y |
|---|
| 23 |
|
|---|
| 24 |
@echo ========== copying debug DLLs and exe ========== |
|---|
| 25 |
xcopy libraries\i686-win32\runtime_debug\*.dll %DEST_DIR%\libraries\i686-win32\lib\debug\ /y |
|---|
| 26 |
xcopy libraries\i686-win32\runtime_debug\*.exe %DEST_DIR%\libraries\i686-win32\lib\debug\ /y |
|---|
| 27 |
|
|---|
| 28 |
@echo ========== copying release DLLs ========== |
|---|
| 29 |
xcopy libraries\i686-win32\runtime_release\*.dll %DEST_DIR%\libraries\i686-win32\lib\release\ /y |
|---|
| 30 |
|
|---|
| 31 |
@echo ========== copying debug runtime files ========== |
|---|
| 32 |
xcopy libraries\i686-win32\runtime_debug\chrome\*.* %DEST_DIR%\indra\newview\app_settings\mozilla_debug\chrome\ /s /y |
|---|
| 33 |
xcopy libraries\i686-win32\runtime_debug\components\*.* %DEST_DIR%\indra\newview\app_settings\mozilla_debug\components\ /s /y |
|---|
| 34 |
xcopy libraries\i686-win32\runtime_debug\greprefs\*.* %DEST_DIR%\indra\newview\app_settings\mozilla_debug\greprefs\ /s /y |
|---|
| 35 |
xcopy libraries\i686-win32\runtime_debug\plugins\*.* %DEST_DIR%\indra\newview\app_settings\mozilla_debug\plugins\ /s /y |
|---|
| 36 |
xcopy libraries\i686-win32\runtime_debug\res\*.* %DEST_DIR%\indra\newview\app_settings\mozilla_debug\res\ /s /y |
|---|
| 37 |
|
|---|
| 38 |
@echo ========== copying release runtime files ========== |
|---|
| 39 |
xcopy libraries\i686-win32\runtime_release\chrome\*.* %DEST_DIR%\indra\newview\app_settings\mozilla\chrome\ /s /y |
|---|
| 40 |
xcopy libraries\i686-win32\runtime_release\components\*.* %DEST_DIR%\indra\newview\app_settings\mozilla\components\ /s /y |
|---|
| 41 |
xcopy libraries\i686-win32\runtime_release\greprefs\*.* %DEST_DIR%\indra\newview\app_settings\mozilla\greprefs\ /s /y |
|---|
| 42 |
xcopy libraries\i686-win32\runtime_release\plugins\*.* %DEST_DIR%\indra\newview\app_settings\mozilla\plugins\ /s /y |
|---|
| 43 |
xcopy libraries\i686-win32\runtime_release\res\*.* %DEST_DIR%\indra\newview\app_settings\mozilla\res\ /s /y |
|---|
| 44 |
|
|---|
| 45 |
@echo ========== copying debug chrome updates ========== |
|---|
| 46 |
xcopy %DEST_DIR%\indra\newview\mozilla-theme\classic.jar %DEST_DIR%\indra\newview\app_settings\mozilla_debug\chrome\ /s /y |
|---|
| 47 |
xcopy %DEST_DIR%\indra\newview\mozilla-theme\classic.manifest %DEST_DIR%\indra\newview\app_settings\mozilla_debug\chrome\ /s /y |
|---|
| 48 |
|
|---|
| 49 |
@echo ========== copying release chrome updates ========== |
|---|
| 50 |
xcopy %DEST_DIR%\indra\newview\mozilla-theme\classic.jar %DEST_DIR%\indra\newview\app_settings\mozilla\chrome\ /s /y |
|---|
| 51 |
xcopy %DEST_DIR%\indra\newview\mozilla-theme\classic.manifest %DEST_DIR%\indra\newview\app_settings\mozilla\chrome\ /s /y |
|---|
| 52 |
|
|---|
| 53 |
@echo ========== finished ========== |
|---|
| 54 |
@pause |
|---|