[mapguide-commits] r8586 - in trunk/Tools/JenkinsCI/home/slave_win/jobs: FDO x64 FDO x86 Maestro trunk MapGuide Open Source 2.6 x64 MapGuide Open Source 2.6 x86 MapGuide Open Source x64 MapGuide Open Source x86

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Mar 20 10:13:26 PDT 2015


Author: jng
Date: 2015-03-20 10:13:26 -0700 (Fri, 20 Mar 2015)
New Revision: 8586

Modified:
   trunk/Tools/JenkinsCI/home/slave_win/jobs/FDO x64/config.xml
   trunk/Tools/JenkinsCI/home/slave_win/jobs/FDO x86/config.xml
   trunk/Tools/JenkinsCI/home/slave_win/jobs/Maestro trunk/config.xml
   trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source 2.6 x64/config.xml
   trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source 2.6 x86/config.xml
   trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source x64/config.xml
   trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source x86/config.xml
Log:
Jenkins job configuration updates for 3.0 release cycle

Modified: trunk/Tools/JenkinsCI/home/slave_win/jobs/FDO x64/config.xml
===================================================================
--- trunk/Tools/JenkinsCI/home/slave_win/jobs/FDO x64/config.xml	2015-03-20 11:49:27 UTC (rev 8585)
+++ trunk/Tools/JenkinsCI/home/slave_win/jobs/FDO x64/config.xml	2015-03-20 17:13:26 UTC (rev 8586)
@@ -20,7 +20,7 @@
         <hudson.model.StringParameterDefinition>
           <name>FDO_VERSION64</name>
           <description>FDO Version Number (major.minor.rev)</description>
-          <defaultValue>3.10.0</defaultValue>
+          <defaultValue>4.0.0</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.BooleanParameterDefinition>
           <name>CLEAR_WORKING_AREA</name>
@@ -50,117 +50,120 @@
   <concurrentBuild>false</concurrentBuild>
   <builders>
     <hudson.tasks.BatchFile>
-      <command>@echo off
-SET FDOMYSQL=%MG_LIB_ROOT%\fdo_rdbms_thirdparty\mysql_x64
-SET FDOORACLE=%MG_LIB_ROOT%\fdo_rdbms_thirdparty\oracle_x64\instantclient\11.2\sdk
-SET FDOPOSTGRESQL=%MG_LIB_ROOT%\fdo_rdbms_thirdparty\pgsql
-SET FDO_BUILD_OUTPUT64=%MG_BUILD_ARTIFACT_PATH%\fdo\%FDO_VERSION64%\x64
-SET FDO_BIN_EXTRAS64=%MG_LIB_ROOT%\fdo_extras\%FDO_VERSION64%\x64
-SET REVNUM_FILE64=%MG_TOOL_PATH%\revnum.pl
-SET FDO_STAMP_FILE64=%MG_BUILD_ARTIFACT_PATH%\last_fdo_%FDO_VERSION64%_revision_x64.txt
-SET FDO_WORKING_AREA64=%MG_BUILD_AREA%\FDO\%FDO_VERSION64%\x64
-
-echo ============ Env Vars for FDO Build =====================
-echo FDOMYSQL           = %FDOMYSQL%
-echo FDOORACLE          = %FDOORACLE%
-echo FDOPOSTGRESQL      = %FDOPOSTGRESQL%
-echo FDO_BUILD_OUTPUT64 = %FDO_BUILD_OUTPUT64%
-echo FDO_BIN_EXTRAS64   = %FDO_BIN_EXTRAS64%
-echo REVNUM_FILE64      = %REVNUM_FILE64%
-echo FDO_STAMP_FILE64   = %FDO_STAMP_FILE64%
-echo FDO_WORKING_AREA64 = %FDO_WORKING_AREA64%
-echo =========================================================
-
-REM Pre-build checks, nuke artifact dir and working area
-echo [prepare]: Clean out build area and build artifacts
-if exist %FDO_BUILD_OUTPUT64% rd /S /Q %FDO_BUILD_OUTPUT64%
-if "%CLEAR_WORKING_AREA%"=="false" (
-    echo [prepare]: Skip cleaning build area
-    goto build_fdo
-)
-if exist %FDO_WORKING_AREA64% rd /S /Q %FDO_WORKING_AREA64%
-if not exist %FDO_WORKING_AREA64% mkdir %FDO_WORKING_AREA64%
-
-REM Need to supply --force otherwise it won't export into the dir we made
-echo [prepare]: Exporting SVN working copy to build area
-SET BUILD_ACTION=Exporting SVN working copy to build area
-svn export %FDO_BUILD_SRC64% %FDO_WORKING_AREA64% --force -q
-if "%errorlevel%"=="1" goto error
-
-REM Copy non-UAC UpdateVersion
-echo [prepare]: Copy non UAC-gimped UpdateVersion
-SET BUILD_ACTION=Copy non UAC-gimped UpdateVersion
-copy /Y %MG_TOOL_PATH%\UpdateVersion.exe %FDO_WORKING_AREA64%\Thirdparty\util\UpdateVersion\bin
-if "%errorlevel%"=="1" goto error
-
-:build_fdo
-echo [prepare]: Noting SVN revision
-set /p REVISION= < "%FDO_STAMP_FILE_SOURCE64%"
-copy /Y "%FDO_STAMP_FILE_SOURCE64%" "%FDO_STAMP_FILE64%"
-
-REM Need to use x86_amd64 because the 64-bit compiler in VS 2012 express is a cross-compiler
-pushd %FDO_WORKING_AREA64%
-echo [build]: Set env vars
-call setenvironment.bat x86_amd64
-
-echo [build]: build thirdparty
-SET BUILD_ACTION=Build FDO Thirdparty
-call build_thirdparty.bat -p=x64 -a=buildinstall -o=%FDO_BUILD_OUTPUT64%
-if "%errorlevel%"=="1" goto error
-
-echo [build]: build core and providers
-SET BUILD_ACTION=Build FDO core/providers
-call build.bat -p=x64 -a=buildinstall -o=%FDO_BUILD_OUTPUT64%
-if "%errorlevel%"=="1" goto error
-
-if not exist %FDO_BIN_EXTRAS64% goto pack
-echo [build]: Overlaying FDO extras to build artifacts
-pushd %FDO_BIN_EXTRAS64%
-copy /Y *.* %FDO_BUILD_OUTPUT64%\Fdo\Bin
-popd
-:pack
-echo [build]: Pack files
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=fdo -b=%REVISION% -r=%FDO_VERSION_64%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=shp -b=%REVISION% -r=%FDO_VERSION_64%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=sdf -b=%REVISION% -r=%FDO_VERSION_64%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=wfs -b=%REVISION% -r=%FDO_VERSION_64%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=wms -b=%REVISION% -r=%FDO_VERSION_64%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=rdbms -b=%REVISION% -r=%FDO_VERSION_64%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=mysql -b=%REVISION% -r=%FDO_VERSION_64%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=odbc -b=%REVISION% -r=%FDO_VERSION_64%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=sqlspatial -b=%REVISION% -r=%FDO_VERSION_64%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=gdal -b=%REVISION% -r=%FDO_VERSION_64%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=kingoracle -b=%REVISION% -r=%FDO_VERSION_64%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=ogr -b=%REVISION% -r=%FDO_VERSION_64%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=sqlite -b=%REVISION% -r=%FDO_VERSION_64%
-popd
-
-if "%FDO_RUN_UNIT_TESTS64%"=="false" goto end
-:fdo_unit_tests
-pushd %FDO_WORKING_AREA64%\Fdo\Unmanaged\Bin\Win64\Release
-UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT64%\fdocore_unittest.log
-popd
-pushd %FDO_WORKING_AREA64%\Providers\SHP\Src\UnitTest
-..\..\Bin\Win64\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT64%\shp_unittest.log
-popd
-pushd %FDO_WORKING_AREA64%\Providers\SDF\Src\UnitTest
-..\..\Bin\Win64\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT64%\sdf_unittest.log
-popd
-pushd %FDO_WORKING_AREA64%\Providers\SQLite\Src\UnitTest
-..\..\Bin\Win64\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT64%\sqlite_unittest.log
-popd
-pushd %FDO_WORKING_AREA64%\Providers\GDAL\Src\UnitTest
-..\..\Bin\Win64\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT64%\gdal_unittest.log
-popd
-pushd %FDO_WORKING_AREA64%\Providers\WMS\Src\UnitTest
-..\..\Bin\Win64\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT64%\wms_unittest.log
-popd
-goto end
-
-:error
-echo An error occurred while building FDO: %BUILD_ACTION%
-exit /b 1
-:end
+      <command>@echo off&#xd;
+SET FDOMYSQL=%MG_LIB_ROOT%\fdo_rdbms_thirdparty\mysql_x64&#xd;
+SET FDOORACLE=%MG_LIB_ROOT%\fdo_rdbms_thirdparty\oracle_x64\instantclient\11.2\sdk&#xd;
+SET FDOPOSTGRESQL=%MG_LIB_ROOT%\fdo_rdbms_thirdparty\pgsql&#xd;
+SET FDO_BUILD_OUTPUT64=%MG_BUILD_ARTIFACT_PATH%\fdo\%FDO_VERSION64%\x64&#xd;
+SET FDO_BIN_EXTRAS64=%MG_LIB_ROOT%\fdo_extras\%FDO_VERSION64%\x64&#xd;
+SET REVNUM_FILE64=%MG_TOOL_PATH%\revnum.pl&#xd;
+SET FDO_STAMP_FILE64=%MG_BUILD_ARTIFACT_PATH%\last_fdo_%FDO_VERSION64%_revision_x64.txt&#xd;
+SET FDO_WORKING_AREA64=%MG_BUILD_AREA%\FDO\%FDO_VERSION64%\x64&#xd;
+&#xd;
+echo ============ Env Vars for FDO Build =====================&#xd;
+echo FDOMYSQL           = %FDOMYSQL%&#xd;
+echo FDOORACLE          = %FDOORACLE%&#xd;
+echo FDOPOSTGRESQL      = %FDOPOSTGRESQL%&#xd;
+echo FDO_BUILD_OUTPUT64 = %FDO_BUILD_OUTPUT64%&#xd;
+echo FDO_BIN_EXTRAS64   = %FDO_BIN_EXTRAS64%&#xd;
+echo REVNUM_FILE64      = %REVNUM_FILE64%&#xd;
+echo FDO_STAMP_FILE64   = %FDO_STAMP_FILE64%&#xd;
+echo FDO_WORKING_AREA64 = %FDO_WORKING_AREA64%&#xd;
+echo =========================================================&#xd;
+&#xd;
+REM Pre-build checks, nuke artifact dir and working area&#xd;
+echo [prepare]: Clean out build area and build artifacts&#xd;
+if exist %FDO_BUILD_OUTPUT64% rd /S /Q %FDO_BUILD_OUTPUT64%&#xd;
+if "%CLEAR_WORKING_AREA%"=="false" (&#xd;
+    echo [prepare]: Skip cleaning build area&#xd;
+    goto build_fdo&#xd;
+)&#xd;
+if exist %FDO_WORKING_AREA64% rd /S /Q %FDO_WORKING_AREA64%&#xd;
+if not exist %FDO_WORKING_AREA64% mkdir %FDO_WORKING_AREA64%&#xd;
+&#xd;
+REM Need to supply --force otherwise it won't export into the dir we made&#xd;
+echo [prepare]: Exporting SVN working copy to build area&#xd;
+SET BUILD_ACTION=Exporting SVN working copy to build area&#xd;
+svn export %FDO_BUILD_SRC64% %FDO_WORKING_AREA64% --force -q&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+REM Copy non-UAC UpdateVersion&#xd;
+echo [prepare]: Copy non UAC-gimped UpdateVersion&#xd;
+SET BUILD_ACTION=Copy non UAC-gimped UpdateVersion&#xd;
+copy /Y %MG_TOOL_PATH%\UpdateVersion.exe %FDO_WORKING_AREA64%\Thirdparty\util\UpdateVersion\bin&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+:build_fdo&#xd;
+echo [prepare]: Noting SVN revision&#xd;
+set /p REVISION= < "%FDO_STAMP_FILE_SOURCE64%"&#xd;
+copy /Y "%FDO_STAMP_FILE_SOURCE64%" "%FDO_STAMP_FILE64%"&#xd;
+&#xd;
+REM Need to use x86_amd64 because the 64-bit compiler in VS 2012 express is a cross-compiler&#xd;
+pushd %FDO_WORKING_AREA64%&#xd;
+echo [build]: Set env vars&#xd;
+call setenvironment.bat x86_amd64&#xd;
+&#xd;
+echo [build]: build thirdparty&#xd;
+SET BUILD_ACTION=Build FDO Thirdparty&#xd;
+call build_thirdparty.bat -p=x64 -a=buildinstall -o=%FDO_BUILD_OUTPUT64%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [build]: build core and providers&#xd;
+SET BUILD_ACTION=Build FDO core/providers&#xd;
+call build.bat -p=x64 -a=buildinstall -o=%FDO_BUILD_OUTPUT64%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+if not exist %FDO_BIN_EXTRAS64% goto pack&#xd;
+echo [build]: Overlaying FDO extras to build artifacts&#xd;
+pushd %FDO_BIN_EXTRAS64%&#xd;
+copy /Y *.* %FDO_BUILD_OUTPUT64%\Fdo\Bin&#xd;
+popd&#xd;
+:pack&#xd;
+echo [build]: Pack files&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=fdo -b=%REVISION% -r=%FDO_VERSION_64%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=shp -b=%REVISION% -r=%FDO_VERSION_64%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=sdf -b=%REVISION% -r=%FDO_VERSION_64%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=wfs -b=%REVISION% -r=%FDO_VERSION_64%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=wms -b=%REVISION% -r=%FDO_VERSION_64%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=rdbms -b=%REVISION% -r=%FDO_VERSION_64%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=mysql -b=%REVISION% -r=%FDO_VERSION_64%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=odbc -b=%REVISION% -r=%FDO_VERSION_64%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=sqlspatial -b=%REVISION% -r=%FDO_VERSION_64%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=gdal -b=%REVISION% -r=%FDO_VERSION_64%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=kingoracle -b=%REVISION% -r=%FDO_VERSION_64%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=ogr -b=%REVISION% -r=%FDO_VERSION_64%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT64%\Fdo -o=%FDO_BUILD_OUTPUT64%\dist -w=sqlite -b=%REVISION% -r=%FDO_VERSION_64%&#xd;
+popd&#xd;
+&#xd;
+if "%FDO_RUN_UNIT_TESTS64%"=="false" goto end&#xd;
+:fdo_unit_tests&#xd;
+pushd %FDO_WORKING_AREA64%\Fdo\Unmanaged\Bin\Win64\Release&#xd;
+UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT64%\fdocore_unittest.log&#xd;
+popd&#xd;
+pushd %FDO_WORKING_AREA64%\Providers\SHP\Src\UnitTest&#xd;
+..\..\Bin\Win64\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT64%\shp_unittest.log&#xd;
+popd&#xd;
+pushd %FDO_WORKING_AREA64%\Providers\SDF\Src\UnitTest&#xd;
+..\..\Bin\Win64\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT64%\sdf_unittest.log&#xd;
+popd&#xd;
+pushd %FDO_WORKING_AREA64%\Providers\SQLite\Src\UnitTest&#xd;
+..\..\Bin\Win64\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT64%\sqlite_unittest.log&#xd;
+popd&#xd;
+pushd %FDO_WORKING_AREA64%\Providers\OGR\Src\UnitTest&#xd;
+..\..\Bin\Win64\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT64%\ogr_unittest.log&#xd;
+popd&#xd;
+pushd %FDO_WORKING_AREA64%\Providers\GDAL\Src\UnitTest&#xd;
+..\..\Bin\Win64\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT64%\gdal_unittest.log&#xd;
+popd&#xd;
+pushd %FDO_WORKING_AREA64%\Providers\WMS\Src\UnitTest&#xd;
+..\..\Bin\Win64\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT64%\wms_unittest.log&#xd;
+popd&#xd;
+goto end&#xd;
+&#xd;
+:error&#xd;
+echo An error occurred while building FDO: %BUILD_ACTION%&#xd;
+exit /b 1&#xd;
+:end&#xd;
 exit /b 0</command>
     </hudson.tasks.BatchFile>
   </builders>

Modified: trunk/Tools/JenkinsCI/home/slave_win/jobs/FDO x86/config.xml
===================================================================
--- trunk/Tools/JenkinsCI/home/slave_win/jobs/FDO x86/config.xml	2015-03-20 11:49:27 UTC (rev 8585)
+++ trunk/Tools/JenkinsCI/home/slave_win/jobs/FDO x86/config.xml	2015-03-20 17:13:26 UTC (rev 8586)
@@ -20,7 +20,7 @@
         <hudson.model.StringParameterDefinition>
           <name>FDO_VERSION</name>
           <description>FDO Version Number (major.minor.rev)</description>
-          <defaultValue>3.10.0</defaultValue>
+          <defaultValue>4.0.0</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.BooleanParameterDefinition>
           <name>CLEAR_WORKING_AREA</name>
@@ -41,6 +41,7 @@
     </hudson.model.ParametersDefinitionProperty>
   </properties>
   <scm class="hudson.scm.NullSCM"/>
+  <quietPeriod>2700</quietPeriod>
   <canRoam>true</canRoam>
   <disabled>false</disabled>
   <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
@@ -50,117 +51,120 @@
   <concurrentBuild>false</concurrentBuild>
   <builders>
     <hudson.tasks.BatchFile>
-      <command>@echo off
-SET FDOMYSQL=%MG_LIB_ROOT%\fdo_rdbms_thirdparty\mysql
-SET FDOORACLE=%MG_LIB_ROOT%\fdo_rdbms_thirdparty\oracle\instantclient\11.2\sdk
-SET FDOPOSTGRESQL=%MG_LIB_ROOT%\fdo_rdbms_thirdparty\pgsql
-SET FDO_BUILD_OUTPUT=%MG_BUILD_ARTIFACT_PATH%\fdo\%FDO_VERSION%\x86
-SET FDO_BIN_EXTRAS=%MG_LIB_ROOT%\fdo_extras\%FDO_VERSION%\x86
-SET REVNUM_FILE=%MG_TOOL_PATH%\revnum.pl
-SET FDO_STAMP_FILE=%MG_BUILD_ARTIFACT_PATH%\last_fdo_%FDO_VERSION%_revision_x86.txt
-SET FDO_WORKING_AREA=%MG_BUILD_AREA%\FDO\%FDO_VERSION%\x86
-
-echo ============ Env Vars for FDO Build =====================
-echo FDOMYSQL           = %FDOMYSQL%
-echo FDOORACLE          = %FDOORACLE%
-echo FDOPOSTGRESQL      = %FDOPOSTGRESQL%
-echo FDO_BUILD_OUTPUT   = %FDO_BUILD_OUTPUT%
-echo FDO_BIN_EXTRAS     = %FDO_BIN_EXTRAS%
-echo REVNUM_FILE        = %REVNUM_FILE%
-echo FDO_STAMP_FILE     = %FDO_STAMP_FILE%
-echo FDO_WORKING_AREA   = %FDO_WORKING_AREA%
-echo =========================================================
-
-REM Pre-build checks, nuke artifact dir and working area
-echo [prepare]: Clean out build area and build artifacts
-if exist %FDO_BUILD_OUTPUT% rd /S /Q %FDO_BUILD_OUTPUT%
-if "%CLEAR_WORKING_AREA%"=="false" (
-    echo [prepare]: Skip cleaning build area
-    goto build_fdo
-)
-if exist %FDO_WORKING_AREA% rd /S /Q %FDO_WORKING_AREA%
-if not exist %FDO_WORKING_AREA% mkdir %FDO_WORKING_AREA%
-
-REM Need to supply --force otherwise it won't export into the dir we made
-echo [prepare]: Exporting SVN working copy to build area
-SET BUILD_ACTION=Exporting SVN working copy to build area
-svn export %FDO_BUILD_SRC% %FDO_WORKING_AREA% --force -q
-if "%errorlevel%"=="1" goto error
-
-REM Copy non-UAC UpdateVersion
-echo [prepare]: Copy non UAC-gimped UpdateVersion
-SET BUILD_ACTION=Copy non UAC-gimped UpdateVersion
-copy /Y %MG_TOOL_PATH%\UpdateVersion.exe %FDO_WORKING_AREA%\Thirdparty\util\UpdateVersion\bin
-if "%errorlevel%"=="1" goto error
-
-:build_fdo
-echo [prepare]: Noting SVN revision
-set /p REVISION= < "%FDO_STAMP_FILE_SOURCE%"
-copy /Y "%FDO_STAMP_FILE_SOURCE%" "%FDO_STAMP_FILE%"
-
-pushd %FDO_WORKING_AREA%
-echo [build]: Set env vars
-call setenvironment.bat x86
-
-echo [build]: build thirdparty
-SET BUILD_ACTION=Build FDO Thirdparty
-call build_thirdparty.bat -p=Win32 -a=buildinstall -o=%FDO_BUILD_OUTPUT%
-if "%errorlevel%"=="1" goto error
-
-echo [build]: build core and providers
-SET BUILD_ACTION=Build FDO core/providers
-call build.bat -p=Win32 -a=buildinstall -o=%FDO_BUILD_OUTPUT%
-if "%errorlevel%"=="1" goto error
-
-if not exist %FDO_BIN_EXTRAS% goto pack
-echo [build]: Overlaying FDO extras to build artifacts
-pushd %FDO_BIN_EXTRAS%
-copy /Y *.* %FDO_BUILD_OUTPUT%\Fdo\Bin
-popd
-
-:pack
-echo [build]: Pack files
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=fdo -b=%REVISION% -r=%FDO_VERSION%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=shp -b=%REVISION% -r=%FDO_VERSION%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=sdf -b=%REVISION% -r=%FDO_VERSION%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=wfs -b=%REVISION% -r=%FDO_VERSION%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=wms -b=%REVISION% -r=%FDO_VERSION%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=rdbms -b=%REVISION% -r=%FDO_VERSION%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=mysql -b=%REVISION% -r=%FDO_VERSION%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=odbc -b=%REVISION% -r=%FDO_VERSION%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=sqlspatial -b=%REVISION% -r=%FDO_VERSION%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=gdal -b=%REVISION% -r=%FDO_VERSION%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=kingoracle -b=%REVISION% -r=%FDO_VERSION%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=ogr -b=%REVISION% -r=%FDO_VERSION%
-rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=sqlite -b=%REVISION% -r=%FDO_VERSION%
-popd
-
-if "%FDO_RUN_UNIT_TESTS%"=="false" goto end
-:fdo_unit_tests
-pushd %FDO_WORKING_AREA%\Fdo\Unmanaged\Bin\Win32\Release
-UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT%\fdocore_unittest.log
-popd
-pushd %FDO_WORKING_AREA%\Providers\SHP\Src\UnitTest
-..\..\Bin\Win32\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT%\shp_unittest.log
-popd
-pushd %FDO_WORKING_AREA%\Providers\SDF\Src\UnitTest
-..\..\Bin\Win32\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT%\sdf_unittest.log
-popd
-pushd %FDO_WORKING_AREA%\Providers\SQLite\Src\UnitTest
-..\..\Bin\Win32\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT%\sqlite_unittest.log
-popd
-pushd %FDO_WORKING_AREA%\Providers\GDAL\Src\UnitTest
-..\..\Bin\Win32\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT%\gdal_unittest.log
-popd
-pushd %FDO_WORKING_AREA%\Providers\WMS\Src\UnitTest
-..\..\Bin\Win32\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT%\wms_unittest.log
-popd
-goto end
-
-:error
-echo An error occurred while building FDO: %BUILD_ACTION%
-exit /b 1
-:end
+      <command>@echo off&#xd;
+SET FDOMYSQL=%MG_LIB_ROOT%\fdo_rdbms_thirdparty\mysql&#xd;
+SET FDOORACLE=%MG_LIB_ROOT%\fdo_rdbms_thirdparty\oracle\instantclient\11.2\sdk&#xd;
+SET FDOPOSTGRESQL=%MG_LIB_ROOT%\fdo_rdbms_thirdparty\pgsql&#xd;
+SET FDO_BUILD_OUTPUT=%MG_BUILD_ARTIFACT_PATH%\fdo\%FDO_VERSION%\x86&#xd;
+SET FDO_BIN_EXTRAS=%MG_LIB_ROOT%\fdo_extras\%FDO_VERSION%\x86&#xd;
+SET REVNUM_FILE=%MG_TOOL_PATH%\revnum.pl&#xd;
+SET FDO_STAMP_FILE=%MG_BUILD_ARTIFACT_PATH%\last_fdo_%FDO_VERSION%_revision_x86.txt&#xd;
+SET FDO_WORKING_AREA=%MG_BUILD_AREA%\FDO\%FDO_VERSION%\x86&#xd;
+&#xd;
+echo ============ Env Vars for FDO Build =====================&#xd;
+echo FDOMYSQL           = %FDOMYSQL%&#xd;
+echo FDOORACLE          = %FDOORACLE%&#xd;
+echo FDOPOSTGRESQL      = %FDOPOSTGRESQL%&#xd;
+echo FDO_BUILD_OUTPUT   = %FDO_BUILD_OUTPUT%&#xd;
+echo FDO_BIN_EXTRAS     = %FDO_BIN_EXTRAS%&#xd;
+echo REVNUM_FILE        = %REVNUM_FILE%&#xd;
+echo FDO_STAMP_FILE     = %FDO_STAMP_FILE%&#xd;
+echo FDO_WORKING_AREA   = %FDO_WORKING_AREA%&#xd;
+echo =========================================================&#xd;
+&#xd;
+REM Pre-build checks, nuke artifact dir and working area&#xd;
+echo [prepare]: Clean out build area and build artifacts&#xd;
+if exist %FDO_BUILD_OUTPUT% rd /S /Q %FDO_BUILD_OUTPUT%&#xd;
+if "%CLEAR_WORKING_AREA%"=="false" (&#xd;
+    echo [prepare]: Skip cleaning build area&#xd;
+    goto build_fdo&#xd;
+)&#xd;
+if exist %FDO_WORKING_AREA% rd /S /Q %FDO_WORKING_AREA%&#xd;
+if not exist %FDO_WORKING_AREA% mkdir %FDO_WORKING_AREA%&#xd;
+&#xd;
+REM Need to supply --force otherwise it won't export into the dir we made&#xd;
+echo [prepare]: Exporting SVN working copy to build area&#xd;
+SET BUILD_ACTION=Exporting SVN working copy to build area&#xd;
+svn export %FDO_BUILD_SRC% %FDO_WORKING_AREA% --force -q&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+REM Copy non-UAC UpdateVersion&#xd;
+echo [prepare]: Copy non UAC-gimped UpdateVersion&#xd;
+SET BUILD_ACTION=Copy non UAC-gimped UpdateVersion&#xd;
+copy /Y %MG_TOOL_PATH%\UpdateVersion.exe %FDO_WORKING_AREA%\Thirdparty\util\UpdateVersion\bin&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+:build_fdo&#xd;
+echo [prepare]: Noting SVN revision&#xd;
+set /p REVISION= < "%FDO_STAMP_FILE_SOURCE%"&#xd;
+copy /Y "%FDO_STAMP_FILE_SOURCE%" "%FDO_STAMP_FILE%"&#xd;
+&#xd;
+pushd %FDO_WORKING_AREA%&#xd;
+echo [build]: Set env vars&#xd;
+call setenvironment.bat x86&#xd;
+&#xd;
+echo [build]: build thirdparty&#xd;
+SET BUILD_ACTION=Build FDO Thirdparty&#xd;
+call build_thirdparty.bat -p=Win32 -a=buildinstall -o=%FDO_BUILD_OUTPUT%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [build]: build core and providers&#xd;
+SET BUILD_ACTION=Build FDO core/providers&#xd;
+call build.bat -p=Win32 -a=buildinstall -o=%FDO_BUILD_OUTPUT%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+if not exist %FDO_BIN_EXTRAS% goto pack&#xd;
+echo [build]: Overlaying FDO extras to build artifacts&#xd;
+pushd %FDO_BIN_EXTRAS%&#xd;
+copy /Y *.* %FDO_BUILD_OUTPUT%\Fdo\Bin&#xd;
+popd&#xd;
+&#xd;
+:pack&#xd;
+echo [build]: Pack files&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=fdo -b=%REVISION% -r=%FDO_VERSION%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=shp -b=%REVISION% -r=%FDO_VERSION%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=sdf -b=%REVISION% -r=%FDO_VERSION%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=wfs -b=%REVISION% -r=%FDO_VERSION%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=wms -b=%REVISION% -r=%FDO_VERSION%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=rdbms -b=%REVISION% -r=%FDO_VERSION%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=mysql -b=%REVISION% -r=%FDO_VERSION%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=odbc -b=%REVISION% -r=%FDO_VERSION%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=sqlspatial -b=%REVISION% -r=%FDO_VERSION%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=gdal -b=%REVISION% -r=%FDO_VERSION%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=kingoracle -b=%REVISION% -r=%FDO_VERSION%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=ogr -b=%REVISION% -r=%FDO_VERSION%&#xd;
+rem call createtarzipbinfiles.bat -i=%FDO_BUILD_OUTPUT%\Fdo -o=%FDO_BUILD_OUTPUT%\dist -w=sqlite -b=%REVISION% -r=%FDO_VERSION%&#xd;
+popd&#xd;
+&#xd;
+if "%FDO_RUN_UNIT_TESTS%"=="false" goto end&#xd;
+:fdo_unit_tests&#xd;
+pushd %FDO_WORKING_AREA%\Fdo\Unmanaged\Bin\Win32\Release&#xd;
+UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT%\fdocore_unittest.log&#xd;
+popd&#xd;
+pushd %FDO_WORKING_AREA%\Providers\SHP\Src\UnitTest&#xd;
+..\..\Bin\Win32\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT%\shp_unittest.log&#xd;
+popd&#xd;
+pushd %FDO_WORKING_AREA%\Providers\SDF\Src\UnitTest&#xd;
+..\..\Bin\Win32\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT%\sdf_unittest.log&#xd;
+popd&#xd;
+pushd %FDO_WORKING_AREA%\Providers\SQLite\Src\UnitTest&#xd;
+..\..\Bin\Win32\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT%\sqlite_unittest.log&#xd;
+popd&#xd;
+pushd %FDO_WORKING_AREA%\Providers\OGR\Src\UnitTest&#xd;
+..\..\Bin\Win32\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT%\ogr_unittest.log&#xd;
+popd&#xd;
+pushd %FDO_WORKING_AREA%\Providers\GDAL\Src\UnitTest&#xd;
+..\..\Bin\Win32\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT%\gdal_unittest.log&#xd;
+popd&#xd;
+pushd %FDO_WORKING_AREA%\Providers\WMS\Src\UnitTest&#xd;
+..\..\Bin\Win32\Release\UnitTest.exe -NoWAIT > %FDO_BUILD_OUTPUT%\wms_unittest.log&#xd;
+popd&#xd;
+goto end&#xd;
+&#xd;
+:error&#xd;
+echo An error occurred while building FDO: %BUILD_ACTION%&#xd;
+exit /b 1&#xd;
+:end&#xd;
 exit /b 0</command>
     </hudson.tasks.BatchFile>
   </builders>

Modified: trunk/Tools/JenkinsCI/home/slave_win/jobs/Maestro trunk/config.xml
===================================================================
--- trunk/Tools/JenkinsCI/home/slave_win/jobs/Maestro trunk/config.xml	2015-03-20 11:49:27 UTC (rev 8585)
+++ trunk/Tools/JenkinsCI/home/slave_win/jobs/Maestro trunk/config.xml	2015-03-20 17:13:26 UTC (rev 8586)
@@ -15,7 +15,7 @@
         <hudson.model.StringParameterDefinition>
           <name>VersionLabel</name>
           <description>The release version label</description>
-          <defaultValue>6.0a3</defaultValue>
+          <defaultValue>6.0m4</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>BASE_VERSION</name>
@@ -25,7 +25,7 @@
       </parameterDefinitions>
     </hudson.model.ParametersDefinitionProperty>
   </properties>
-  <scm class="hudson.scm.SubversionSCM" plugin="subversion at 2.3">
+  <scm class="hudson.scm.SubversionSCM" plugin="subversion at 2.5">
     <locations>
       <hudson.scm.SubversionSCM_-ModuleLocation>
         <remote>http://svn.osgeo.org/mapguide/trunk/Tools/Maestro</remote>
@@ -58,17 +58,18 @@
   <concurrentBuild>false</concurrentBuild>
   <builders>
     <hudson.tasks.BatchFile>
-      <command>pushd "%WORKSPACE%"
-rd /S /Q out
-popd
-pushd "%WORKSPACE%\Properties"
-%MG_TOOL_PATH%\SetAssemblyVersion.exe -set:%BASE_VERSION%.%SVN_REVISION% GlobalAssemblyInfo.cs
-popd
-pushd "%WORKSPACE%\SDK"
-rd /S /Q bin
-popd</command>
+      <command>pushd "%WORKSPACE%"&#xd;
+rd /S /Q out&#xd;
+popd&#xd;
+pushd "%WORKSPACE%\Properties"&#xd;
+%MG_TOOL_PATH%\SetAssemblyVersion.exe -set:%BASE_VERSION%.%SVN_REVISION% GlobalAssemblyInfo.cs&#xd;
+popd&#xd;
+pushd "%WORKSPACE%\SDK"&#xd;
+rd /S /Q bin&#xd;
+popd&#xd;
+if not exist "%WORKSPACE%\TestResults" mkdir "%WORKSPACE%\TestResults"</command>
     </hudson.tasks.BatchFile>
-    <hudson.plugins.msbuild.MsBuildBuilder plugin="msbuild at 1.21">
+    <hudson.plugins.msbuild.MsBuildBuilder plugin="msbuild at 1.24">
       <msBuildName>MSBUILD 4.0 x86</msBuildName>
       <msBuildFile>Maestro\Maestro_All.sln</msBuildFile>
       <cmdLineArgs>/p:Configuration=Release</cmdLineArgs>
@@ -77,40 +78,40 @@
       <unstableIfWarnings>false</unstableIfWarnings>
     </hudson.plugins.msbuild.MsBuildBuilder>
     <hudson.tasks.BatchFile>
-      <command>pushd "%WORKSPACE%\out\Release\AddIns"
-rd /S /Q GeoRest
+      <command>pushd "%WORKSPACE%\Maestro\packages\NUnit.Runners.2.6.3\tools"&#xd;
+nunit-console.exe "%WORKSPACE%\OSGeo.MapGuide.ObjectModel.Tests\bin\Release\OSGeo.MapGuide.ObjectModels.Tests.dll" "%WORKSPACE%\OSGeo.MapGuide.MaestroAPI.Tests\bin\Release\OSGeo.MapGuide.MaestroAPI.Tests.dll" /xml="%WORKSPACE%\TestResults\testresult.xml"&#xd;
 popd</command>
     </hudson.tasks.BatchFile>
     <hudson.tasks.BatchFile>
-      <command>pushd "%WORKSPACE%\UserDoc"
-call make.bat html
-popd
-pushd "%WORKSPACE%\UserDoc\build\html"
-xcopy /S /Y *.* "%WORKSPACE%\out\Release\UserDoc\"
-popd
+      <command>pushd "%WORKSPACE%\UserDoc"&#xd;
+call make.bat html&#xd;
+popd&#xd;
+pushd "%WORKSPACE%\UserDoc\build\html"&#xd;
+xcopy /S /Y *.* "%WORKSPACE%\out\Release\UserDoc\"&#xd;
+popd&#xd;
 </command>
     </hudson.tasks.BatchFile>
     <hudson.tasks.BatchFile>
-      <command>pushd "%WORKSPACE%\Thirdparty\NSIS"
-makensis.exe /DSLN_CONFIG=Release /DCPU=x86 /DRELEASE_VERSION=%VersionLabel% "%WORKSPACE%\Install\Maestro.nsi"
-popd
-pushd "%WORKSPACE%\out"
-if not exist "%MG_BUILD_ARTIFACT_PATH%\maestro" mkdir "%MG_BUILD_ARTIFACT_PATH%\maestro"
-move /Y *.exe "%MG_BUILD_ARTIFACT_PATH%\maestro"
+      <command>pushd "%WORKSPACE%\Thirdparty\NSIS"&#xd;
+makensis.exe /DSLN_CONFIG=Release /DCPU=x86 /DRELEASE_VERSION=%VersionLabel% "%WORKSPACE%\Install\Maestro.nsi"&#xd;
+popd&#xd;
+pushd "%WORKSPACE%\out"&#xd;
+if not exist "%MG_BUILD_ARTIFACT_PATH%\maestro" mkdir "%MG_BUILD_ARTIFACT_PATH%\maestro"&#xd;
+move /Y *.exe "%MG_BUILD_ARTIFACT_PATH%\maestro"&#xd;
 popd</command>
     </hudson.tasks.BatchFile>
     <hudson.tasks.BatchFile>
-      <command>pushd "%WORKSPACE%\out\Release\AddIns"
-rd /S /Q Local
-rd /S /Q Scripting
-popd
-pushd "%WORKSPACE%\out\Release"
-del /Q LocalConfigure.*
-if not exist "%MG_BUILD_ARTIFACT_PATH%\maestro" mkdir "%MG_BUILD_ARTIFACT_PATH%\maestro"
-7z a -tzip -mx9 "%MG_BUILD_ARTIFACT_PATH%\maestro\MapGuideMaestro-%VersionLabel%-Release.zip" .
+      <command>pushd "%WORKSPACE%\out\Release\AddIns"&#xd;
+rd /S /Q Local&#xd;
+rd /S /Q Scripting&#xd;
+popd&#xd;
+pushd "%WORKSPACE%\out\Release"&#xd;
+del /Q LocalConfigure.*&#xd;
+if not exist "%MG_BUILD_ARTIFACT_PATH%\maestro" mkdir "%MG_BUILD_ARTIFACT_PATH%\maestro"&#xd;
+7z a -tzip -mx9 "%MG_BUILD_ARTIFACT_PATH%\maestro\MapGuideMaestro-%VersionLabel%-Release.zip" .&#xd;
 popd</command>
     </hudson.tasks.BatchFile>
-    <hudson.plugins.msbuild.MsBuildBuilder plugin="msbuild at 1.21">
+    <hudson.plugins.msbuild.MsBuildBuilder plugin="msbuild at 1.24">
       <msBuildName>MSBUILD 4.0 x86</msBuildName>
       <msBuildFile>Doc\MaestroAPI.shfbproj</msBuildFile>
       <cmdLineArgs></cmdLineArgs>
@@ -119,12 +120,12 @@
       <unstableIfWarnings>false</unstableIfWarnings>
     </hudson.plugins.msbuild.MsBuildBuilder>
     <hudson.tasks.BatchFile>
-      <command>pushd "%WORKSPACE%\Doc\Help"
-move /Y MaestroAPI.chm "%WORKSPACE%\SDK"
-popd
-pushd "%WORKSPACE%\SDK"
-if not exist "%MG_BUILD_ARTIFACT_PATH%\maestro" mkdir "%MG_BUILD_ARTIFACT_PATH%\maestro"
-7z a -tzip -mx9 "%MG_BUILD_ARTIFACT_PATH%\maestro\MaestroSDK_%VersionLabel%.zip" .
+      <command>pushd "%WORKSPACE%\Doc\Help"&#xd;
+move /Y MaestroAPI.chm "%WORKSPACE%\SDK"&#xd;
+popd&#xd;
+pushd "%WORKSPACE%\SDK"&#xd;
+if not exist "%MG_BUILD_ARTIFACT_PATH%\maestro" mkdir "%MG_BUILD_ARTIFACT_PATH%\maestro"&#xd;
+7z a -tzip -mx9 "%MG_BUILD_ARTIFACT_PATH%\maestro\MaestroSDK_%VersionLabel%.zip" .&#xd;
 popd</command>
     </hudson.tasks.BatchFile>
   </builders>

Modified: trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source 2.6 x64/config.xml
===================================================================
--- trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source 2.6 x64/config.xml	2015-03-20 11:49:27 UTC (rev 8585)
+++ trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source 2.6 x64/config.xml	2015-03-20 17:13:26 UTC (rev 8586)
@@ -15,7 +15,7 @@
         <hudson.model.StringParameterDefinition>
           <name>RELEASE_LABEL64</name>
           <description></description>
-          <defaultValue>RC1</defaultValue>
+          <defaultValue>Final</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>WITH_ARCSDE</name>
@@ -35,7 +35,7 @@
         <hudson.model.StringParameterDefinition>
           <name>MG_VER_BUILD</name>
           <description></description>
-          <defaultValue>0</defaultValue>
+          <defaultValue>1</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>MG_BUILD_SRC64</name>
@@ -80,233 +80,233 @@
   <concurrentBuild>false</concurrentBuild>
   <builders>
     <hudson.tasks.BatchFile>
-      <command>@echo off
-
-SET BUILD_ACTION=Setting Visual Studio env vars
-SET VCBEXTENSION=_vs12
-SET VC_COMPILER=vc110
-SET ACTIVENAMECHECK="Microsoft Visual Studio 11"
-SET ACTIVEPATHCHECK="C:\Program Files\Microsoft Visual Studio 11.0\VC"
-if exist %ACTIVEPATHCHECK% goto VSExist
-SET ACTIVEPATHCHECK="C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC"
-if exist %ACTIVEPATHCHECK% goto VSExist
-goto error
-
-REM Use x86_amd64 because 64-bit compiler in VS2012 express is a cross-compiler
-:VSExist
-call %ACTIVEPATHCHECK%\vcvarsall.bat x86_amd64
-
-REM Sigh! We can't seem to reference this from Jenkins
-SET MSBUILD_NET40=C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
-
-SET MG_VER_MAJOR_MINOR=%MG_VER_MAJOR%.%MG_VER_MINOR%
-SET MG_VER_MAJOR_MINOR_BUILD=%MG_VER_MAJOR_MINOR%.%MG_VER_BUILD%
-SET MG_BUILD_OUTPUT_ROOT64=%MG_BUILD_ARTIFACT_PATH%\mapguide
-SET MG_BUILD_OUTPUT64=%MG_BUILD_OUTPUT_ROOT64%\%MG_VER_MAJOR_MINOR_BUILD%\x64\release
-SET MG_BUILD_AREA64=%MG_BUILD_AREA%\mapguide\%MG_VER_MAJOR_MINOR_BUILD%\x64
-SET REVNUM_FILE64=%MG_TOOL_PATH%\revnum.pl
-SET MG_STAMP_FILE64=%MG_BUILD_ARTIFACT_PATH%\last_mapguide_%MG_VER_MAJOR_MINOR_BUILD%_revision_x64.txt
-SET BUILD_ACTION=
-
-echo =================== Env Vars for MapGuide =============================
-echo MG_VER_MAJOR_MINOR         = %MG_VER_MAJOR_MINOR%
-echo MG_VER_MAJOR_MINOR_BUILD   = %MG_VER_MAJOR_MINOR_BUILD%
-echo MG_BUILD_OUTPUT_ROOT64     = %MG_BUILD_OUTPUT_ROOT64%
-echo MG_BUILD_OUTPUT64          = %MG_BUILD_OUTPUT64%
-echo MG_BUILD_AREA64            = %MG_BUILD_AREA64%
-echo REVNUM_FILE64              = %REVNUM_FILE64%
-echo MG_STAMP_FILE64            = %MG_STAMP_FILE64%
-echo INSTANT_SETUP_SRC          = %INSTANT_SETUP_SRC%
-echo JAVA_HOME                  = %JAVA_HOME%
-echo ANT_HOME                   = %ANT_HOME%
-echo MG_RUN_UNIT_TESTS64        = %MG_RUN_UNIT_TESTS64%
-echo =======================================================================
-
-echo [prepare]: Cleaning out build artifacts
-if exist %MG_BUILD_OUTPUT64% rd /S /Q %MG_BUILD_OUTPUT64%
-
-echo [prepare]: Noting SVN revision
-set /p MG_REVISION64= < "%MG_STAMP_FILE_SOURCE64%"
-copy /Y "%MG_STAMP_FILE_SOURCE64%" "%MG_STAMP_FILE64%"
-
-if "%CLEAR_WORKING_AREA%"=="false" (
-    echo [prepare]: Skip cleaning build area
-    goto build_mapguide
-)
-echo [prepare]: Cleaning out build area
-if exist %MG_BUILD_AREA64% rd /S /Q %MG_BUILD_AREA64%
-echo [prepare]: Re-creating output directories
-if not exist %MG_BUILD_AREA64%\Installer mkdir %MG_BUILD_AREA64%\Installer
-if not exist %MG_BUILD_AREA64%\MgDev mkdir %MG_BUILD_AREA64%\MgDev
-if not exist %MG_BUILD_ARTIFACT_PATH%\mg-desktop mkdir %MG_BUILD_ARTIFACT_PATH%\mg-desktop
-
-echo [prepare]: Exporting SVN working copy to build area (Installer)
-SET BUILD_ACTION=Exporting SVN working copy to build area (Installer)
-svn export %MG_BUILD_SRC64%\Installer %MG_BUILD_AREA64%\Installer --force -q
-if "%errorlevel%"=="1" goto error
-
-echo [prepare]: Copying SVN working copy to build area (MgDev)
-SET BUILD_ACTION=Copying SVN working copy to build area (MgDev)
-svn export %MG_BUILD_SRC64%\MgDev %MG_BUILD_AREA64%\MgDev --force -q
-if "%errorlevel%"=="1" goto error
-
-echo [prepare]: Setup FDO in Oem
-cd %MG_BUILD_AREA64%\MgDev\Oem\FDO
-xcopy /S /Y /I %FDO_SRC64%\Inc Inc
-xcopy /S /Y /I %FDO_SRC64%\Lib Lib64
-xcopy /S /Y /I %FDO_SRC64%\Bin Bin\Release64
-xcopy /S /Y /I %FDO_SRC64%\Bin\com\*.* Bin\Release64\com
-REM For release we don't want pdbs and .net assemblies
-cd %MG_BUILD_AREA64%\MgDev\Oem\FDO\Bin\Release64
-del /Q OSGeo.FDO.*
-del /Q *.pdb
-
-:build_mapguide
-cd %MG_BUILD_AREA64%\MgDev
-echo [build]: Stamp version numbers
-SET BUILD_ACTION=Stamp version numbers %MG_VER_MAJOR%.%MG_VER_MINOR%.%MG_VER_BUILD%.%MG_REVISION64%
-cscript updateversion.vbs /major:%MG_VER_MAJOR% /minor:%MG_VER_MINOR% /point:%MG_VER_BUILD% /build:%MG_REVISION64%
-call stampassemblies.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%
-if "%errorlevel%"=="1" goto error
-
-REM ========================================= MapGuide ====================================================
-
-cd %MG_BUILD_AREA64%\MgDev
-echo [build]: Set env vars
-call setenvironment64.bat
-
-echo [build]: build oem/server/web
-cd %MG_BUILD_AREA64%\MgDev
-SET BUILD_ACTION=build oem/server/web
-call build.bat
-if "%errorlevel%"=="1" goto error
-
-echo [build]: install files to build artifact directory
-SET BUILD_ACTION=install files to build artifact directory
-call build.bat -a=install -o=%MG_BUILD_OUTPUT64%
-if "%errorlevel%"=="1" goto error
-
-REM Move fusion-selfbuild tools out of staging area
-pushd %MG_BUILD_OUTPUT64%\fusion-selfbuild
-move /Y fusion-%MG_VER_MAJOR_MINOR_BUILD%-buildtools.zip %MG_BUILD_OUTPUT_ROOT64%
-popd
-pushd %MG_BUILD_OUTPUT64%
-rd /S /Q fusion-selfbuild
-popd
-
-REM ========================================= mg-desktop ====================================================
-:build_mgdesktop
-REM HACK: mg-desktop batch files not aware of new output dir so set old one
-SET MG_OUTPUT=%MG_BUILD_AREA64%\MgDev\Release64
-pushd %MG_BUILD_AREA64%\MgDev
-echo [build]: mg-desktop
-SET BUILD_ACTION=Build mg-desktop
-call build_desktop.bat x64
-if "%errorlevel%"=="1" goto error
-popd
-
-pushd %MG_BUILD_AREA64%\MgDev\nuget
-echo [clean]: Nuget package temp files
-call package_clean.bat
-popd
-
-pushd %MG_BUILD_AREA64%\MgDev
-echo [build]: Nuget packages
-call nuget_prepare.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64% x64
-SET BUILD_ACTION=Nuget packages
-call nuget_pack.bat x64
-if "%errorlevel%"=="1" goto error
-popd
-
-pushd %MG_BUILD_AREA64%\MgDev\nuget
-echo [build]: Copy mg-desktop build artifacts (NuGet packages)
-set BUILD_ACTION=Copy mg-desktop build artifacts (NuGet packages)
-move *.nupkg %MG_BUILD_ARTIFACT_PATH%\mg-desktop
-if "%errorlevel%"=="1" goto error
-popd
-
-pushd %MG_BUILD_AREA64%\MgDev\Release64
-echo [build]: Copy mg-desktop build artifacts (zip dist)
-SET BUILD_ACTION=Copy mg-desktop build artifacts (zip dist)
-7z a -mx9 %MG_BUILD_ARTIFACT_PATH%\mg-desktop\mg-desktop-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-net40-vc11-x64.zip Desktop DesktopSamples
-if "%errorlevel%"=="1" goto error
-popd
-
-REM ========================================= Instant Setup =========================================================
-pushd %MG_BUILD_AREA64%\Installer
-echo [build]: Prepare artifact directory
-SET BUILD_ACTION=Prepare artifact directory
-call build.bat -a=prepare -source=%MG_BUILD_OUTPUT64%
-if "%errorlevel%"=="1" goto error
-popd
-
-if not exist %INSTANT_SETUP_SRC% goto checkout_instantsetup
-goto update_instantsetup
-:checkout_instantsetup
-echo [build]: svn checkout MgInstantSetup
-SET BUILD_ACTION=svn checkout MgInstantSetup
-svn co %INSTANT_SETUP_SVN_URL% %INSTANT_SETUP_SRC%
-if "%errorlevel%"=="1" goto error
-goto build_instantsetup
-
-:update_instantsetup
-REM We'll allow this to fail
-echo [build]: svn update MgInstantSetup
-pushd %INSTANT_SETUP_SRC%
-svn update
-popd
-
-:build_instantsetup
-echo [build]: MgInstantSetup
-pushd %INSTANT_SETUP_SRC%
-SET BUILD_ACTION=Building MgInstantSetup
-%MSBUILD_NET40% /p:Configuration=Release;Platform="Any CPU" MgInstantSetup.sln
-if "%errorlevel%"=="1" goto error
-popd
-
-:copy_instantsetup_build_artifacts
-echo [build]: Copy MgInstantSetup build artifacts
-if not exist %MG_BUILD_OUTPUT64%\Setup mkdir %MG_BUILD_OUTPUT64%\Setup
-pushd %INSTANT_SETUP_SRC%\InstantSetup\bin\release
-copy /Y *.exe %MG_BUILD_OUTPUT64%\Setup
-copy /Y *.pdb %MG_BUILD_OUTPUT64%\Setup
-copy /Y *.dll %MG_BUILD_OUTPUT64%\Setup
-copy /Y *.config %MG_BUILD_OUTPUT64%\Setup
-popd
-
-:zip_mginstantsetup
-pushd %MG_BUILD_OUTPUT64%
-7z a %MG_BUILD_OUTPUT_ROOT64%\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-InstantSetup-x64.exe -mmt -mx5 -sfx7z.sfx .
-popd
-
-REM ========================================= MapGuide Installer ====================================================
-
-:build_installer
-pushd %MG_BUILD_AREA64%\Installer
-echo [build]: Generate installer file listings
-SET BUILD_ACTION=Generate installer file listings
-call build.bat -a=generate -source=%MG_BUILD_OUTPUT64%
-if "%errorlevel%"=="1" goto error
-
-echo [build]: Build the installer
-SET BUILD_ACTION=Build the installer
-call build.bat -source=%MG_BUILD_OUTPUT64% -version=%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64% -name=MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-%RELEASE_LABEL64%-x64 -title="MapGuide Open Source %MG_VER_MAJOR_MINOR_BUILD% %RELEASE_LABEL64%"
-if "%errorlevel%"=="1" goto error
-
-move /Y Output\en-US\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-%RELEASE_LABEL64%-x64.exe %MG_BUILD_OUTPUT_ROOT64%
-popd
-
-if "%MG_RUN_UNIT_TESTS64%"=="false" goto end
-:server_unit_test
-pushd %MG_BUILD_AREA64%\MgDev\Server\bin\Release64
-mgserver.exe test
-popd
-goto end
-
-:error
-echo An error occurred while building MapGuide: %BUILD_ACTION%
-exit /b 1
-:end
+      <command>@echo off&#xd;
+&#xd;
+SET BUILD_ACTION=Setting Visual Studio env vars&#xd;
+SET VCBEXTENSION=_vs12&#xd;
+SET VC_COMPILER=vc110&#xd;
+SET ACTIVENAMECHECK="Microsoft Visual Studio 11"&#xd;
+SET ACTIVEPATHCHECK="C:\Program Files\Microsoft Visual Studio 11.0\VC"&#xd;
+if exist %ACTIVEPATHCHECK% goto VSExist&#xd;
+SET ACTIVEPATHCHECK="C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC"&#xd;
+if exist %ACTIVEPATHCHECK% goto VSExist&#xd;
+goto error&#xd;
+&#xd;
+REM Use x86_amd64 because 64-bit compiler in VS2012 express is a cross-compiler&#xd;
+:VSExist&#xd;
+call %ACTIVEPATHCHECK%\vcvarsall.bat x86_amd64&#xd;
+&#xd;
+REM Sigh! We can't seem to reference this from Jenkins&#xd;
+SET MSBUILD_NET40=C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe&#xd;
+&#xd;
+SET MG_VER_MAJOR_MINOR=%MG_VER_MAJOR%.%MG_VER_MINOR%&#xd;
+SET MG_VER_MAJOR_MINOR_BUILD=%MG_VER_MAJOR_MINOR%.%MG_VER_BUILD%&#xd;
+SET MG_BUILD_OUTPUT_ROOT64=%MG_BUILD_ARTIFACT_PATH%\mapguide&#xd;
+SET MG_BUILD_OUTPUT64=%MG_BUILD_OUTPUT_ROOT64%\%MG_VER_MAJOR_MINOR_BUILD%\x64\release&#xd;
+SET MG_BUILD_AREA64=%MG_BUILD_AREA%\mapguide\%MG_VER_MAJOR_MINOR_BUILD%\x64&#xd;
+SET REVNUM_FILE64=%MG_TOOL_PATH%\revnum.pl&#xd;
+SET MG_STAMP_FILE64=%MG_BUILD_ARTIFACT_PATH%\last_mapguide_%MG_VER_MAJOR_MINOR_BUILD%_revision_x64.txt&#xd;
+SET BUILD_ACTION=&#xd;
+&#xd;
+echo =================== Env Vars for MapGuide =============================&#xd;
+echo MG_VER_MAJOR_MINOR         = %MG_VER_MAJOR_MINOR%&#xd;
+echo MG_VER_MAJOR_MINOR_BUILD   = %MG_VER_MAJOR_MINOR_BUILD%&#xd;
+echo MG_BUILD_OUTPUT_ROOT64     = %MG_BUILD_OUTPUT_ROOT64%&#xd;
+echo MG_BUILD_OUTPUT64          = %MG_BUILD_OUTPUT64%&#xd;
+echo MG_BUILD_AREA64            = %MG_BUILD_AREA64%&#xd;
+echo REVNUM_FILE64              = %REVNUM_FILE64%&#xd;
+echo MG_STAMP_FILE64            = %MG_STAMP_FILE64%&#xd;
+echo INSTANT_SETUP_SRC          = %INSTANT_SETUP_SRC%&#xd;
+echo JAVA_HOME                  = %JAVA_HOME%&#xd;
+echo ANT_HOME                   = %ANT_HOME%&#xd;
+echo MG_RUN_UNIT_TESTS64        = %MG_RUN_UNIT_TESTS64%&#xd;
+echo =======================================================================&#xd;
+&#xd;
+echo [prepare]: Cleaning out build artifacts&#xd;
+if exist %MG_BUILD_OUTPUT64% rd /S /Q %MG_BUILD_OUTPUT64%&#xd;
+&#xd;
+echo [prepare]: Noting SVN revision&#xd;
+set /p MG_REVISION64= < "%MG_STAMP_FILE_SOURCE64%"&#xd;
+copy /Y "%MG_STAMP_FILE_SOURCE64%" "%MG_STAMP_FILE64%"&#xd;
+&#xd;
+if "%CLEAR_WORKING_AREA%"=="false" (&#xd;
+    echo [prepare]: Skip cleaning build area&#xd;
+    goto build_mapguide&#xd;
+)&#xd;
+echo [prepare]: Cleaning out build area&#xd;
+if exist %MG_BUILD_AREA64% rd /S /Q %MG_BUILD_AREA64%&#xd;
+echo [prepare]: Re-creating output directories&#xd;
+if not exist %MG_BUILD_AREA64%\Installer mkdir %MG_BUILD_AREA64%\Installer&#xd;
+if not exist %MG_BUILD_AREA64%\MgDev mkdir %MG_BUILD_AREA64%\MgDev&#xd;
+if not exist %MG_BUILD_ARTIFACT_PATH%\mg-desktop mkdir %MG_BUILD_ARTIFACT_PATH%\mg-desktop&#xd;
+&#xd;
+echo [prepare]: Exporting SVN working copy to build area (Installer)&#xd;
+SET BUILD_ACTION=Exporting SVN working copy to build area (Installer)&#xd;
+svn export %MG_BUILD_SRC64%\Installer %MG_BUILD_AREA64%\Installer --force -q&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [prepare]: Copying SVN working copy to build area (MgDev)&#xd;
+SET BUILD_ACTION=Copying SVN working copy to build area (MgDev)&#xd;
+svn export %MG_BUILD_SRC64%\MgDev %MG_BUILD_AREA64%\MgDev --force -q&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [prepare]: Setup FDO in Oem&#xd;
+cd %MG_BUILD_AREA64%\MgDev\Oem\FDO&#xd;
+xcopy /S /Y /I %FDO_SRC64%\Inc Inc&#xd;
+xcopy /S /Y /I %FDO_SRC64%\Lib Lib64&#xd;
+xcopy /S /Y /I %FDO_SRC64%\Bin Bin\Release64&#xd;
+xcopy /S /Y /I %FDO_SRC64%\Bin\com\*.* Bin\Release64\com&#xd;
+REM For release we don't want pdbs and .net assemblies&#xd;
+cd %MG_BUILD_AREA64%\MgDev\Oem\FDO\Bin\Release64&#xd;
+del /Q OSGeo.FDO.*&#xd;
+del /Q *.pdb&#xd;
+&#xd;
+:build_mapguide&#xd;
+cd %MG_BUILD_AREA64%\MgDev&#xd;
+echo [build]: Stamp version numbers&#xd;
+SET BUILD_ACTION=Stamp version numbers %MG_VER_MAJOR%.%MG_VER_MINOR%.%MG_VER_BUILD%.%MG_REVISION64%&#xd;
+cscript updateversion.vbs /major:%MG_VER_MAJOR% /minor:%MG_VER_MINOR% /point:%MG_VER_BUILD% /build:%MG_REVISION64%&#xd;
+call stampassemblies.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+REM ========================================= MapGuide ====================================================&#xd;
+&#xd;
+cd %MG_BUILD_AREA64%\MgDev&#xd;
+echo [build]: Set env vars&#xd;
+call setenvironment64.bat&#xd;
+&#xd;
+echo [build]: build oem/server/web&#xd;
+cd %MG_BUILD_AREA64%\MgDev&#xd;
+SET BUILD_ACTION=build oem/server/web&#xd;
+call build.bat&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [build]: install files to build artifact directory&#xd;
+SET BUILD_ACTION=install files to build artifact directory&#xd;
+call build.bat -a=install -o=%MG_BUILD_OUTPUT64%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+REM Move fusion-selfbuild tools out of staging area&#xd;
+pushd %MG_BUILD_OUTPUT64%\fusion-selfbuild&#xd;
+move /Y fusion-%MG_VER_MAJOR_MINOR_BUILD%-buildtools.zip %MG_BUILD_OUTPUT_ROOT64%&#xd;
+popd&#xd;
+pushd %MG_BUILD_OUTPUT64%&#xd;
+rd /S /Q fusion-selfbuild&#xd;
+popd&#xd;
+&#xd;
+REM ========================================= mg-desktop ====================================================&#xd;
+:build_mgdesktop&#xd;
+REM HACK: mg-desktop batch files not aware of new output dir so set old one&#xd;
+SET MG_OUTPUT=%MG_BUILD_AREA64%\MgDev\Release64&#xd;
+pushd %MG_BUILD_AREA64%\MgDev&#xd;
+echo [build]: mg-desktop&#xd;
+SET BUILD_ACTION=Build mg-desktop&#xd;
+call build_desktop.bat x64&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA64%\MgDev\nuget&#xd;
+echo [clean]: Nuget package temp files&#xd;
+call package_clean.bat&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA64%\MgDev&#xd;
+echo [build]: Nuget packages&#xd;
+call nuget_prepare.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64% x64&#xd;
+SET BUILD_ACTION=Nuget packages&#xd;
+call nuget_pack.bat x64&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA64%\MgDev\nuget&#xd;
+echo [build]: Copy mg-desktop build artifacts (NuGet packages)&#xd;
+set BUILD_ACTION=Copy mg-desktop build artifacts (NuGet packages)&#xd;
+move *.nupkg %MG_BUILD_ARTIFACT_PATH%\mg-desktop&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA64%\MgDev\Release64&#xd;
+echo [build]: Copy mg-desktop build artifacts (zip dist)&#xd;
+SET BUILD_ACTION=Copy mg-desktop build artifacts (zip dist)&#xd;
+7z a -mx9 %MG_BUILD_ARTIFACT_PATH%\mg-desktop\mg-desktop-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-net40-vc11-x64.zip Desktop DesktopSamples&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+REM ========================================= Instant Setup =========================================================&#xd;
+pushd %MG_BUILD_AREA64%\Installer&#xd;
+echo [build]: Prepare artifact directory&#xd;
+SET BUILD_ACTION=Prepare artifact directory&#xd;
+call build.bat -a=prepare -source=%MG_BUILD_OUTPUT64%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+if not exist %INSTANT_SETUP_SRC% goto checkout_instantsetup&#xd;
+goto update_instantsetup&#xd;
+:checkout_instantsetup&#xd;
+echo [build]: svn checkout MgInstantSetup&#xd;
+SET BUILD_ACTION=svn checkout MgInstantSetup&#xd;
+svn co %INSTANT_SETUP_SVN_URL% %INSTANT_SETUP_SRC%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+goto build_instantsetup&#xd;
+&#xd;
+:update_instantsetup&#xd;
+REM We'll allow this to fail&#xd;
+echo [build]: svn update MgInstantSetup&#xd;
+pushd %INSTANT_SETUP_SRC%&#xd;
+svn update&#xd;
+popd&#xd;
+&#xd;
+:build_instantsetup&#xd;
+echo [build]: MgInstantSetup&#xd;
+pushd %INSTANT_SETUP_SRC%&#xd;
+SET BUILD_ACTION=Building MgInstantSetup&#xd;
+%MSBUILD_NET40% /p:Configuration=Release;Platform="Any CPU" MgInstantSetup.sln&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+:copy_instantsetup_build_artifacts&#xd;
+echo [build]: Copy MgInstantSetup build artifacts&#xd;
+if not exist %MG_BUILD_OUTPUT64%\Setup mkdir %MG_BUILD_OUTPUT64%\Setup&#xd;
+pushd %INSTANT_SETUP_SRC%\InstantSetup\out\release&#xd;
+copy /Y *.exe %MG_BUILD_OUTPUT64%\Setup&#xd;
+copy /Y *.pdb %MG_BUILD_OUTPUT64%\Setup&#xd;
+copy /Y *.dll %MG_BUILD_OUTPUT64%\Setup&#xd;
+copy /Y *.config %MG_BUILD_OUTPUT64%\Setup&#xd;
+popd&#xd;
+&#xd;
+:zip_mginstantsetup&#xd;
+pushd %MG_BUILD_OUTPUT64%&#xd;
+7z a %MG_BUILD_OUTPUT_ROOT64%\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-InstantSetup-x64.exe -mmt -mx5 -sfx7z.sfx .&#xd;
+popd&#xd;
+&#xd;
+REM ========================================= MapGuide Installer ====================================================&#xd;
+&#xd;
+:build_installer&#xd;
+pushd %MG_BUILD_AREA64%\Installer&#xd;
+echo [build]: Generate installer file listings&#xd;
+SET BUILD_ACTION=Generate installer file listings&#xd;
+call build.bat -a=generate -source=%MG_BUILD_OUTPUT64%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [build]: Build the installer&#xd;
+SET BUILD_ACTION=Build the installer&#xd;
+call build.bat -source=%MG_BUILD_OUTPUT64% -version=%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64% -name=MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-%RELEASE_LABEL64%-x64 -title="MapGuide Open Source %MG_VER_MAJOR_MINOR_BUILD% %RELEASE_LABEL64%"&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+move /Y Output\en-US\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-%RELEASE_LABEL64%-x64.exe %MG_BUILD_OUTPUT_ROOT64%&#xd;
+popd&#xd;
+&#xd;
+if "%MG_RUN_UNIT_TESTS64%"=="false" goto end&#xd;
+:server_unit_test&#xd;
+pushd %MG_BUILD_AREA64%\MgDev\Server\bin\Release64&#xd;
+mgserver.exe test&#xd;
+popd&#xd;
+goto end&#xd;
+&#xd;
+:error&#xd;
+echo An error occurred while building MapGuide: %BUILD_ACTION%&#xd;
+exit /b 1&#xd;
+:end&#xd;
 exit /b 0</command>
     </hudson.tasks.BatchFile>
   </builders>

Modified: trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source 2.6 x86/config.xml
===================================================================
--- trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source 2.6 x86/config.xml	2015-03-20 11:49:27 UTC (rev 8585)
+++ trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source 2.6 x86/config.xml	2015-03-20 17:13:26 UTC (rev 8586)
@@ -15,7 +15,7 @@
         <hudson.model.StringParameterDefinition>
           <name>RELEASE_LABEL</name>
           <description></description>
-          <defaultValue>RC1</defaultValue>
+          <defaultValue>Final</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>WITH_ARCSDE</name>
@@ -35,7 +35,7 @@
         <hudson.model.StringParameterDefinition>
           <name>MG_VER_BUILD</name>
           <description></description>
-          <defaultValue>0</defaultValue>
+          <defaultValue>1</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>MG_BUILD_SRC</name>
@@ -80,233 +80,233 @@
   <concurrentBuild>false</concurrentBuild>
   <builders>
     <hudson.tasks.BatchFile>
-      <command>@echo off
-
-SET BUILD_ACTION=Setting Visual Studio env vars
-SET VCBEXTENSION=_vs12
-SET VC_COMPILER=vc110
-SET ACTIVENAMECHECK="Microsoft Visual Studio 11"
-SET ACTIVEPATHCHECK="C:\Program Files\Microsoft Visual Studio 11.0\VC"
-if exist %ACTIVEPATHCHECK% goto VSExist
-SET ACTIVEPATHCHECK="C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC"
-if exist %ACTIVEPATHCHECK% goto VSExist
-goto error
-
-:VSExist
-call %ACTIVEPATHCHECK%\vcvarsall.bat x86
-
-REM Sigh! We can't seem to reference this from Jenkins
-SET MSBUILD_NET40=C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
-
-SET MG_VER_MAJOR_MINOR=%MG_VER_MAJOR%.%MG_VER_MINOR%
-SET MG_VER_MAJOR_MINOR_BUILD=%MG_VER_MAJOR_MINOR%.%MG_VER_BUILD%
-SET MG_BUILD_OUTPUT_ROOT=%MG_BUILD_ARTIFACT_PATH%\mapguide
-SET MG_BUILD_OUTPUT=%MG_BUILD_OUTPUT_ROOT%\%MG_VER_MAJOR_MINOR_BUILD%\x86\release
-SET MG_BUILD_AREA=%MG_BUILD_AREA%\mapguide\%MG_VER_MAJOR_MINOR_BUILD%\x86
-SET REVNUM_FILE=%MG_TOOL_PATH%\revnum.pl
-SET MG_STAMP_FILE=%MG_BUILD_ARTIFACT_PATH%\last_mapguide_%MG_VER_MAJOR_MINOR_BUILD%_revision_x86.txt
-SET BUILD_ACTION=
-
-echo =================== Env Vars for MapGuide =============================
-echo MG_VER_MAJOR_MINOR         = %MG_VER_MAJOR_MINOR%
-echo MG_VER_MAJOR_MINOR_BUILD   = %MG_VER_MAJOR_MINOR_BUILD%
-echo MG_BUILD_OUTPUT_ROOT       = %MG_BUILD_OUTPUT_ROOT%
-echo MG_BUILD_OUTPUT            = %MG_BUILD_OUTPUT%
-echo MG_BUILD_AREA              = %MG_BUILD_AREA%
-echo REVNUM_FILE                = %REVNUM_FILE%
-echo MG_STAMP_FILE              = %MG_STAMP_FILE%
-echo INSTANT_SETUP_SRC          = %INSTANT_SETUP_SRC%
-echo JAVA_HOME                  = %JAVA_HOME%
-echo ANT_HOME                   = %ANT_HOME%
-echo MG_RUN_UNIT_TESTS          = %MG_RUN_UNIT_TESTS%
-echo =======================================================================
-
-echo [prepare]: Cleaning out build artifacts
-if exist %MG_BUILD_OUTPUT% rd /S /Q %MG_BUILD_OUTPUT%
-
-echo [prepare]: Noting SVN revision
-set /p MG_REVISION= < "%MG_STAMP_FILE_SOURCE%"
-copy /Y "%MG_STAMP_FILE_SOURCE%" "%MG_STAMP_FILE%"
-
-if "%CLEAR_WORKING_AREA%"=="false" (
-    echo [prepare]: Skip cleaning build area
-    goto build_mapguide
-)
-
-echo [prepare]: Cleaning out build area
-if exist %MG_BUILD_AREA% rd /S /Q %MG_BUILD_AREA%
-echo [prepare]: Re-creating output directories
-if not exist %MG_BUILD_AREA%\Installer mkdir %MG_BUILD_AREA%\Installer
-if not exist %MG_BUILD_AREA%\MgDev mkdir %MG_BUILD_AREA%\MgDev
-if not exist %MG_BUILD_ARTIFACT_PATH%\mg-desktop mkdir %MG_BUILD_ARTIFACT_PATH%\mg-desktop
-
-echo [prepare]: Exporting SVN working copy to build area (Installer)
-SET BUILD_ACTION=Exporting SVN working copy to build area (Installer)
-svn export %MG_BUILD_SRC%\Installer %MG_BUILD_AREA%\Installer --force -q
-if "%errorlevel%"=="1" goto error
-
-echo [prepare]: Copying SVN working copy to build area (MgDev)
-SET BUILD_ACTION=Copying SVN working copy to build area (MgDev)
-svn export %MG_BUILD_SRC%\MgDev %MG_BUILD_AREA%\MgDev --force -q
-if "%errorlevel%"=="1" goto error
-
-echo [prepare]: Setup FDO in Oem
-cd %MG_BUILD_AREA%\MgDev\Oem\FDO
-xcopy /S /Y /I %FDO_SRC%\Inc Inc
-xcopy /S /Y /I %FDO_SRC%\Lib Lib
-xcopy /S /Y /I %FDO_SRC%\Bin Bin\Release
-xcopy /S /Y /I %FDO_SRC%\Bin\com\*.* Bin\Release\com
-REM For release we don't want pdbs and .net assemblies
-cd %MG_BUILD_AREA%\MgDev\Oem\FDO\Bin\Release
-del /Q OSGeo.FDO.*
-del /Q *.pdb
-
-:build_mapguide
-cd %MG_BUILD_AREA%\MgDev
-echo [build]: Stamp version numbers %MG_VER_MAJOR%.%MG_VER_MINOR%.%MG_VER_BUILD%.%MG_REVISION%
-SET BUILD_ACTION=Stamp version numbers
-cscript updateversion.vbs /major:%MG_VER_MAJOR% /minor:%MG_VER_MINOR% /point:%MG_VER_BUILD% /build:%MG_REVISION%
-call stampassemblies.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%
-if "%errorlevel%"=="1" goto error
-
-REM ========================================= MapGuide ====================================================
-
-cd %MG_BUILD_AREA%\MgDev
-echo [build]: Set env vars
-call setenvironment.bat
-
-echo [build]: build oem/server/web
-cd %MG_BUILD_AREA%\MgDev
-SET BUILD_ACTION=build oem/server/web
-call build.bat
-if "%errorlevel%"=="1" goto error
-
-echo [build]: install files to build artifact directory
-SET BUILD_ACTION=install files to build artifact directory
-call build.bat -a=install -o=%MG_BUILD_OUTPUT%
-if "%errorlevel%"=="1" goto error
-
-REM Move fusion-selfbuild tools out of staging area
-pushd %MG_BUILD_OUTPUT%\fusion-selfbuild
-move /Y fusion-%MG_VER_MAJOR_MINOR_BUILD%-buildtools.zip %MG_BUILD_OUTPUT_ROOT%
-popd
-pushd %MG_BUILD_OUTPUT%
-rd /S /Q fusion-selfbuild
-popd
-
-REM ========================================= mg-desktop ====================================================
-:build_mgdesktop
-REM HACK: mg-desktop batch files not aware of new output dir so set old one
-SET MG_OUTPUT=%MG_BUILD_AREA%\MgDev\Release
-pushd %MG_BUILD_AREA%\MgDev
-echo [build]: mg-desktop
-SET BUILD_ACTION=Build mg-desktop
-call build_desktop.bat x86
-if "%errorlevel%"=="1" goto error
-popd
-
-pushd %MG_BUILD_AREA%\MgDev\nuget
-echo [clean]: Nuget package temp files
-call package_clean.bat
-popd
-
-pushd %MG_BUILD_AREA%\MgDev
-echo [build]: Nuget packages
-call nuget_prepare.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION% x86
-SET BUILD_ACTION=Nuget packages
-call nuget_pack.bat x86
-if "%errorlevel%"=="1" goto error
-popd
-
-pushd %MG_BUILD_AREA%\MgDev\nuget
-echo [build]: Copy mg-desktop build artifacts (NuGet packages)
-set BUILD_ACTION=Copy mg-desktop build artifacts (NuGet packages)
-move *.nupkg %MG_BUILD_ARTIFACT_PATH%\mg-desktop
-if "%errorlevel%"=="1" goto error
-popd
-
-pushd %MG_BUILD_AREA%\MgDev\Release
-echo [build]: Copy mg-desktop build artifacts (zip dist)
-SET BUILD_ACTION=Copy mg-desktop build artifacts (zip dist)
-7z a -mx9 %MG_BUILD_ARTIFACT_PATH%\mg-desktop\mg-desktop-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-net40-vc11-x86.zip Desktop DesktopSamples
-if "%errorlevel%"=="1" goto error
-popd
-
-REM ========================================= Instant Setup =========================================================
-pushd %MG_BUILD_AREA%\Installer
-echo [build]: Prepare artifact directory
-SET BUILD_ACTION=Prepare artifact directory
-call build.bat -a=prepare -source=%MG_BUILD_OUTPUT%
-if "%errorlevel%"=="1" goto error
-popd
-
-if not exist %INSTANT_SETUP_SRC% goto checkout_instantsetup
-goto update_instantsetup
-:checkout_instantsetup
-echo [build]: svn checkout MgInstantSetup
-SET BUILD_ACTION=svn checkout MgInstantSetup
-svn co %INSTANT_SETUP_SVN_URL% %INSTANT_SETUP_SRC%
-if "%errorlevel%"=="1" goto error
-goto build_instantsetup
-
-:update_instantsetup
-REM We'll allow this to fail
-echo [build]: svn update MgInstantSetup
-pushd %INSTANT_SETUP_SRC%
-svn update
-popd
-
-:build_instantsetup
-echo [build]: MgInstantSetup
-pushd %INSTANT_SETUP_SRC%
-SET BUILD_ACTION=Building MgInstantSetup
-%MSBUILD_NET40% /p:Configuration=Release;Platform="Any CPU" MgInstantSetup.sln
-if "%errorlevel%"=="1" goto error
-popd
-
-:copy_instantsetup_build_artifacts
-echo [build]: Copy MgInstantSetup build artifacts
-if not exist %MG_BUILD_OUTPUT%\Setup mkdir %MG_BUILD_OUTPUT%\Setup
-pushd %INSTANT_SETUP_SRC%\InstantSetup\bin\release
-copy /Y *.exe %MG_BUILD_OUTPUT%\Setup
-copy /Y *.pdb %MG_BUILD_OUTPUT%\Setup
-copy /Y *.dll %MG_BUILD_OUTPUT%\Setup
-copy /Y *.config %MG_BUILD_OUTPUT%\Setup
-popd
-
-:zip_mginstantsetup
-pushd %MG_BUILD_OUTPUT%
-7z a %MG_BUILD_OUTPUT_ROOT%\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-InstantSetup-x86.exe -mmt -mx5 -sfx7z.sfx .
-popd
-
-REM ========================================= MapGuide Installer ====================================================
-
-:build_installer
-pushd %MG_BUILD_AREA%\Installer
-echo [build]: Generate installer file listings
-SET BUILD_ACTION=Generate installer file listings
-call build.bat -a=generate -source=%MG_BUILD_OUTPUT%
-if "%errorlevel%"=="1" goto error
-
-echo [build]: Build the installer
-SET BUILD_ACTION=Build the installer
-call build.bat -source=%MG_BUILD_OUTPUT% -version=%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION% -name=MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-%RELEASE_LABEL%-x86 -title="MapGuide Open Source %MG_VER_MAJOR_MINOR_BUILD% %RELEASE_LABEL%"
-if "%errorlevel%"=="1" goto error
-
-move /Y Output\en-US\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-%RELEASE_LABEL%-x86.exe %MG_BUILD_OUTPUT_ROOT%
-popd
-
-if "%MG_RUN_UNIT_TESTS%"=="false" goto end
-:server_unit_test
-pushd %MG_BUILD_AREA%\MgDev\Server\bin\Release
-mgserver.exe test
-popd
-goto end
-
-:error
-echo An error occurred while building MapGuide: %BUILD_ACTION%
-exit /b 1
-:end
+      <command>@echo off&#xd;
+&#xd;
+SET BUILD_ACTION=Setting Visual Studio env vars&#xd;
+SET VCBEXTENSION=_vs12&#xd;
+SET VC_COMPILER=vc110&#xd;
+SET ACTIVENAMECHECK="Microsoft Visual Studio 11"&#xd;
+SET ACTIVEPATHCHECK="C:\Program Files\Microsoft Visual Studio 11.0\VC"&#xd;
+if exist %ACTIVEPATHCHECK% goto VSExist&#xd;
+SET ACTIVEPATHCHECK="C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC"&#xd;
+if exist %ACTIVEPATHCHECK% goto VSExist&#xd;
+goto error&#xd;
+&#xd;
+:VSExist&#xd;
+call %ACTIVEPATHCHECK%\vcvarsall.bat x86&#xd;
+&#xd;
+REM Sigh! We can't seem to reference this from Jenkins&#xd;
+SET MSBUILD_NET40=C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe&#xd;
+&#xd;
+SET MG_VER_MAJOR_MINOR=%MG_VER_MAJOR%.%MG_VER_MINOR%&#xd;
+SET MG_VER_MAJOR_MINOR_BUILD=%MG_VER_MAJOR_MINOR%.%MG_VER_BUILD%&#xd;
+SET MG_BUILD_OUTPUT_ROOT=%MG_BUILD_ARTIFACT_PATH%\mapguide&#xd;
+SET MG_BUILD_OUTPUT=%MG_BUILD_OUTPUT_ROOT%\%MG_VER_MAJOR_MINOR_BUILD%\x86\release&#xd;
+SET MG_BUILD_AREA=%MG_BUILD_AREA%\mapguide\%MG_VER_MAJOR_MINOR_BUILD%\x86&#xd;
+SET REVNUM_FILE=%MG_TOOL_PATH%\revnum.pl&#xd;
+SET MG_STAMP_FILE=%MG_BUILD_ARTIFACT_PATH%\last_mapguide_%MG_VER_MAJOR_MINOR_BUILD%_revision_x86.txt&#xd;
+SET BUILD_ACTION=&#xd;
+&#xd;
+echo =================== Env Vars for MapGuide =============================&#xd;
+echo MG_VER_MAJOR_MINOR         = %MG_VER_MAJOR_MINOR%&#xd;
+echo MG_VER_MAJOR_MINOR_BUILD   = %MG_VER_MAJOR_MINOR_BUILD%&#xd;
+echo MG_BUILD_OUTPUT_ROOT       = %MG_BUILD_OUTPUT_ROOT%&#xd;
+echo MG_BUILD_OUTPUT            = %MG_BUILD_OUTPUT%&#xd;
+echo MG_BUILD_AREA              = %MG_BUILD_AREA%&#xd;
+echo REVNUM_FILE                = %REVNUM_FILE%&#xd;
+echo MG_STAMP_FILE              = %MG_STAMP_FILE%&#xd;
+echo INSTANT_SETUP_SRC          = %INSTANT_SETUP_SRC%&#xd;
+echo JAVA_HOME                  = %JAVA_HOME%&#xd;
+echo ANT_HOME                   = %ANT_HOME%&#xd;
+echo MG_RUN_UNIT_TESTS          = %MG_RUN_UNIT_TESTS%&#xd;
+echo =======================================================================&#xd;
+&#xd;
+echo [prepare]: Cleaning out build artifacts&#xd;
+if exist %MG_BUILD_OUTPUT% rd /S /Q %MG_BUILD_OUTPUT%&#xd;
+&#xd;
+echo [prepare]: Noting SVN revision&#xd;
+set /p MG_REVISION= < "%MG_STAMP_FILE_SOURCE%"&#xd;
+copy /Y "%MG_STAMP_FILE_SOURCE%" "%MG_STAMP_FILE%"&#xd;
+&#xd;
+if "%CLEAR_WORKING_AREA%"=="false" (&#xd;
+    echo [prepare]: Skip cleaning build area&#xd;
+    goto build_mapguide&#xd;
+)&#xd;
+&#xd;
+echo [prepare]: Cleaning out build area&#xd;
+if exist %MG_BUILD_AREA% rd /S /Q %MG_BUILD_AREA%&#xd;
+echo [prepare]: Re-creating output directories&#xd;
+if not exist %MG_BUILD_AREA%\Installer mkdir %MG_BUILD_AREA%\Installer&#xd;
+if not exist %MG_BUILD_AREA%\MgDev mkdir %MG_BUILD_AREA%\MgDev&#xd;
+if not exist %MG_BUILD_ARTIFACT_PATH%\mg-desktop mkdir %MG_BUILD_ARTIFACT_PATH%\mg-desktop&#xd;
+&#xd;
+echo [prepare]: Exporting SVN working copy to build area (Installer)&#xd;
+SET BUILD_ACTION=Exporting SVN working copy to build area (Installer)&#xd;
+svn export %MG_BUILD_SRC%\Installer %MG_BUILD_AREA%\Installer --force -q&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [prepare]: Copying SVN working copy to build area (MgDev)&#xd;
+SET BUILD_ACTION=Copying SVN working copy to build area (MgDev)&#xd;
+svn export %MG_BUILD_SRC%\MgDev %MG_BUILD_AREA%\MgDev --force -q&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [prepare]: Setup FDO in Oem&#xd;
+cd %MG_BUILD_AREA%\MgDev\Oem\FDO&#xd;
+xcopy /S /Y /I %FDO_SRC%\Inc Inc&#xd;
+xcopy /S /Y /I %FDO_SRC%\Lib Lib&#xd;
+xcopy /S /Y /I %FDO_SRC%\Bin Bin\Release&#xd;
+xcopy /S /Y /I %FDO_SRC%\Bin\com\*.* Bin\Release\com&#xd;
+REM For release we don't want pdbs and .net assemblies&#xd;
+cd %MG_BUILD_AREA%\MgDev\Oem\FDO\Bin\Release&#xd;
+del /Q OSGeo.FDO.*&#xd;
+del /Q *.pdb&#xd;
+&#xd;
+:build_mapguide&#xd;
+cd %MG_BUILD_AREA%\MgDev&#xd;
+echo [build]: Stamp version numbers %MG_VER_MAJOR%.%MG_VER_MINOR%.%MG_VER_BUILD%.%MG_REVISION%&#xd;
+SET BUILD_ACTION=Stamp version numbers&#xd;
+cscript updateversion.vbs /major:%MG_VER_MAJOR% /minor:%MG_VER_MINOR% /point:%MG_VER_BUILD% /build:%MG_REVISION%&#xd;
+call stampassemblies.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+REM ========================================= MapGuide ====================================================&#xd;
+&#xd;
+cd %MG_BUILD_AREA%\MgDev&#xd;
+echo [build]: Set env vars&#xd;
+call setenvironment.bat&#xd;
+&#xd;
+echo [build]: build oem/server/web&#xd;
+cd %MG_BUILD_AREA%\MgDev&#xd;
+SET BUILD_ACTION=build oem/server/web&#xd;
+call build.bat&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [build]: install files to build artifact directory&#xd;
+SET BUILD_ACTION=install files to build artifact directory&#xd;
+call build.bat -a=install -o=%MG_BUILD_OUTPUT%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+REM Move fusion-selfbuild tools out of staging area&#xd;
+pushd %MG_BUILD_OUTPUT%\fusion-selfbuild&#xd;
+move /Y fusion-%MG_VER_MAJOR_MINOR_BUILD%-buildtools.zip %MG_BUILD_OUTPUT_ROOT%&#xd;
+popd&#xd;
+pushd %MG_BUILD_OUTPUT%&#xd;
+rd /S /Q fusion-selfbuild&#xd;
+popd&#xd;
+&#xd;
+REM ========================================= mg-desktop ====================================================&#xd;
+:build_mgdesktop&#xd;
+REM HACK: mg-desktop batch files not aware of new output dir so set old one&#xd;
+SET MG_OUTPUT=%MG_BUILD_AREA%\MgDev\Release&#xd;
+pushd %MG_BUILD_AREA%\MgDev&#xd;
+echo [build]: mg-desktop&#xd;
+SET BUILD_ACTION=Build mg-desktop&#xd;
+call build_desktop.bat x86&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA%\MgDev\nuget&#xd;
+echo [clean]: Nuget package temp files&#xd;
+call package_clean.bat&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA%\MgDev&#xd;
+echo [build]: Nuget packages&#xd;
+call nuget_prepare.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION% x86&#xd;
+SET BUILD_ACTION=Nuget packages&#xd;
+call nuget_pack.bat x86&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA%\MgDev\nuget&#xd;
+echo [build]: Copy mg-desktop build artifacts (NuGet packages)&#xd;
+set BUILD_ACTION=Copy mg-desktop build artifacts (NuGet packages)&#xd;
+move *.nupkg %MG_BUILD_ARTIFACT_PATH%\mg-desktop&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA%\MgDev\Release&#xd;
+echo [build]: Copy mg-desktop build artifacts (zip dist)&#xd;
+SET BUILD_ACTION=Copy mg-desktop build artifacts (zip dist)&#xd;
+7z a -mx9 %MG_BUILD_ARTIFACT_PATH%\mg-desktop\mg-desktop-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-net40-vc11-x86.zip Desktop DesktopSamples&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+REM ========================================= Instant Setup =========================================================&#xd;
+pushd %MG_BUILD_AREA%\Installer&#xd;
+echo [build]: Prepare artifact directory&#xd;
+SET BUILD_ACTION=Prepare artifact directory&#xd;
+call build.bat -a=prepare -source=%MG_BUILD_OUTPUT%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+if not exist %INSTANT_SETUP_SRC% goto checkout_instantsetup&#xd;
+goto update_instantsetup&#xd;
+:checkout_instantsetup&#xd;
+echo [build]: svn checkout MgInstantSetup&#xd;
+SET BUILD_ACTION=svn checkout MgInstantSetup&#xd;
+svn co %INSTANT_SETUP_SVN_URL% %INSTANT_SETUP_SRC%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+goto build_instantsetup&#xd;
+&#xd;
+:update_instantsetup&#xd;
+REM We'll allow this to fail&#xd;
+echo [build]: svn update MgInstantSetup&#xd;
+pushd %INSTANT_SETUP_SRC%&#xd;
+svn update&#xd;
+popd&#xd;
+&#xd;
+:build_instantsetup&#xd;
+echo [build]: MgInstantSetup&#xd;
+pushd %INSTANT_SETUP_SRC%&#xd;
+SET BUILD_ACTION=Building MgInstantSetup&#xd;
+%MSBUILD_NET40% /p:Configuration=Release;Platform="Any CPU" MgInstantSetup.sln&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+:copy_instantsetup_build_artifacts&#xd;
+echo [build]: Copy MgInstantSetup build artifacts&#xd;
+if not exist %MG_BUILD_OUTPUT%\Setup mkdir %MG_BUILD_OUTPUT%\Setup&#xd;
+pushd %INSTANT_SETUP_SRC%\InstantSetup\out\release&#xd;
+copy /Y *.exe %MG_BUILD_OUTPUT%\Setup&#xd;
+copy /Y *.pdb %MG_BUILD_OUTPUT%\Setup&#xd;
+copy /Y *.dll %MG_BUILD_OUTPUT%\Setup&#xd;
+copy /Y *.config %MG_BUILD_OUTPUT%\Setup&#xd;
+popd&#xd;
+&#xd;
+:zip_mginstantsetup&#xd;
+pushd %MG_BUILD_OUTPUT%&#xd;
+7z a %MG_BUILD_OUTPUT_ROOT%\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-InstantSetup-x86.exe -mmt -mx5 -sfx7z.sfx .&#xd;
+popd&#xd;
+&#xd;
+REM ========================================= MapGuide Installer ====================================================&#xd;
+&#xd;
+:build_installer&#xd;
+pushd %MG_BUILD_AREA%\Installer&#xd;
+echo [build]: Generate installer file listings&#xd;
+SET BUILD_ACTION=Generate installer file listings&#xd;
+call build.bat -a=generate -source=%MG_BUILD_OUTPUT%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [build]: Build the installer&#xd;
+SET BUILD_ACTION=Build the installer&#xd;
+call build.bat -source=%MG_BUILD_OUTPUT% -version=%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION% -name=MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-%RELEASE_LABEL%-x86 -title="MapGuide Open Source %MG_VER_MAJOR_MINOR_BUILD% %RELEASE_LABEL%"&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+move /Y Output\en-US\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-%RELEASE_LABEL%-x86.exe %MG_BUILD_OUTPUT_ROOT%&#xd;
+popd&#xd;
+&#xd;
+if "%MG_RUN_UNIT_TESTS%"=="false" goto end&#xd;
+:server_unit_test&#xd;
+pushd %MG_BUILD_AREA%\MgDev\Server\bin\Release&#xd;
+mgserver.exe test&#xd;
+popd&#xd;
+goto end&#xd;
+&#xd;
+:error&#xd;
+echo An error occurred while building MapGuide: %BUILD_ACTION%&#xd;
+exit /b 1&#xd;
+:end&#xd;
 exit /b 0</command>
     </hudson.tasks.BatchFile>
   </builders>

Modified: trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source x64/config.xml
===================================================================
--- trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source x64/config.xml	2015-03-20 11:49:27 UTC (rev 8585)
+++ trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source x64/config.xml	2015-03-20 17:13:26 UTC (rev 8586)
@@ -15,7 +15,7 @@
         <hudson.model.StringParameterDefinition>
           <name>RELEASE_LABEL64</name>
           <description></description>
-          <defaultValue>Preview1</defaultValue>
+          <defaultValue>Preview2</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>WITH_ARCSDE</name>
@@ -25,12 +25,12 @@
         <hudson.model.StringParameterDefinition>
           <name>MG_VER_MAJOR</name>
           <description></description>
-          <defaultValue>2</defaultValue>
+          <defaultValue>3</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>MG_VER_MINOR</name>
           <description></description>
-          <defaultValue>7</defaultValue>
+          <defaultValue>0</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>MG_VER_BUILD</name>
@@ -45,7 +45,7 @@
         <hudson.model.StringParameterDefinition>
           <name>FDO_SRC64</name>
           <description></description>
-          <defaultValue>C:\builds\fdo\3.10.0\x64\Fdo</defaultValue>
+          <defaultValue>C:\builds\fdo\4.0.0\x64\Fdo</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>INSTANT_SETUP_SRC</name>
@@ -62,11 +62,6 @@
           <description></description>
           <defaultValue>C:\working\sources\mapguide_trunk_revision.txt</defaultValue>
         </hudson.model.StringParameterDefinition>
-        <hudson.model.BooleanParameterDefinition>
-          <name>MG_RUN_UNIT_TESTS64</name>
-          <description></description>
-          <defaultValue>true</defaultValue>
-        </hudson.model.BooleanParameterDefinition>
       </parameterDefinitions>
     </hudson.model.ParametersDefinitionProperty>
   </properties>
@@ -80,236 +75,245 @@
   <concurrentBuild>false</concurrentBuild>
   <builders>
     <hudson.tasks.BatchFile>
-      <command>@echo off
-
-SET BUILD_ACTION=Setting Visual Studio env vars
-SET VCBEXTENSION=_vs12
-SET VC_COMPILER=vc110
-SET ACTIVENAMECHECK="Microsoft Visual Studio 11"
-SET ACTIVEPATHCHECK="C:\Program Files\Microsoft Visual Studio 11.0\VC"
-if exist %ACTIVEPATHCHECK% goto VSExist
-SET ACTIVEPATHCHECK="C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC"
-if exist %ACTIVEPATHCHECK% goto VSExist
-goto error
-
-REM Use x86_amd64 because 64-bit compiler in VS2012 express is a cross-compiler
-:VSExist
-call %ACTIVEPATHCHECK%\vcvarsall.bat x86_amd64
-
-REM Sigh! We can't seem to reference this from Jenkins
-SET MSBUILD_NET40=C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
-
-SET MG_VER_MAJOR_MINOR=%MG_VER_MAJOR%.%MG_VER_MINOR%
-SET MG_VER_MAJOR_MINOR_BUILD=%MG_VER_MAJOR_MINOR%.%MG_VER_BUILD%
-SET MG_BUILD_OUTPUT_ROOT64=%MG_BUILD_ARTIFACT_PATH%\mapguide
-SET MG_BUILD_OUTPUT64=%MG_BUILD_OUTPUT_ROOT64%\%MG_VER_MAJOR_MINOR_BUILD%\x64\release
-SET MG_BUILD_AREA64=%MG_BUILD_AREA%\mapguide\%MG_VER_MAJOR_MINOR_BUILD%\x64
-SET REVNUM_FILE64=%MG_TOOL_PATH%\revnum.pl
-SET MG_STAMP_FILE64=%MG_BUILD_ARTIFACT_PATH%\last_mapguide_%MG_VER_MAJOR_MINOR_BUILD%_revision_x64.txt
-SET BUILD_ACTION=
-
-echo =================== Env Vars for MapGuide =============================
-echo MG_VER_MAJOR_MINOR         = %MG_VER_MAJOR_MINOR%
-echo MG_VER_MAJOR_MINOR_BUILD   = %MG_VER_MAJOR_MINOR_BUILD%
-echo MG_BUILD_OUTPUT_ROOT64     = %MG_BUILD_OUTPUT_ROOT64%
-echo MG_BUILD_OUTPUT64          = %MG_BUILD_OUTPUT64%
-echo MG_BUILD_AREA64            = %MG_BUILD_AREA64%
-echo REVNUM_FILE64              = %REVNUM_FILE64%
-echo MG_STAMP_FILE64            = %MG_STAMP_FILE64%
-echo INSTANT_SETUP_SRC          = %INSTANT_SETUP_SRC%
-echo JAVA_HOME                  = %JAVA_HOME%
-echo ANT_HOME                   = %ANT_HOME%
-echo MG_RUN_UNIT_TESTS64        = %MG_RUN_UNIT_TESTS64%
-echo =======================================================================
-
-echo [prepare]: Cleaning out build artifacts
-if exist %MG_BUILD_OUTPUT64% rd /S /Q %MG_BUILD_OUTPUT64%
-
-echo [prepare]: Noting SVN revision
-set /p MG_REVISION64= < "%MG_STAMP_FILE_SOURCE64%"
-copy /Y "%MG_STAMP_FILE_SOURCE64%" "%MG_STAMP_FILE64%"
-
-if "%CLEAR_WORKING_AREA%"=="false" (
-    echo [prepare]: Skip cleaning build area
-    goto build_mapguide
-)
-echo [prepare]: Cleaning out build area
-if exist %MG_BUILD_AREA64% rd /S /Q %MG_BUILD_AREA64%
-echo [prepare]: Re-creating output directories
-if not exist %MG_BUILD_AREA64%\Installer mkdir %MG_BUILD_AREA64%\Installer
-if not exist %MG_BUILD_AREA64%\MgDev mkdir %MG_BUILD_AREA64%\MgDev
-if not exist %MG_BUILD_ARTIFACT_PATH%\mg-desktop mkdir %MG_BUILD_ARTIFACT_PATH%\mg-desktop
-
-echo [prepare]: Exporting SVN working copy to build area (Installer)
-SET BUILD_ACTION=Exporting SVN working copy to build area (Installer)
-svn export %MG_BUILD_SRC64%\Installer %MG_BUILD_AREA64%\Installer --force -q
-if "%errorlevel%"=="1" goto error
-
-echo [prepare]: Copying SVN working copy to build area (MgDev)
-SET BUILD_ACTION=Copying SVN working copy to build area (MgDev)
-svn export %MG_BUILD_SRC64%\MgDev %MG_BUILD_AREA64%\MgDev --force -q
-if "%errorlevel%"=="1" goto error
-
-echo [prepare]: Setup FDO in Oem
-cd %MG_BUILD_AREA64%\MgDev\Oem\FDO
-xcopy /S /Y /I %FDO_SRC64%\Inc Inc
-xcopy /S /Y /I %FDO_SRC64%\Lib Lib64
-xcopy /S /Y /I %FDO_SRC64%\Bin Bin\Release64
-xcopy /S /Y /I %FDO_SRC64%\Bin\com\*.* Bin\Release64\com
-REM For release we don't want pdbs and .net assemblies
-cd %MG_BUILD_AREA64%\MgDev\Oem\FDO\Bin\Release64
-del /Q OSGeo.FDO.*
-del /Q *.pdb
-
-:build_mapguide
-cd %MG_BUILD_AREA64%\MgDev
-echo [build]: Stamp version numbers
-SET BUILD_ACTION=Stamp version numbers
-cscript updateversion.vbs /major:%MG_VER_MAJOR% /minor:%MG_VER_MINOR% /point:%MG_VER_BUILD% /build:%MG_REVISION64%
-call stampassemblies.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%
-if "%errorlevel%"=="1" goto error
-
-REM ========================================= MapGuide ====================================================
-
-cd %MG_BUILD_AREA64%\MgDev
-echo [build]: Set env vars
-call setenvironment64.bat
-
-echo [build]: build oem/server/web
-cd %MG_BUILD_AREA64%\MgDev
-SET BUILD_ACTION=build oem/server/web
-call build.bat
-if "%errorlevel%"=="1" goto error
-
-echo [build]: install files to build artifact directory
-SET BUILD_ACTION=install files to build artifact directory
-call build.bat -a=install -o=%MG_BUILD_OUTPUT64%
-if "%errorlevel%"=="1" goto error
-
-REM Move fusion-selfbuild tools out of staging area
-pushd %MG_BUILD_OUTPUT64%\fusion-selfbuild
-move /Y fusion-%MG_VER_MAJOR_MINOR_BUILD%-buildtools.zip %MG_BUILD_OUTPUT_ROOT64%
-popd
-pushd %MG_BUILD_OUTPUT64%
-rd /S /Q fusion-selfbuild
-popd
-
-REM ========================================= mg-desktop ====================================================
-:build_mgdesktop
-REM HACK: mg-desktop batch files not aware of new output dir so set old one
-SET MG_OUTPUT=%MG_BUILD_AREA64%\MgDev\Release64
-pushd %MG_BUILD_AREA64%\MgDev
-echo [build]: mg-desktop
-SET BUILD_ACTION=Build mg-desktop
-call build_desktop.bat x64
-if "%errorlevel%"=="1" goto error
-popd
-
-pushd %MG_BUILD_AREA64%\MgDev\nuget
-echo [clean]: Nuget package temp files
-call package_clean.bat
-popd
-
-pushd %MG_BUILD_AREA64%\MgDev
-echo [build]: Nuget packages
-call nuget_prepare.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64% x64
-SET BUILD_ACTION=Nuget packages
-call nuget_pack.bat x64
-if "%errorlevel%"=="1" goto error
-popd
-
-pushd %MG_BUILD_AREA64%\MgDev\nuget
-echo [build]: Copy mg-desktop build artifacts (NuGet packages)
-set BUILD_ACTION=Copy mg-desktop build artifacts (NuGet packages)
-move *.nupkg %MG_BUILD_ARTIFACT_PATH%\mg-desktop
-if "%errorlevel%"=="1" goto error
-popd
-
-pushd %MG_BUILD_AREA64%\MgDev\Release64
-echo [build]: Copy mg-desktop build artifacts (zip dist)
-SET BUILD_ACTION=Copy mg-desktop build artifacts (zip dist)
-7z a -mx9 %MG_BUILD_ARTIFACT_PATH%\mg-desktop\mg-desktop-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-net40-vc11-x64.zip Desktop DesktopSamples
-if "%errorlevel%"=="1" goto error
-popd
-
-REM ========================================= Instant Setup =========================================================
-pushd %MG_BUILD_AREA64%\Installer
-echo [build]: Prepare artifact directory
-SET BUILD_ACTION=Prepare artifact directory
-call build.bat -a=prepare -source=%MG_BUILD_OUTPUT64%
-if "%errorlevel%"=="1" goto error
-popd
-
-if not exist %INSTANT_SETUP_SRC% goto checkout_instantsetup
-goto update_instantsetup
-:checkout_instantsetup
-echo [build]: svn checkout MgInstantSetup
-SET BUILD_ACTION=svn checkout MgInstantSetup
-svn co %INSTANT_SETUP_SVN_URL% %INSTANT_SETUP_SRC%
-if "%errorlevel%"=="1" goto error
-goto build_instantsetup
-
-:update_instantsetup
-REM We'll allow this to fail
-echo [build]: svn update MgInstantSetup
-pushd %INSTANT_SETUP_SRC%
-svn update
-popd
-
-:build_instantsetup
-echo [build]: MgInstantSetup
-pushd %INSTANT_SETUP_SRC%
-SET BUILD_ACTION=Building MgInstantSetup
-%MSBUILD_NET40% /p:Configuration=Release;Platform="Any CPU" MgInstantSetup.sln
-if "%errorlevel%"=="1" goto error
-popd
-
-:copy_instantsetup_build_artifacts
-echo [build]: Copy MgInstantSetup build artifacts
-if not exist %MG_BUILD_OUTPUT64%\Setup mkdir %MG_BUILD_OUTPUT64%\Setup
-pushd %INSTANT_SETUP_SRC%\InstantSetup\bin\release
-copy /Y *.exe %MG_BUILD_OUTPUT64%\Setup
-copy /Y *.pdb %MG_BUILD_OUTPUT64%\Setup
-copy /Y *.dll %MG_BUILD_OUTPUT64%\Setup
-copy /Y *.config %MG_BUILD_OUTPUT64%\Setup
-popd
-
-:zip_mginstantsetup
-pushd %MG_BUILD_OUTPUT64%
-7z a %MG_BUILD_OUTPUT_ROOT64%\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-InstantSetup-x64.exe -mmt -mx5 -sfx7z.sfx .
-popd
-
-REM ========================================= MapGuide Installer ====================================================
-
-:build_installer
-pushd %MG_BUILD_AREA64%\Installer
-echo [build]: Generate installer file listings
-SET BUILD_ACTION=Generate installer file listings
-call build.bat -a=generate -source=%MG_BUILD_OUTPUT64%
-if "%errorlevel%"=="1" goto error
-
-echo [build]: Build the installer
-SET BUILD_ACTION=Build the installer
-call build.bat -source=%MG_BUILD_OUTPUT64% -version=%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64% -name=MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-%RELEASE_LABEL64%-x64 -title="MapGuide Open Source %MG_VER_MAJOR_MINOR_BUILD% %RELEASE_LABEL64%"
-if "%errorlevel%"=="1" goto error
-
-move /Y Output\en-US\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-%RELEASE_LABEL64%-x64.exe %MG_BUILD_OUTPUT_ROOT64%
-popd
-
-if "%MG_RUN_UNIT_TESTS64%"=="false" goto end
-:server_unit_test
-pushd %MG_BUILD_AREA64%\MgDev\Server\bin\Release64
-mgserver.exe test
-popd
-goto end
-
-:error
-echo An error occurred while building MapGuide: %BUILD_ACTION%
-exit /b 1
-:end
+      <command>@echo off&#xd;
+&#xd;
+SET BUILD_ACTION=Setting Visual Studio env vars&#xd;
+SET VCBEXTENSION=_vs12&#xd;
+SET VC_COMPILER=vc110&#xd;
+SET ACTIVENAMECHECK="Microsoft Visual Studio 11"&#xd;
+SET ACTIVEPATHCHECK="C:\Program Files\Microsoft Visual Studio 11.0\VC"&#xd;
+if exist %ACTIVEPATHCHECK% goto VSExist&#xd;
+SET ACTIVEPATHCHECK="C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC"&#xd;
+if exist %ACTIVEPATHCHECK% goto VSExist&#xd;
+goto error&#xd;
+&#xd;
+REM Use x86_amd64 because 64-bit compiler in VS2012 express is a cross-compiler&#xd;
+:VSExist&#xd;
+call %ACTIVEPATHCHECK%\vcvarsall.bat x86_amd64&#xd;
+&#xd;
+REM Sigh! We can't seem to reference this from Jenkins&#xd;
+SET MSBUILD_NET40=C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe&#xd;
+&#xd;
+SET MG_VER_MAJOR_MINOR=%MG_VER_MAJOR%.%MG_VER_MINOR%&#xd;
+SET MG_VER_MAJOR_MINOR_BUILD=%MG_VER_MAJOR_MINOR%.%MG_VER_BUILD%&#xd;
+SET MG_BUILD_OUTPUT_ROOT64=%MG_BUILD_ARTIFACT_PATH%\mapguide&#xd;
+SET MG_BUILD_OUTPUT64=%MG_BUILD_OUTPUT_ROOT64%\%MG_VER_MAJOR_MINOR_BUILD%\x64\release&#xd;
+SET MG_BUILD_AREA64=%MG_BUILD_AREA%\mapguide\%MG_VER_MAJOR_MINOR_BUILD%\x64&#xd;
+SET REVNUM_FILE64=%MG_TOOL_PATH%\revnum.pl&#xd;
+SET MG_STAMP_FILE64=%MG_BUILD_ARTIFACT_PATH%\last_mapguide_%MG_VER_MAJOR_MINOR_BUILD%_revision_x64.txt&#xd;
+SET BUILD_ACTION=&#xd;
+&#xd;
+echo =================== Env Vars for MapGuide =============================&#xd;
+echo MG_VER_MAJOR_MINOR         = %MG_VER_MAJOR_MINOR%&#xd;
+echo MG_VER_MAJOR_MINOR_BUILD   = %MG_VER_MAJOR_MINOR_BUILD%&#xd;
+echo MG_BUILD_OUTPUT_ROOT64     = %MG_BUILD_OUTPUT_ROOT64%&#xd;
+echo MG_BUILD_OUTPUT64          = %MG_BUILD_OUTPUT64%&#xd;
+echo MG_BUILD_AREA64            = %MG_BUILD_AREA64%&#xd;
+echo REVNUM_FILE64              = %REVNUM_FILE64%&#xd;
+echo MG_STAMP_FILE64            = %MG_STAMP_FILE64%&#xd;
+echo INSTANT_SETUP_SRC          = %INSTANT_SETUP_SRC%&#xd;
+echo JAVA_HOME                  = %JAVA_HOME%&#xd;
+echo ANT_HOME                   = %ANT_HOME%&#xd;
+echo =======================================================================&#xd;
+&#xd;
+echo [prepare]: Cleaning out build artifacts&#xd;
+if exist %MG_BUILD_OUTPUT64% rd /S /Q %MG_BUILD_OUTPUT64%&#xd;
+&#xd;
+echo [prepare]: Noting SVN revision&#xd;
+set /p MG_REVISION64= < "%MG_STAMP_FILE_SOURCE64%"&#xd;
+copy /Y "%MG_STAMP_FILE_SOURCE64%" "%MG_STAMP_FILE64%"&#xd;
+&#xd;
+if "%CLEAR_WORKING_AREA%"=="false" (&#xd;
+    echo [prepare]: Skip cleaning build area&#xd;
+    goto build_mapguide&#xd;
+)&#xd;
+echo [prepare]: Cleaning out build area&#xd;
+if exist %MG_BUILD_AREA64% rd /S /Q %MG_BUILD_AREA64%&#xd;
+echo [prepare]: Re-creating output directories&#xd;
+if not exist %MG_BUILD_AREA64%\Installer mkdir %MG_BUILD_AREA64%\Installer&#xd;
+if not exist %MG_BUILD_AREA64%\MgDev mkdir %MG_BUILD_AREA64%\MgDev&#xd;
+if not exist %MG_BUILD_ARTIFACT_PATH%\mg-desktop mkdir %MG_BUILD_ARTIFACT_PATH%\mg-desktop&#xd;
+&#xd;
+echo [prepare]: Exporting SVN working copy to build area (Installer)&#xd;
+SET BUILD_ACTION=Exporting SVN working copy to build area (Installer)&#xd;
+svn export %MG_BUILD_SRC64%\Installer %MG_BUILD_AREA64%\Installer --force -q&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [prepare]: Copying SVN working copy to build area (MgDev)&#xd;
+SET BUILD_ACTION=Copying SVN working copy to build area (MgDev)&#xd;
+svn export %MG_BUILD_SRC64%\MgDev %MG_BUILD_AREA64%\MgDev --force -q&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [prepare]: Setup FDO in Oem&#xd;
+cd %MG_BUILD_AREA64%\MgDev\Oem\FDO&#xd;
+xcopy /S /Y /I %FDO_SRC64%\Inc Inc&#xd;
+xcopy /S /Y /I %FDO_SRC64%\Lib Lib64&#xd;
+xcopy /S /Y /I %FDO_SRC64%\Bin Bin\Release64&#xd;
+xcopy /S /Y /I %FDO_SRC64%\Bin\com\*.* Bin\Release64\com&#xd;
+REM For release we don't want pdbs and .net assemblies&#xd;
+cd %MG_BUILD_AREA64%\MgDev\Oem\FDO\Bin\Release64&#xd;
+del /Q OSGeo.FDO.*&#xd;
+del /Q *.pdb&#xd;
+&#xd;
+:build_mapguide&#xd;
+cd %MG_BUILD_AREA64%\MgDev&#xd;
+echo [build]: Stamp version numbers&#xd;
+SET BUILD_ACTION=Stamp version numbers&#xd;
+cscript updateversion.vbs /major:%MG_VER_MAJOR% /minor:%MG_VER_MINOR% /point:%MG_VER_BUILD% /build:%MG_REVISION64%&#xd;
+call stampassemblies.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+REM ========================================= MapGuide ====================================================&#xd;
+&#xd;
+cd %MG_BUILD_AREA64%\MgDev&#xd;
+echo [build]: Set env vars&#xd;
+call setenvironment64.bat&#xd;
+&#xd;
+echo [build]: build oem/server/web&#xd;
+cd %MG_BUILD_AREA64%\MgDev&#xd;
+SET BUILD_ACTION=build oem/server/web&#xd;
+call build.bat&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [build]: install files to build artifact directory&#xd;
+SET BUILD_ACTION=install files to build artifact directory&#xd;
+call build.bat -a=install -o=%MG_BUILD_OUTPUT64%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+REM Move fusion-selfbuild tools out of staging area&#xd;
+pushd %MG_BUILD_OUTPUT64%\fusion-selfbuild&#xd;
+move /Y fusion-%MG_VER_MAJOR_MINOR_BUILD%-buildtools.zip %MG_BUILD_OUTPUT_ROOT64%&#xd;
+popd&#xd;
+pushd %MG_BUILD_OUTPUT64%&#xd;
+rd /S /Q fusion-selfbuild&#xd;
+popd&#xd;
+&#xd;
+REM ========================================= mg-desktop ====================================================&#xd;
+:build_mgdesktop&#xd;
+REM HACK: mg-desktop batch files not aware of new output dir so set old one&#xd;
+SET MG_OUTPUT=%MG_BUILD_AREA64%\MgDev\Release64&#xd;
+pushd %MG_BUILD_AREA64%\MgDev&#xd;
+echo [build]: mg-desktop&#xd;
+SET BUILD_ACTION=Build mg-desktop&#xd;
+call build_desktop.bat x64&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA64%\MgDev\nuget&#xd;
+echo [clean]: Nuget package temp files&#xd;
+call package_clean.bat&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA64%\MgDev&#xd;
+echo [build]: Nuget packages&#xd;
+call nuget_prepare.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64% x64&#xd;
+SET BUILD_ACTION=Nuget packages&#xd;
+call nuget_pack.bat x64&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA64%\MgDev\nuget&#xd;
+echo [build]: Copy mg-desktop build artifacts (NuGet packages)&#xd;
+set BUILD_ACTION=Copy mg-desktop build artifacts (NuGet packages)&#xd;
+move *.nupkg %MG_BUILD_ARTIFACT_PATH%\mg-desktop&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA64%\MgDev\Release64&#xd;
+echo [build]: Copy mg-desktop build artifacts (zip dist)&#xd;
+SET BUILD_ACTION=Copy mg-desktop build artifacts (zip dist)&#xd;
+7z a -mx9 %MG_BUILD_ARTIFACT_PATH%\mg-desktop\mg-desktop-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-net40-vc11-x64.zip Desktop DesktopSamples&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+REM ========================================= Instant Setup =========================================================&#xd;
+pushd %MG_BUILD_AREA64%\Installer&#xd;
+echo [build]: Prepare artifact directory&#xd;
+SET BUILD_ACTION=Prepare artifact directory&#xd;
+call build.bat -a=prepare -source=%MG_BUILD_OUTPUT64%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+if not exist %INSTANT_SETUP_SRC% goto checkout_instantsetup&#xd;
+goto update_instantsetup&#xd;
+:checkout_instantsetup&#xd;
+echo [build]: svn checkout MgInstantSetup&#xd;
+SET BUILD_ACTION=svn checkout MgInstantSetup&#xd;
+svn co %INSTANT_SETUP_SVN_URL% %INSTANT_SETUP_SRC%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+goto build_instantsetup&#xd;
+&#xd;
+:update_instantsetup&#xd;
+REM We'll allow this to fail&#xd;
+echo [build]: svn update MgInstantSetup&#xd;
+pushd %INSTANT_SETUP_SRC%&#xd;
+svn update&#xd;
+popd&#xd;
+&#xd;
+:build_instantsetup&#xd;
+echo [build]: MgInstantSetup&#xd;
+pushd %INSTANT_SETUP_SRC%&#xd;
+SET BUILD_ACTION=Building MgInstantSetup&#xd;
+%MSBUILD_NET40% /p:Configuration=Release;Platform="Any CPU" MgInstantSetup.sln&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+:copy_instantsetup_build_artifacts&#xd;
+echo [build]: Copy MgInstantSetup build artifacts&#xd;
+if not exist %MG_BUILD_OUTPUT64%\Setup mkdir %MG_BUILD_OUTPUT64%\Setup&#xd;
+pushd %INSTANT_SETUP_SRC%\out\release&#xd;
+copy /Y *.exe %MG_BUILD_OUTPUT64%\Setup&#xd;
+copy /Y *.pdb %MG_BUILD_OUTPUT64%\Setup&#xd;
+copy /Y *.dll %MG_BUILD_OUTPUT64%\Setup&#xd;
+copy /Y *.config %MG_BUILD_OUTPUT64%\Setup&#xd;
+popd&#xd;
+&#xd;
+:zip_mginstantsetup&#xd;
+pushd %MG_BUILD_OUTPUT64%&#xd;
+7z a %MG_BUILD_OUTPUT_ROOT64%\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-InstantSetup-x64.exe -mmt -mx5 -sfx7z.sfx CS-Map Server Web Setup&#xd;
+popd&#xd;
+&#xd;
+:zip_testpack&#xd;
+pushd %MG_BUILD_OUTPUT64%&#xd;
+7z a %MG_BUILD_OUTPUT_ROOT64%\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-TestSuite-x64.exe -mmt -mx5 -sfx7z.sfx Test&#xd;
+popd&#xd;
+&#xd;
+REM ========================================= MapGuide Installer ====================================================&#xd;
+&#xd;
+:build_installer&#xd;
+pushd %MG_BUILD_AREA64%\Installer&#xd;
+echo [build]: Generate installer file listings&#xd;
+SET BUILD_ACTION=Generate installer file listings&#xd;
+call build.bat -a=generate -source=%MG_BUILD_OUTPUT64%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [build]: Build the installer&#xd;
+SET BUILD_ACTION=Build the installer&#xd;
+call build.bat -source=%MG_BUILD_OUTPUT64% -version=%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64% -name=MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-%RELEASE_LABEL64%-x64 -title="MapGuide Open Source %MG_VER_MAJOR_MINOR_BUILD% %RELEASE_LABEL64%"&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+move /Y Output\en-US\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION64%-%RELEASE_LABEL64%-x64.exe %MG_BUILD_OUTPUT_ROOT64%&#xd;
+popd&#xd;
+&#xd;
+goto end&#xd;
+&#xd;
+:error&#xd;
+echo An error occurred while building MapGuide: %BUILD_ACTION%&#xd;
+exit /b 1&#xd;
+:end&#xd;
 exit /b 0</command>
     </hudson.tasks.BatchFile>
   </builders>
-  <publishers/>
+  <publishers>
+    <hudson.tasks.BuildTrigger>
+      <childProjects>Test MapGuide x64</childProjects>
+      <threshold>
+        <name>SUCCESS</name>
+        <ordinal>0</ordinal>
+        <color>BLUE</color>
+        <completeBuild>true</completeBuild>
+      </threshold>
+    </hudson.tasks.BuildTrigger>
+  </publishers>
   <buildWrappers/>
 </project>
\ No newline at end of file

Modified: trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source x86/config.xml
===================================================================
--- trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source x86/config.xml	2015-03-20 11:49:27 UTC (rev 8585)
+++ trunk/Tools/JenkinsCI/home/slave_win/jobs/MapGuide Open Source x86/config.xml	2015-03-20 17:13:26 UTC (rev 8586)
@@ -15,7 +15,7 @@
         <hudson.model.StringParameterDefinition>
           <name>RELEASE_LABEL</name>
           <description></description>
-          <defaultValue>Preview1</defaultValue>
+          <defaultValue>Preview2</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>WITH_ARCSDE</name>
@@ -25,12 +25,12 @@
         <hudson.model.StringParameterDefinition>
           <name>MG_VER_MAJOR</name>
           <description></description>
-          <defaultValue>2</defaultValue>
+          <defaultValue>3</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>MG_VER_MINOR</name>
           <description></description>
-          <defaultValue>7</defaultValue>
+          <defaultValue>0</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>MG_VER_BUILD</name>
@@ -45,7 +45,7 @@
         <hudson.model.StringParameterDefinition>
           <name>FDO_SRC</name>
           <description></description>
-          <defaultValue>C:\builds\fdo\3.10.0\x86\Fdo</defaultValue>
+          <defaultValue>C:\builds\fdo\4.0.0\x86\Fdo</defaultValue>
         </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>INSTANT_SETUP_SRC</name>
@@ -62,11 +62,6 @@
           <description></description>
           <defaultValue>C:\working\sources\mapguide_trunk_revision.txt</defaultValue>
         </hudson.model.StringParameterDefinition>
-        <hudson.model.BooleanParameterDefinition>
-          <name>MG_RUN_UNIT_TESTS</name>
-          <description></description>
-          <defaultValue>true</defaultValue>
-        </hudson.model.BooleanParameterDefinition>
       </parameterDefinitions>
     </hudson.model.ParametersDefinitionProperty>
   </properties>
@@ -80,236 +75,245 @@
   <concurrentBuild>false</concurrentBuild>
   <builders>
     <hudson.tasks.BatchFile>
-      <command>@echo off
-
-SET BUILD_ACTION=Setting Visual Studio env vars
-SET VCBEXTENSION=_vs12
-SET VC_COMPILER=vc110
-SET ACTIVENAMECHECK="Microsoft Visual Studio 11"
-SET ACTIVEPATHCHECK="C:\Program Files\Microsoft Visual Studio 11.0\VC"
-if exist %ACTIVEPATHCHECK% goto VSExist
-SET ACTIVEPATHCHECK="C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC"
-if exist %ACTIVEPATHCHECK% goto VSExist
-goto error
-
-:VSExist
-call %ACTIVEPATHCHECK%\vcvarsall.bat x86
-
-REM Sigh! We can't seem to reference this from Jenkins
-SET MSBUILD_NET40=C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
-
-SET MG_VER_MAJOR_MINOR=%MG_VER_MAJOR%.%MG_VER_MINOR%
-SET MG_VER_MAJOR_MINOR_BUILD=%MG_VER_MAJOR_MINOR%.%MG_VER_BUILD%
-SET MG_BUILD_OUTPUT_ROOT=%MG_BUILD_ARTIFACT_PATH%\mapguide
-SET MG_BUILD_OUTPUT=%MG_BUILD_OUTPUT_ROOT%\%MG_VER_MAJOR_MINOR_BUILD%\x86\release
-SET MG_BUILD_AREA=%MG_BUILD_AREA%\mapguide\%MG_VER_MAJOR_MINOR_BUILD%\x86
-SET REVNUM_FILE=%MG_TOOL_PATH%\revnum.pl
-SET MG_STAMP_FILE=%MG_BUILD_ARTIFACT_PATH%\last_mapguide_%MG_VER_MAJOR_MINOR_BUILD%_revision_x86.txt
-SET BUILD_ACTION=
-
-echo =================== Env Vars for MapGuide =============================
-echo MG_VER_MAJOR_MINOR         = %MG_VER_MAJOR_MINOR%
-echo MG_VER_MAJOR_MINOR_BUILD   = %MG_VER_MAJOR_MINOR_BUILD%
-echo MG_BUILD_OUTPUT_ROOT       = %MG_BUILD_OUTPUT_ROOT%
-echo MG_BUILD_OUTPUT            = %MG_BUILD_OUTPUT%
-echo MG_BUILD_AREA              = %MG_BUILD_AREA%
-echo REVNUM_FILE                = %REVNUM_FILE%
-echo MG_STAMP_FILE              = %MG_STAMP_FILE%
-echo INSTANT_SETUP_SRC          = %INSTANT_SETUP_SRC%
-echo JAVA_HOME                  = %JAVA_HOME%
-echo ANT_HOME                   = %ANT_HOME%
-echo MG_RUN_UNIT_TESTS          = %MG_RUN_UNIT_TESTS%
-echo =======================================================================
-
-echo [prepare]: Cleaning out build artifacts
-if exist %MG_BUILD_OUTPUT% rd /S /Q %MG_BUILD_OUTPUT%
-
-echo [prepare]: Noting SVN revision
-set /p MG_REVISION= < "%MG_STAMP_FILE_SOURCE%"
-copy /Y "%MG_STAMP_FILE_SOURCE%" "%MG_STAMP_FILE%"
-
-if "%CLEAR_WORKING_AREA%"=="false" (
-    echo [prepare]: Skip cleaning build area
-    goto build_mapguide
-)
-
-echo [prepare]: Cleaning out build area
-if exist %MG_BUILD_AREA% rd /S /Q %MG_BUILD_AREA%
-echo [prepare]: Re-creating output directories
-if not exist %MG_BUILD_AREA%\Installer mkdir %MG_BUILD_AREA%\Installer
-if not exist %MG_BUILD_AREA%\MgDev mkdir %MG_BUILD_AREA%\MgDev
-if not exist %MG_BUILD_ARTIFACT_PATH%\mg-desktop mkdir %MG_BUILD_ARTIFACT_PATH%\mg-desktop
-
-echo [prepare]: Exporting SVN working copy to build area (Installer)
-SET BUILD_ACTION=Exporting SVN working copy to build area (Installer)
-svn export %MG_BUILD_SRC%\Installer %MG_BUILD_AREA%\Installer --force -q
-if "%errorlevel%"=="1" goto error
-
-echo [prepare]: Copying SVN working copy to build area (MgDev)
-SET BUILD_ACTION=Copying SVN working copy to build area (MgDev)
-svn export %MG_BUILD_SRC%\MgDev %MG_BUILD_AREA%\MgDev --force -q
-if "%errorlevel%"=="1" goto error
-
-echo [prepare]: Setup FDO in Oem
-cd %MG_BUILD_AREA%\MgDev\Oem\FDO
-xcopy /S /Y /I %FDO_SRC%\Inc Inc
-xcopy /S /Y /I %FDO_SRC%\Lib Lib
-xcopy /S /Y /I %FDO_SRC%\Bin Bin\Release
-xcopy /S /Y /I %FDO_SRC%\Bin\com\*.* Bin\Release\com
-REM For release we don't want pdbs and .net assemblies
-cd %MG_BUILD_AREA%\MgDev\Oem\FDO\Bin\Release
-del /Q OSGeo.FDO.*
-del /Q *.pdb
-
-:build_mapguide
-cd %MG_BUILD_AREA%\MgDev
-echo [build]: Stamp version numbers
-SET BUILD_ACTION=Stamp version numbers
-cscript updateversion.vbs /major:%MG_VER_MAJOR% /minor:%MG_VER_MINOR% /point:%MG_VER_BUILD% /build:%MG_REVISION%
-call stampassemblies.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%
-if "%errorlevel%"=="1" goto error
-
-REM ========================================= MapGuide ====================================================
-
-cd %MG_BUILD_AREA%\MgDev
-echo [build]: Set env vars
-call setenvironment.bat
-
-echo [build]: build oem/server/web
-cd %MG_BUILD_AREA%\MgDev
-SET BUILD_ACTION=build oem/server/web
-call build.bat
-if "%errorlevel%"=="1" goto error
-
-echo [build]: install files to build artifact directory
-SET BUILD_ACTION=install files to build artifact directory
-call build.bat -a=install -o=%MG_BUILD_OUTPUT%
-if "%errorlevel%"=="1" goto error
-
-REM Move fusion-selfbuild tools out of staging area
-pushd %MG_BUILD_OUTPUT%\fusion-selfbuild
-move /Y fusion-%MG_VER_MAJOR_MINOR_BUILD%-buildtools.zip %MG_BUILD_OUTPUT_ROOT%
-popd
-pushd %MG_BUILD_OUTPUT%
-rd /S /Q fusion-selfbuild
-popd
-
-REM ========================================= mg-desktop ====================================================
-:build_mgdesktop
-REM HACK: mg-desktop batch files not aware of new output dir so set old one
-SET MG_OUTPUT=%MG_BUILD_AREA%\MgDev\Release
-pushd %MG_BUILD_AREA%\MgDev
-echo [build]: mg-desktop
-SET BUILD_ACTION=Build mg-desktop
-call build_desktop.bat x86
-if "%errorlevel%"=="1" goto error
-popd
-
-pushd %MG_BUILD_AREA%\MgDev\nuget
-echo [clean]: Nuget package temp files
-call package_clean.bat
-popd
-
-pushd %MG_BUILD_AREA%\MgDev
-echo [build]: Nuget packages
-call nuget_prepare.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION% x86
-SET BUILD_ACTION=Nuget packages
-call nuget_pack.bat x86
-if "%errorlevel%"=="1" goto error
-popd
-
-pushd %MG_BUILD_AREA%\MgDev\nuget
-echo [build]: Copy mg-desktop build artifacts (NuGet packages)
-set BUILD_ACTION=Copy mg-desktop build artifacts (NuGet packages)
-move *.nupkg %MG_BUILD_ARTIFACT_PATH%\mg-desktop
-if "%errorlevel%"=="1" goto error
-popd
-
-pushd %MG_BUILD_AREA%\MgDev\Release
-echo [build]: Copy mg-desktop build artifacts (zip dist)
-SET BUILD_ACTION=Copy mg-desktop build artifacts (zip dist)
-7z a -mx9 %MG_BUILD_ARTIFACT_PATH%\mg-desktop\mg-desktop-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-net40-vc11-x86.zip Desktop DesktopSamples
-if "%errorlevel%"=="1" goto error
-popd
-
-REM ========================================= Instant Setup =========================================================
-pushd %MG_BUILD_AREA%\Installer
-echo [build]: Prepare artifact directory
-SET BUILD_ACTION=Prepare artifact directory
-call build.bat -a=prepare -source=%MG_BUILD_OUTPUT%
-if "%errorlevel%"=="1" goto error
-popd
-
-if not exist %INSTANT_SETUP_SRC% goto checkout_instantsetup
-goto update_instantsetup
-:checkout_instantsetup
-echo [build]: svn checkout MgInstantSetup
-SET BUILD_ACTION=svn checkout MgInstantSetup
-svn co %INSTANT_SETUP_SVN_URL% %INSTANT_SETUP_SRC%
-if "%errorlevel%"=="1" goto error
-goto build_instantsetup
-
-:update_instantsetup
-REM We'll allow this to fail
-echo [build]: svn update MgInstantSetup
-pushd %INSTANT_SETUP_SRC%
-svn update
-popd
-
-:build_instantsetup
-echo [build]: MgInstantSetup
-pushd %INSTANT_SETUP_SRC%
-SET BUILD_ACTION=Building MgInstantSetup
-%MSBUILD_NET40% /p:Configuration=Release;Platform="Any CPU" MgInstantSetup.sln
-if "%errorlevel%"=="1" goto error
-popd
-
-:copy_instantsetup_build_artifacts
-echo [build]: Copy MgInstantSetup build artifacts
-if not exist %MG_BUILD_OUTPUT%\Setup mkdir %MG_BUILD_OUTPUT%\Setup
-pushd %INSTANT_SETUP_SRC%\InstantSetup\bin\release
-copy /Y *.exe %MG_BUILD_OUTPUT%\Setup
-copy /Y *.pdb %MG_BUILD_OUTPUT%\Setup
-copy /Y *.dll %MG_BUILD_OUTPUT%\Setup
-copy /Y *.config %MG_BUILD_OUTPUT%\Setup
-popd
-
-:zip_mginstantsetup
-pushd %MG_BUILD_OUTPUT%
-7z a %MG_BUILD_OUTPUT_ROOT%\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-InstantSetup-x86.exe -mmt -mx5 -sfx7z.sfx .
-popd
-
-REM ========================================= MapGuide Installer ====================================================
-
-:build_installer
-pushd %MG_BUILD_AREA%\Installer
-echo [build]: Generate installer file listings
-SET BUILD_ACTION=Generate installer file listings
-call build.bat -a=generate -source=%MG_BUILD_OUTPUT%
-if "%errorlevel%"=="1" goto error
-
-echo [build]: Build the installer
-SET BUILD_ACTION=Build the installer
-call build.bat -source=%MG_BUILD_OUTPUT% -version=%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION% -name=MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-%RELEASE_LABEL%-x86 -title="MapGuide Open Source %MG_VER_MAJOR_MINOR_BUILD% %RELEASE_LABEL%"
-if "%errorlevel%"=="1" goto error
-
-move /Y Output\en-US\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-%RELEASE_LABEL%-x86.exe %MG_BUILD_OUTPUT_ROOT%
-popd
-
-if "%MG_RUN_UNIT_TESTS%"=="false" goto end
-:server_unit_test
-pushd %MG_BUILD_AREA%\MgDev\Server\bin\Release
-mgserver.exe test
-popd
-goto end
-
-:error
-echo An error occurred while building MapGuide: %BUILD_ACTION%
-exit /b 1
-:end
+      <command>@echo off&#xd;
+&#xd;
+SET BUILD_ACTION=Setting Visual Studio env vars&#xd;
+SET VCBEXTENSION=_vs12&#xd;
+SET VC_COMPILER=vc110&#xd;
+SET ACTIVENAMECHECK="Microsoft Visual Studio 11"&#xd;
+SET ACTIVEPATHCHECK="C:\Program Files\Microsoft Visual Studio 11.0\VC"&#xd;
+if exist %ACTIVEPATHCHECK% goto VSExist&#xd;
+SET ACTIVEPATHCHECK="C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC"&#xd;
+if exist %ACTIVEPATHCHECK% goto VSExist&#xd;
+goto error&#xd;
+&#xd;
+:VSExist&#xd;
+call %ACTIVEPATHCHECK%\vcvarsall.bat x86&#xd;
+&#xd;
+REM Sigh! We can't seem to reference this from Jenkins&#xd;
+SET MSBUILD_NET40=C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe&#xd;
+&#xd;
+SET MG_VER_MAJOR_MINOR=%MG_VER_MAJOR%.%MG_VER_MINOR%&#xd;
+SET MG_VER_MAJOR_MINOR_BUILD=%MG_VER_MAJOR_MINOR%.%MG_VER_BUILD%&#xd;
+SET MG_BUILD_OUTPUT_ROOT=%MG_BUILD_ARTIFACT_PATH%\mapguide&#xd;
+SET MG_BUILD_OUTPUT=%MG_BUILD_OUTPUT_ROOT%\%MG_VER_MAJOR_MINOR_BUILD%\x86\release&#xd;
+SET MG_BUILD_AREA=%MG_BUILD_AREA%\mapguide\%MG_VER_MAJOR_MINOR_BUILD%\x86&#xd;
+SET REVNUM_FILE=%MG_TOOL_PATH%\revnum.pl&#xd;
+SET MG_STAMP_FILE=%MG_BUILD_ARTIFACT_PATH%\last_mapguide_%MG_VER_MAJOR_MINOR_BUILD%_revision_x86.txt&#xd;
+SET BUILD_ACTION=&#xd;
+&#xd;
+echo =================== Env Vars for MapGuide =============================&#xd;
+echo MG_VER_MAJOR_MINOR         = %MG_VER_MAJOR_MINOR%&#xd;
+echo MG_VER_MAJOR_MINOR_BUILD   = %MG_VER_MAJOR_MINOR_BUILD%&#xd;
+echo MG_BUILD_OUTPUT_ROOT       = %MG_BUILD_OUTPUT_ROOT%&#xd;
+echo MG_BUILD_OUTPUT            = %MG_BUILD_OUTPUT%&#xd;
+echo MG_BUILD_AREA              = %MG_BUILD_AREA%&#xd;
+echo REVNUM_FILE                = %REVNUM_FILE%&#xd;
+echo MG_STAMP_FILE              = %MG_STAMP_FILE%&#xd;
+echo INSTANT_SETUP_SRC          = %INSTANT_SETUP_SRC%&#xd;
+echo JAVA_HOME                  = %JAVA_HOME%&#xd;
+echo ANT_HOME                   = %ANT_HOME%&#xd;
+echo =======================================================================&#xd;
+&#xd;
+echo [prepare]: Cleaning out build artifacts&#xd;
+if exist %MG_BUILD_OUTPUT% rd /S /Q %MG_BUILD_OUTPUT%&#xd;
+&#xd;
+echo [prepare]: Noting SVN revision&#xd;
+set /p MG_REVISION= < "%MG_STAMP_FILE_SOURCE%"&#xd;
+copy /Y "%MG_STAMP_FILE_SOURCE%" "%MG_STAMP_FILE%"&#xd;
+&#xd;
+if "%CLEAR_WORKING_AREA%"=="false" (&#xd;
+    echo [prepare]: Skip cleaning build area&#xd;
+    goto build_mapguide&#xd;
+)&#xd;
+&#xd;
+echo [prepare]: Cleaning out build area&#xd;
+if exist %MG_BUILD_AREA% rd /S /Q %MG_BUILD_AREA%&#xd;
+echo [prepare]: Re-creating output directories&#xd;
+if not exist %MG_BUILD_AREA%\Installer mkdir %MG_BUILD_AREA%\Installer&#xd;
+if not exist %MG_BUILD_AREA%\MgDev mkdir %MG_BUILD_AREA%\MgDev&#xd;
+if not exist %MG_BUILD_ARTIFACT_PATH%\mg-desktop mkdir %MG_BUILD_ARTIFACT_PATH%\mg-desktop&#xd;
+&#xd;
+echo [prepare]: Exporting SVN working copy to build area (Installer)&#xd;
+SET BUILD_ACTION=Exporting SVN working copy to build area (Installer)&#xd;
+svn export %MG_BUILD_SRC%\Installer %MG_BUILD_AREA%\Installer --force -q&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [prepare]: Copying SVN working copy to build area (MgDev)&#xd;
+SET BUILD_ACTION=Copying SVN working copy to build area (MgDev)&#xd;
+svn export %MG_BUILD_SRC%\MgDev %MG_BUILD_AREA%\MgDev --force -q&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [prepare]: Setup FDO in Oem&#xd;
+cd %MG_BUILD_AREA%\MgDev\Oem\FDO&#xd;
+xcopy /S /Y /I %FDO_SRC%\Inc Inc&#xd;
+xcopy /S /Y /I %FDO_SRC%\Lib Lib&#xd;
+xcopy /S /Y /I %FDO_SRC%\Bin Bin\Release&#xd;
+xcopy /S /Y /I %FDO_SRC%\Bin\com\*.* Bin\Release\com&#xd;
+REM For release we don't want pdbs and .net assemblies&#xd;
+cd %MG_BUILD_AREA%\MgDev\Oem\FDO\Bin\Release&#xd;
+del /Q OSGeo.FDO.*&#xd;
+del /Q *.pdb&#xd;
+&#xd;
+:build_mapguide&#xd;
+cd %MG_BUILD_AREA%\MgDev&#xd;
+echo [build]: Stamp version numbers&#xd;
+SET BUILD_ACTION=Stamp version numbers&#xd;
+cscript updateversion.vbs /major:%MG_VER_MAJOR% /minor:%MG_VER_MINOR% /point:%MG_VER_BUILD% /build:%MG_REVISION%&#xd;
+call stampassemblies.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+REM ========================================= MapGuide ====================================================&#xd;
+&#xd;
+cd %MG_BUILD_AREA%\MgDev&#xd;
+echo [build]: Set env vars&#xd;
+call setenvironment.bat&#xd;
+&#xd;
+echo [build]: build oem/server/web&#xd;
+cd %MG_BUILD_AREA%\MgDev&#xd;
+SET BUILD_ACTION=build oem/server/web&#xd;
+call build.bat&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [build]: install files to build artifact directory&#xd;
+SET BUILD_ACTION=install files to build artifact directory&#xd;
+call build.bat -a=install -o=%MG_BUILD_OUTPUT%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+REM Move fusion-selfbuild tools out of staging area&#xd;
+pushd %MG_BUILD_OUTPUT%\fusion-selfbuild&#xd;
+move /Y fusion-%MG_VER_MAJOR_MINOR_BUILD%-buildtools.zip %MG_BUILD_OUTPUT_ROOT%&#xd;
+popd&#xd;
+pushd %MG_BUILD_OUTPUT%&#xd;
+rd /S /Q fusion-selfbuild&#xd;
+popd&#xd;
+&#xd;
+REM ========================================= mg-desktop ====================================================&#xd;
+:build_mgdesktop&#xd;
+REM HACK: mg-desktop batch files not aware of new output dir so set old one&#xd;
+SET MG_OUTPUT=%MG_BUILD_AREA%\MgDev\Release&#xd;
+pushd %MG_BUILD_AREA%\MgDev&#xd;
+echo [build]: mg-desktop&#xd;
+SET BUILD_ACTION=Build mg-desktop&#xd;
+call build_desktop.bat x86&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA%\MgDev\nuget&#xd;
+echo [clean]: Nuget package temp files&#xd;
+call package_clean.bat&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA%\MgDev&#xd;
+echo [build]: Nuget packages&#xd;
+call nuget_prepare.bat %MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION% x86&#xd;
+SET BUILD_ACTION=Nuget packages&#xd;
+call nuget_pack.bat x86&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA%\MgDev\nuget&#xd;
+echo [build]: Copy mg-desktop build artifacts (NuGet packages)&#xd;
+set BUILD_ACTION=Copy mg-desktop build artifacts (NuGet packages)&#xd;
+move *.nupkg %MG_BUILD_ARTIFACT_PATH%\mg-desktop&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+pushd %MG_BUILD_AREA%\MgDev\Release&#xd;
+echo [build]: Copy mg-desktop build artifacts (zip dist)&#xd;
+SET BUILD_ACTION=Copy mg-desktop build artifacts (zip dist)&#xd;
+7z a -mx9 %MG_BUILD_ARTIFACT_PATH%\mg-desktop\mg-desktop-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-net40-vc11-x86.zip Desktop DesktopSamples&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+REM ========================================= Instant Setup =========================================================&#xd;
+pushd %MG_BUILD_AREA%\Installer&#xd;
+echo [build]: Prepare artifact directory&#xd;
+SET BUILD_ACTION=Prepare artifact directory&#xd;
+call build.bat -a=prepare -source=%MG_BUILD_OUTPUT%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+if not exist %INSTANT_SETUP_SRC% goto checkout_instantsetup&#xd;
+goto update_instantsetup&#xd;
+:checkout_instantsetup&#xd;
+echo [build]: svn checkout MgInstantSetup&#xd;
+SET BUILD_ACTION=svn checkout MgInstantSetup&#xd;
+svn co %INSTANT_SETUP_SVN_URL% %INSTANT_SETUP_SRC%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+goto build_instantsetup&#xd;
+&#xd;
+:update_instantsetup&#xd;
+REM We'll allow this to fail&#xd;
+echo [build]: svn update MgInstantSetup&#xd;
+pushd %INSTANT_SETUP_SRC%&#xd;
+svn update&#xd;
+popd&#xd;
+&#xd;
+:build_instantsetup&#xd;
+echo [build]: MgInstantSetup&#xd;
+pushd %INSTANT_SETUP_SRC%&#xd;
+SET BUILD_ACTION=Building MgInstantSetup&#xd;
+%MSBUILD_NET40% /p:Configuration=Release;Platform="Any CPU" MgInstantSetup.sln&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+popd&#xd;
+&#xd;
+:copy_instantsetup_build_artifacts&#xd;
+echo [build]: Copy MgInstantSetup build artifacts&#xd;
+if not exist %MG_BUILD_OUTPUT%\Setup mkdir %MG_BUILD_OUTPUT%\Setup&#xd;
+pushd %INSTANT_SETUP_SRC%\out\release&#xd;
+copy /Y *.exe %MG_BUILD_OUTPUT%\Setup&#xd;
+copy /Y *.pdb %MG_BUILD_OUTPUT%\Setup&#xd;
+copy /Y *.dll %MG_BUILD_OUTPUT%\Setup&#xd;
+copy /Y *.config %MG_BUILD_OUTPUT%\Setup&#xd;
+popd&#xd;
+&#xd;
+:zip_mginstantsetup&#xd;
+pushd %MG_BUILD_OUTPUT%&#xd;
+7z a %MG_BUILD_OUTPUT_ROOT%\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-InstantSetup-x86.exe -mmt -mx5 -sfx7z.sfx CS-Map Server Web Setup&#xd;
+popd&#xd;
+&#xd;
+:zip_testpack&#xd;
+pushd %MG_BUILD_OUTPUT%&#xd;
+7z a %MG_BUILD_OUTPUT_ROOT%\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-TestSuite-x86.exe -mmt -mx5 -sfx7z.sfx Test&#xd;
+popd&#xd;
+&#xd;
+REM ========================================= MapGuide Installer ====================================================&#xd;
+&#xd;
+:build_installer&#xd;
+pushd %MG_BUILD_AREA%\Installer&#xd;
+echo [build]: Generate installer file listings&#xd;
+SET BUILD_ACTION=Generate installer file listings&#xd;
+call build.bat -a=generate -source=%MG_BUILD_OUTPUT%&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+echo [build]: Build the installer&#xd;
+SET BUILD_ACTION=Build the installer&#xd;
+call build.bat -source=%MG_BUILD_OUTPUT% -version=%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION% -name=MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-%RELEASE_LABEL%-x86 -title="MapGuide Open Source %MG_VER_MAJOR_MINOR_BUILD% %RELEASE_LABEL%"&#xd;
+if "%errorlevel%"=="1" goto error&#xd;
+&#xd;
+move /Y Output\en-US\MapGuideOpenSource-%MG_VER_MAJOR_MINOR_BUILD%.%MG_REVISION%-%RELEASE_LABEL%-x86.exe %MG_BUILD_OUTPUT_ROOT%&#xd;
+popd&#xd;
+&#xd;
+goto end&#xd;
+&#xd;
+:error&#xd;
+echo An error occurred while building MapGuide: %BUILD_ACTION%&#xd;
+exit /b 1&#xd;
+:end&#xd;
 exit /b 0</command>
     </hudson.tasks.BatchFile>
   </builders>
-  <publishers/>
+  <publishers>
+    <hudson.tasks.BuildTrigger>
+      <childProjects>Test MapGuide x86</childProjects>
+      <threshold>
+        <name>SUCCESS</name>
+        <ordinal>0</ordinal>
+        <color>BLUE</color>
+        <completeBuild>true</completeBuild>
+      </threshold>
+    </hudson.tasks.BuildTrigger>
+  </publishers>
   <buildWrappers/>
 </project>
\ No newline at end of file



More information about the mapguide-commits mailing list