Hi, guys.
I noticed the jsc project will execute the following post-build events:
===============================================
if exist "$(WebKitOutputDir)\buildfailed" del "$(WebKitOutputDir)\buildfailed"
mkdir 2>NUL "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\icudt40.dll" xcopy /y /d
"$(WebKitLibrariesDir)\bin\icudt40.dll" "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\icudt40$(LibraryConfigSuffix).dll" xcopy /y
/d "$(WebKitLibrariesDir)\bin\icudt40
$(LibraryConfigSuffix).dll" "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\icuin40$(LibraryConfigSuffix).dll" xcopy /y
/d "$(WebKitLibrariesDir)\bin\icuin40
$(LibraryConfigSuffix).dll" "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\icuuc40$(LibraryConfigSuffix).dll" xcopy /y
/d "$(WebKitLibrariesDir)\bin\icuuc40
$(LibraryConfigSuffix).dll" "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\CoreFoundation$(LibraryConfigSuffix).dll"
xcopy /y /d "$(WebKitLibrariesDir)
\bin\CoreFoundation$(LibraryConfigSuffix).dll" "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\CoreFoundation.resources" xcopy /y /d /e /i
"$(WebKitLibrariesDir)
\bin\CoreFoundation.resources" "$(WebKitOutputDir)\bin\CoreFoundation.resources"
if exist "$(WebKitLibrariesDir)\bin\pthreadVC2$(LibraryConfigSuffix).dll" xcopy
/y /d "$(WebKitLibrariesDir)\bin\pthreadVC2
$(LibraryConfigSuffix).dll" "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\objc$(LibraryConfigSuffix).dll" xcopy /y /d
"$(WebKitLibrariesDir)
\bin\objc$(LibraryConfigSuffix).dll" "$(WebKitOutputDir)\bin"
===============================================
After carefully checking of these commands, I find jsc trys to copy some .dll
files which are not in webkit's source, in
fact, the "$(WebKitLibrariesDir)\bin", at all. Such as
icudt40.dll, icuin40.dll, icuuc40.dll, libxml2.dll, pthreadVC2.dll, and so on.
These "xcopy" actions will cause a building error,
===============================================
error PRJ0019: A tool returned an error code from "Performing Post-Build
Event..."
===============================================
which I have tested by removing all the xcopy commands from
jscCommon.vsprops, and I got a "Build: 18 succeeded, 0 failed, 0 up-to-date, 0
skipped".
Also, I found EXEs in "$(WebKitOutputDir)\bin", such as WinLauncher.exe,
couldn't work without these .dll files.
So, is that a bug or just an oblivion of forgetting to produce these .dll files
in "$(WebKitOutputDir)\bin" , or maybe forgetting to provide them in
"$(WebKitLibrariesDir)\bin" ?
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev