Patch #2303 2007-12-28 23:30

mortis

updates update.bat to also include the wxsmith/*.png images
Download
2303-updates_update.patch (1.2 KB)
Category
Platform-Specific
Status
Closed
Close date
2008-04-04 14:39
Assigned to
biplab
Index: update.bat
===================================================================
--- update.bat    (revision 4760)
+++ update.bat    (working copy)
@@ -16,6 +16,7 @@
 if not exist %CB_OUTPUT_RESDIR%\images\settings md %CB_OUTPUT_RESDIR%\images\settings\
 if not exist %CB_OUTPUT_RESDIR%\images\16x16 md %CB_OUTPUT_RESDIR%\images\16x16\
 if not exist %CB_OUTPUT_RESDIR%\images\codecompletion md %CB_OUTPUT_RESDIR%\images\codecompletion\
+if not exist %CB_OUTPUT_RESDIR%\images\wxsmith md %CB_OUTPUT_RESDIR%\images\wxsmith\
 if not exist %CB_OUTPUT_RESDIR%\plugins md %CB_OUTPUT_RESDIR%\plugins\
 if not exist %CB_OUTPUT_RESDIR%\templates md %CB_OUTPUT_RESDIR%\templates\
 if not exist %CB_OUTPUT_RESDIR%\templates\wizard md %CB_OUTPUT_RESDIR%\templates\wizard\
@@ -69,6 +70,7 @@
 copy /y setup\exchndl.dll devel > nul
 echo Copying files
 copy /y %CB_DEVEL_RESDIR%\*.zip %CB_OUTPUT_RESDIR% > nul
+copy /y %CB_DEVEL_RESDIR%\images\wxsmith\*.png %CB_OUTPUT_RESDIR%\images\wxsmith > nul
 copy /y sdk\resources\lexers\lexer_* %CB_DEVEL_RESDIR%\lexers > nul
 copy /y sdk\resources\lexers\lexer_* %CB_OUTPUT_RESDIR%\lexers > nul
 copy /y src\resources\images\*.png %CB_DEVEL_RESDIR%\images > nul
jenslody 2007-12-29 08:59

This is normally done in wxSmith's post-build-step by wxSmith's own update/update.bat-script.

It works if you do not change the default output directories.

If you change them you have to change update/update.bat in the wxSmith-directory too.

mortis 2007-12-29 12:40

Ah yes, it seems I wasn't looking hard enough to find those. Thanks for pointing that out to me, so you can close this patch if you wish.