Permalink
Switch branches/tags
backups/ajp8164@23754 backups/TV-Server_1.0.2_bugfix_release@22439 backups/TV-Server_1.0.1_bugfix_release@22432 backups/Script_&_Batch_tools_1.0.2_bugfix_release@22439 backups/NALU_TsReader@24286 backups/MediaPortal_1.0.2_bugfix_release@22439 backups/Installer_1.0.2__bugfix_release@22439 backups/InstallationScripts_1.0.2_bugfix_release@22439 backups/DirectShowFilters_1.0.2_bugfix_release@22439 backups/Bugfix_re-release_1.0.2@22580 Version_0.2.2.0 Version_0.2.0.0 Version_0.2.0.0_RC2 Version_0.2.0.0_RC1 Version_0.1.3.0 Version_0.1.3.0_Pre Version_0.1.2.0 Version_0.1.0.10 Version_0.1.0.9 Version_0.1.0.8 Version_0.1.0.6 Version_0.1.0.5 Version_0.1.0.4 Release_1.16.0 Release_1.16.0_Pre_Release Release_1.15.0 Release_1.15.0_Pre_Release Release_1.14.0 Release_1.13.0 Release_1.13.0_Pre_Release Release_1.12.0 Release_1.12.0_Pre_Release Release_1.11.0 Release_1.11.0_Pre_Release Release_1.10.0 Release_1.10.0_Pre_Release Release_1.9.0 Release_1.9.0_Pre_Release Release_1.8.0 Release_1.8.0_Pre_Release Release_1.7.1_HotFix Release_1.7.0 Release_1.7.0_Pre_Release Release_1.6.0 Release_1.6.0_Pre_Release Release_1.5.0 Release_1.5.0_Pre_Release Release_1.4.0 Release_1.3.0 Release_1.3.0_RC1 Release_1.3.0_Beta Release_1.3.0_Alpha Release_1.2.3 Release_1.2.2 Release_1.2.1 Release_1.2.0 Release_1.2.0_RC1 Release_1.2.0_Beta Release_1.2.0_Alpha Release_1.1.3 Release_1.1.2 Release_1.1.1 Release_1.1.0 Release_1.1_RC6 Release_1.1_RC5 Release_1.1_RC4 Release_1.1_RC3 Release_1.1_RC2 Release_1.1_RC1 Release_1.1_Beta Release_1.1_Alpha Release_1.0.2 Release_1.0.1 Release_1.0.0 1.7.0_Pre_Release 1.3.0_beta
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (35 sloc) 1.5 KB
@ECHO OFF
rem build init
set project=MediaPortal
call BuildInit.bat %1
rem build
echo.
echo Writing GIT revision assemblies...
rem %DeployVersionGIT% /git="%GIT_ROOT%" /path="%MediaPortal%" >> %log%
%DeployVersionGIT% /git="%GIT_ROOT%" /path="%CommonMPTV%" >> %log%
echo.
echo Building Libbluray Java...
call %ant_home%\bin\ant -f %LibblurayJAR% -Dsrc_awt=:java-j2se
echo.
echo Building MediaPortal...
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%
"%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBUILD.exe" %logger% /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...
rem %DeployVersionGIT% /git="%GIT_ROOT%" /path="%MediaPortal%" /revert >> %log%
%DeployVersionGIT% /git="%GIT_ROOT%" /path="%CommonMPTV%" /revert >> %log%
echo.
echo Reading the git revision...
%DeployVersionGIT% /git="%GIT_ROOT%" /path="%CommonMPTV%" /GetVersion >> %log%
rem SET /p version=<version.txt >> %log%
SET version=%errorlevel%
DEL version.txt >> %log%
echo.
echo Make MediaPortal 2GB LARGEADDRESSAWARE...
call MSBUILD_MP_LargeAddressAware.bat %BUILD_TYPE%
echo.
echo Building Installer...
"%progpath%\NSIS\makensis.exe" /DBUILD_TYPE=%BUILD_TYPE% /DVER_BUILD=%version% "%MediaPortal%\Setup\setup.nsi" >> %log%