root/trunk/llmozlib2/copy_llmozlib2_to_branch.bat

Revision 11, 3.0 kB (checked in by callum.linden, 2 years ago)

Update of this branch with files from internal Linden version.
Addition of README for Windows developers
Internal Linden version is now deprecated and this branch becomes the canonical version.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1 @rem ===== source/destination dirs that may change depending where you build mozilla =====
2 @set DEST_DIR=C:\checkouts\release
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
19 @echo ========== copying release library ==========
20 xcopy release\llmozlib2.lib %DEST_DIR%\libraries\i686-win32\lib_release\ /y
21
22 @echo ========== copying debug DLLs and exe ==========
23 xcopy libraries\i686-win32\runtime_debug\*.dll %DEST_DIR%\libraries\i686-win32\lib_debug\ /y
24 xcopy libraries\i686-win32\runtime_debug\*.exe %DEST_DIR%\libraries\i686-win32\lib_debug\ /y
25
26 @echo ========== copying release DLLs ==========
27 xcopy libraries\i686-win32\runtime_release\*.dll %DEST_DIR%\libraries\i686-win32\lib_release\ /y
28
29 @echo ========== copying debug runtime files ==========
30 xcopy libraries\i686-win32\runtime_debug\chrome\*.*             %DEST_DIR%\indra\newview\app_settings\mozilla_debug\chrome\ /s /y
31 xcopy libraries\i686-win32\runtime_debug\components\*.*         %DEST_DIR%\indra\newview\app_settings\mozilla_debug\components\ /s /y
32 xcopy libraries\i686-win32\runtime_debug\greprefs\*.*           %DEST_DIR%\indra\newview\app_settings\mozilla_debug\greprefs\ /s /y
33 xcopy libraries\i686-win32\runtime_debug\plugins\*.*            %DEST_DIR%\indra\newview\app_settings\mozilla_debug\plugins\ /s /y
34 xcopy libraries\i686-win32\runtime_debug\res\*.*                %DEST_DIR%\indra\newview\app_settings\mozilla_debug\res\ /s /y
35
36 @echo ========== copying release runtime files ==========
37 xcopy libraries\i686-win32\runtime_release\chrome\*.*           %DEST_DIR%\indra\newview\app_settings\mozilla\chrome\ /s /y
38 xcopy libraries\i686-win32\runtime_release\components\*.*       %DEST_DIR%\indra\newview\app_settings\mozilla\components\ /s /y
39 xcopy libraries\i686-win32\runtime_release\greprefs\*.*         %DEST_DIR%\indra\newview\app_settings\mozilla\greprefs\ /s /y
40 xcopy libraries\i686-win32\runtime_release\plugins\*.*          %DEST_DIR%\indra\newview\app_settings\mozilla\plugins\ /s /y
41 xcopy libraries\i686-win32\runtime_release\res\*.*              %DEST_DIR%\indra\newview\app_settings\mozilla\res\ /s /y
42
43 @echo ========== copying debug chrome updates ==========
44 xcopy %DEST_DIR%\indra\newview\mozilla-theme\classic.jar        %DEST_DIR%\indra\newview\app_settings\mozilla_debug\chrome\ /s /y
45 xcopy %DEST_DIR%\indra\newview\mozilla-theme\classic.manifest   %DEST_DIR%\indra\newview\app_settings\mozilla_debug\chrome\ /s /y
46
47 @echo ========== copying release chrome updates ==========
48 xcopy %DEST_DIR%\indra\newview\mozilla-theme\classic.jar        %DEST_DIR%\indra\newview\app_settings\mozilla\chrome\ /s /y
49 xcopy %DEST_DIR%\indra\newview\mozilla-theme\classic.manifest   %DEST_DIR%\indra\newview\app_settings\mozilla\chrome\ /s /y
50
51 @echo ========== finished ==========
52 @pause
Note: See TracBrowser for help on using the browser.