Hi all.
I recently decided to give Code::Blocks a try by attempting to compile Notepad++ for windows with it. I've been very impressed! After getting to know how to operate it, it didn't take me long to build it successfully. I have just one small problem; the post build steps for it look like this:
copy /Y ..\src\config.model.xml ..\bin\config.model.xml
copy /Y ..\src\langs.model.xml ..\bin\langs.model.xml
copy /Y ..\src\stylers.model.xml ..\bin\stylers.model.xml
copy /Y ..\src\font\LINEDRAW.TTF ..\bin\LINEDRAW.TTF
copy /Y ..\src\shortcuts.xml ..\bin\shortcuts.xml
copy /Y ..\src\contextMenu.xml ..\bin\contextMenu.xml
After a successful build i get:
Execution of 'copy /Y ..\src\config.model.xml ..\bin\config.model.xml' in 'K:\DEVENV\Projects\npp.4.8.5.src\PowerEditor\visual.net' failed.
However, if i put all these commands in K:\DEVENV\Projects\npp.4.8.5.src\PowerEditor\visual.net\post.bat and replace them in post-build steps with simply "post.bat" the console output looks like:
K:\DEVENV\Projects\npp.4.8.5.src\PowerEditor\visual.net>copy /Y ..\src\config.model.xml ..\bin\config.model.xml
1 file(s) copied.
K:\DEVENV\Projects\npp.4.8.5.src\PowerEditor\visual.net>copy /Y ..\src\langs.model.xml ..\bin\langs.model.xml
1 file(s) copied.
K:\DEVENV\Projects\npp.4.8.5.src\PowerEditor\visual.net>copy /Y ..\src\stylers.model.xml ..\bin\stylers.model.xml
1 file(s) copied.
K:\DEVENV\Projects\npp.4.8.5.src\PowerEditor\visual.net>copy /Y ..\src\font\LINEDRAW.TTF ..\bin\LINEDRAW.TTF
1 file(s) copied.
K:\DEVENV\Projects\npp.4.8.5.src\PowerEditor\visual.net>copy /Y ..\src\shortcuts.xml ..\bin\shortcuts.xml
1 file(s) copied.
K:\DEVENV\Projects\npp.4.8.5.src\PowerEditor\visual.net>copy /Y ..\src\contextMenu.xml ..\bin\contextMenu.xml
1 file(s) copied.
If anyone can suggest what I might be doing wrong I'd really appreciate it.
Thanks, Ehtyar.