Skip to content
Browse files

added BuildReport as submodule and use it in build scripts

  • Loading branch information...
1 parent c0492d5 commit cd8f64da839313a750eaeb00a65529b36763eddc @chefkoch chefkoch committed Feb 26, 2013
View
3 .gitmodules
@@ -1,3 +1,6 @@
[submodule "libbluray"]
path = libbluray
url = git://git.1f0.de/libbluray.git
+[submodule "Build/BuildReport"]
+ path = Build/BuildReport
+ url = https://github.com/MediaPortal/BuildReport.git
View
5 Build/BuildInit.bat
@@ -43,4 +43,7 @@ echo. >> %log%
echo. >> %log%
echo Using following environment variables: >> %log%
echo DXSDK_DIR = %DXSDK_DIR% >> %log%
-echo. >> %log%
+echo. >> %log%
+
+REM copy BuildReport resources
+xcopy /I /Y .\BuildReport\_BuildReport_Files .\_BuildReport_Files
1 Build/BuildReport
@@ -0,0 +1 @@
+Subproject commit 2c127b5d836a17dba53f86f73d5c0155d889159d
View
7 Build/MSBUILD_Rebuild_All_MediaPortal_Debug.bat
@@ -16,7 +16,12 @@ call VS_Rebuild_Debug_DirectShowFilters.bat
echo.
echo Building MediaPortal...
-"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%MediaPortal%\MediaPortal.sln" >> %log%
+set xml=Build_Report_%BUILD_TYPE%_MediaPortal.xml
+set html=Build_Report_%BUILD_TYPE%_MediaPortal.html
+set logger=/l:XmlFileLogger,"BuildReport\MSBuild.ExtensionPack.Loggers.dll";logfile=%xml%
+
+"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" %logger% /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%MediaPortal%\MediaPortal.sln" >> %log%
+BuildReport\msxsl %xml% _BuildReport_Files\BuildReport.xslt -o %html%
echo.
echo Reverting assemblies...
View
22 Build/MSBUILD_Rebuild_All_MediaPortal_Release.bat
@@ -16,7 +16,12 @@ call VS_Rebuild_Release_DirectShowFilters.bat
echo.
echo Building MediaPortal...
-"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%MediaPortal%\MediaPortal.sln" >> %log%
+set xml=Build_Report_%BUILD_TYPE%_MediaPortal.xml
+set html=Build_Report_%BUILD_TYPE%_MediaPortal.html
+set logger=/l:XmlFileLogger,"BuildReport\MSBuild.ExtensionPack.Loggers.dll";logfile=%xml%
+
+"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" %logger% /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%MediaPortal%\MediaPortal.sln" >> %log%
+BuildReport\msxsl %xml% _BuildReport_Files\BuildReport.xslt -o %html%
echo.
echo Reverting assemblies...
@@ -48,10 +53,21 @@ rem %DeployVersionGIT% /git="%GIT_ROOT%" /path="%TVLibrary%" >> %log%
echo.
echo Building TV Server...
-"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%TVLibrary%\TvLibrary.sln" >> %log%
+set xml=Build_Report_%BUILD_TYPE%_TvLibrary.xml
+set html=Build_Report_%BUILD_TYPE%_TvLibrary.html
+set logger=/l:XmlFileLogger,"BuildReport\MSBuild.ExtensionPack.Loggers.dll";logfile=%xml%
+
+"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" %logger% /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%TVLibrary%\TvLibrary.sln" >> %log%
+BuildReport\msxsl %xml% _BuildReport_Files\BuildReport.xslt -o %html%
+
echo.
echo Building TV Client plugin...
-"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%TVLibrary%\TvPlugin\TvPlugin.sln" >> %log%
+set xml=Build_Report_%BUILD_TYPE%_TvPlugin.xml
+set html=Build_Report_%BUILD_TYPE%_TvPlugin.html
+set logger=/l:XmlFileLogger,"BuildReport\MSBuild.ExtensionPack.Loggers.dll";logfile=%xml%
+
+"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" %logger% /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%TVLibrary%\TvPlugin\TvPlugin.sln" >> %log%
+BuildReport\msxsl %xml% _BuildReport_Files\BuildReport.xslt -o %html%
echo.
echo Reverting assemblies...
View
7 Build/MSBUILD_Rebuild_Release_MediaPortal.bat
@@ -12,7 +12,12 @@ rem %DeployVersionGIT% /git="%GIT_ROOT%" /path="%MediaPortal%" >> %log%
echo.
echo Building MediaPortal...
-"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%MediaPortal%\MediaPortal.sln" >> %log%
+set xml=Build_Report_%BUILD_TYPE%_MediaPortal.xml
+set html=Build_Report_%BUILD_TYPE%_MediaPortal.html
+set logger=/l:XmlFileLogger,"BuildReport\MSBuild.ExtensionPack.Loggers.dll";logfile=%xml%
+
+"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" %logger% /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%MediaPortal%\MediaPortal.sln" >> %log%
+BuildReport\msxsl %xml% _BuildReport_Files\BuildReport.xslt -o %html%
echo.
echo Reverting assemblies...
View
15 Build/MSBUILD_Rebuild_Release_TVServer_Client.bat
@@ -12,10 +12,21 @@ rem %DeployVersionGIT% /git="%GIT_ROOT%" /path="%TVLibrary%" >> %log%
echo.
echo Building TV Server...
-"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%TVLibrary%\TvLibrary.sln" >> %log%
+set xml=Build_Report_%BUILD_TYPE%_TvLibrary.xml
+set html=Build_Report_%BUILD_TYPE%_TvLibrary.html
+set logger=/l:XmlFileLogger,"BuildReport\MSBuild.ExtensionPack.Loggers.dll";logfile=%xml%
+
+"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" %logger% /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%TVLibrary%\TvLibrary.sln" >> %log%
+BuildReport\msxsl %xml% _BuildReport_Files\BuildReport.xslt -o %html%
+
echo.
echo Building TV Client plugin...
-"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%TVLibrary%\TvPlugin\TvPlugin.sln" >> %log%
+set xml=Build_Report_%BUILD_TYPE%_TvPlugin.xml
+set html=Build_Report_%BUILD_TYPE%_TvPlugin.html
+set logger=/l:XmlFileLogger,"BuildReport\MSBuild.ExtensionPack.Loggers.dll";logfile=%xml%
+
+"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" %logger% /tv:3.5 /p:TargetFrameworkVersion=v3.5 /target:Rebuild /property:Configuration=%BUILD_TYPE%;Platform=x86 "%TVLibrary%\TvPlugin\TvPlugin.sln" >> %log%
+BuildReport\msxsl %xml% _BuildReport_Files\BuildReport.xslt -o %html%
echo.
echo Reverting assemblies...
View
16 Build/VS_build_DirectShowFilters.bat
@@ -27,11 +27,23 @@ if not [%3]==[] goto BUILD_PRJ
goto BUILD rem full build
:BUILD_PRJ
-"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" /target:%BUILD_MODE% /property:Configuration=%BUILD_TYPE% "..\DirectShowFilters\Filters.sln" %PRJ% >> %log%
+set xml=Build_Report_%BUILD_TYPE%_Filters_%PRJ%.xml
+set html=Build_Report_%BUILD_TYPE%_Filters_%PRJ%.html
+set logger=/l:XmlFileLogger,"BuildReport\MSBuild.ExtensionPack.Loggers.dll";logfile=%xml%
+
+"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" %logger% /target:%BUILD_MODE% /property:Configuration=%BUILD_TYPE% "..\DirectShowFilters\Filters.sln" %PRJ% >> %log%
+BuildReport\msxsl %xml% _BuildReport_Files\BuildReport.xslt -o %html%
+
goto DONE
:BUILD
-"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" /target:%BUILD_MODE% /property:Configuration=%BUILD_TYPE% "..\DirectShowFilters\Filters.sln" >> %log%
+set xml=Build_Report_%BUILD_TYPE%_Filters.xml
+set html=Build_Report_%BUILD_TYPE%_Filters.html
+set logger=/l:XmlFileLogger,"BuildReport\MSBuild.ExtensionPack.Loggers.dll";logfile=%xml%
+
+"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" %logger% /target:%BUILD_MODE% /property:Configuration=%BUILD_TYPE% "..\DirectShowFilters\Filters.sln" >> %log%
+BuildReport\msxsl %xml% _BuildReport_Files\BuildReport.xslt -o %html%
+
goto DONE
:ERROR_IN_PARAMETERS

0 comments on commit cd8f64d

Please sign in to comment.
Something went wrong with that request. Please try again.