[mapguide-commits] r7086 - in branches/2.4/MgDev: . Desktop nuget nuget/api-web/tools/net40

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sun Oct 7 03:07:07 PDT 2012


Author: jng
Date: 2012-10-07 03:07:07 -0700 (Sun, 07 Oct 2012)
New Revision: 7086

Added:
   branches/2.4/MgDev/base_package_excludes.txt
   branches/2.4/MgDev/desktop_package_excludes.txt
   branches/2.4/MgDev/dll_excludes.txt
   branches/2.4/MgDev/nuget/
   branches/2.4/MgDev/nuget/api-web/
   branches/2.4/MgDev/nuget/api-web/tools/net40/GetMgWebApiPostBuildCmd.ps1
   branches/2.4/MgDev/nuget/api-web/tools/net40/install.ps1
   branches/2.4/MgDev/nuget/api-web/tools/net40/uninstall.ps1
   branches/2.4/MgDev/nuget/mapguide-api-base.nuspec
   branches/2.4/MgDev/nuget/mapguide-api-web.nuspec
   branches/2.4/MgDev/nuget_pack.bat
   branches/2.4/MgDev/nuget_prepare.bat
   branches/2.4/MgDev/package_excludes.txt
   branches/2.4/MgDev/samples_exclude.txt
   branches/2.4/MgDev/viewer_package_excludes.txt
Removed:
   branches/2.4/MgDev/Desktop/base_package_excludes.txt
   branches/2.4/MgDev/Desktop/desktop_package_excludes.txt
   branches/2.4/MgDev/Desktop/dll_excludes.txt
   branches/2.4/MgDev/Desktop/nuget/
   branches/2.4/MgDev/Desktop/nuget_pack.bat
   branches/2.4/MgDev/Desktop/nuget_prepare.bat
   branches/2.4/MgDev/Desktop/package_excludes.txt
   branches/2.4/MgDev/Desktop/samples_exclude.txt
   branches/2.4/MgDev/Desktop/viewer_package_excludes.txt
   branches/2.4/MgDev/nuget/mapguide-api-base.nuspec
Log:
Move nuget files up one level. Also add package scripts for mapguide-api-web

Deleted: branches/2.4/MgDev/Desktop/base_package_excludes.txt
===================================================================
--- branches/2.4/MgDev/Desktop/base_package_excludes.txt	2012-10-07 09:27:53 UTC (rev 7085)
+++ branches/2.4/MgDev/Desktop/base_package_excludes.txt	2012-10-07 10:07:07 UTC (rev 7086)
@@ -1,39 +0,0 @@
-Backup
-Logs
-Repositories
-FDO
-Temp
-Dictionaries
-Resources
-Schema
-OSGeo.MapGuide.Desktop.dll
-OSGeo.MapGuide.Viewer.dll
-OSGeo.MapGuide.Viewer.Desktop.dll
-OSGeo.MapGuide.Viewer.xml
-MapGuideDesktopUnmanagedApi.dll
-Platform.ini
-gd.dll
-MgGwsCommon.dll
-MgGwsQueryEngine.dll
-MgGwsResource.dll
-MgDesktop.dll
-MgRenderers.dll
-MgStylization.dll
-OSGeo.MapGuide.Foundation.dll
-OSGeo.MapGuide.Geometry.dll
-OSGeo.MapGuide.PlatformBase.dll
-maestroapi.key
-DotNetHarness.exe
-DotNetHarness.exe.config
-DotNetHarness.vshost.exe
-DotNetHarness.vshost.exe.config
-DotNetHarness.vshost.exe.manifest
-DotNetUnitTest.exe
-DotNetUnitTest.exe.config
-MapViewerTest.exe
-MapViewerTest.exe.config
-SignMapGuideApi.exe
-UnitTest.exe
-SampleExtension.dll
-Sheboygan.AppLayout
-MgAppLayout.exe
\ No newline at end of file

Deleted: branches/2.4/MgDev/Desktop/desktop_package_excludes.txt
===================================================================
--- branches/2.4/MgDev/Desktop/desktop_package_excludes.txt	2012-10-07 09:27:53 UTC (rev 7085)
+++ branches/2.4/MgDev/Desktop/desktop_package_excludes.txt	2012-10-07 10:07:07 UTC (rev 7086)
@@ -1,39 +0,0 @@
-Backup
-Logs
-Schema
-Temp
-Repositories
-Dictionaries
-ACE.dll
-FoundationUnmanagedApi.dll
-GeometryUnmanagedApi.dll
-GEOS.dll
-MgFoundation.dll
-MgGeometry.dll
-MgMdfModel.dll
-MgMdfParser.dll
-MgPlatformBase.dll
-OSGeo.MapGuide.Foundation.dll
-OSGeo.MapGuide.Geometry.dll
-OSGeo.MapGuide.PlatformBase.dll
-PlatformBaseUnmanagedApi.dll
-xerces-c_3_1mg.dll
-OSGeo.MapGuide.Desktop.dll
-OSGeo.MapGuide.Viewer.dll
-OSGeo.MapGuide.Viewer.Desktop.dll
-OSGeo.MapGuide.Viewer.xml
-maestroapi.key
-DotNetHarness.exe
-DotNetHarness.exe.config
-DotNetHarness.vshost.exe
-DotNetHarness.vshost.exe.config
-DotNetHarness.vshost.exe.manifest
-DotNetUnitTest.exe
-DotNetUnitTest.exe.config
-MapViewerTest.exe
-MapViewerTest.exe.config
-SignMapGuideApi.exe
-UnitTest.exe
-Sheboygan.AppLayout
-SampleExtension.dll
-MgAppLayout.exe
\ No newline at end of file

Deleted: branches/2.4/MgDev/Desktop/dll_excludes.txt
===================================================================
--- branches/2.4/MgDev/Desktop/dll_excludes.txt	2012-10-07 09:27:53 UTC (rev 7085)
+++ branches/2.4/MgDev/Desktop/dll_excludes.txt	2012-10-07 10:07:07 UTC (rev 7086)
@@ -1,9 +0,0 @@
-SampleExtension.dll
-MgMapGuideCommon.dll
-OSGeo.MapGuide.Desktop.dll
-OSGeo.MapGuide.Foundation.dll
-OSGeo.MapGuide.Geometry.dll
-OSGeo.MapGuide.PlatformBase.dll
-OSGeo.MapGuide.Viewer.Desktop.dll
-OSGeo.MapGuide.Viewer.dll
-OSGeo.MapGuide.Viewer.xml
\ No newline at end of file

Deleted: branches/2.4/MgDev/Desktop/nuget_pack.bat
===================================================================
--- branches/2.4/MgDev/Desktop/nuget_pack.bat	2012-10-07 09:27:53 UTC (rev 7085)
+++ branches/2.4/MgDev/Desktop/nuget_pack.bat	2012-10-07 10:07:07 UTC (rev 7086)
@@ -1,7 +0,0 @@
- at echo off
-pushd nuget
-nuget pack mapguide-api-base.nuspec -BasePath api-base
-nuget pack mg-desktop-net40.nuspec -BasePath api-desktop
-nuget pack mg-desktop-viewer-net40.nuspec -BasePath api-desktop-viewer
-nuget pack mapguide-api-web.nuspec -BasePath api-web
-popd
\ No newline at end of file

Deleted: branches/2.4/MgDev/Desktop/nuget_prepare.bat
===================================================================
--- branches/2.4/MgDev/Desktop/nuget_prepare.bat	2012-10-07 09:27:53 UTC (rev 7085)
+++ branches/2.4/MgDev/Desktop/nuget_prepare.bat	2012-10-07 10:07:07 UTC (rev 7086)
@@ -1,66 +0,0 @@
- at echo off
-rem Top-level build script for mg-desktop
-rem
-rem Author: Jackie Ng (jumpinjackie at gmail.com)
-rem
-rem You must call setenvironment[64].bat first with any appropriate
-rem parameters before calling this script
-
-SET NUGET_BASEDIR=%CD%\nuget
-SET NUGET_TARGET=net40
-SET NUGET_CONTENT_BASE=%NUGET_BASEDIR%\api-base\content\%NUGET_TARGET%\mapguide-api-base
-SET NUGET_LIB_BASE=%NUGET_BASEDIR%\api-base\lib\%NUGET_TARGET%
-SET NUGET_CONTENT_DESKTOP=%NUGET_BASEDIR%\api-desktop\content\%NUGET_TARGET%\mg-desktop
-SET NUGET_LIB_DESKTOP=%NUGET_BASEDIR%\api-desktop\lib\%NUGET_TARGET%
-SET NUGET_CONTENT_VIEWER=%NUGET_BASEDIR%\api-desktop-viewer\content\%NUGET_TARGET%\mg-desktop-viewer
-SET NUGET_LIB_VIEWER=%NUGET_BASEDIR%\api-desktop-viewer\lib\%NUGET_TARGET%
-SET NUGET_CONTENT_WEB=%NUGET_BASEDIR%\api-web\content\%NUGET_TARGET%\mapguide-api-web
-SET NUGET_LIB_WEB=%NUGET_BASEDIR%\api-web\lib\%NUGET_TARGET%
-SET WEB_BASEDIR=%CD%\..\Web\bin\%TYPEBUILD%
-SET DESKTOP_BASEDIR=bin\%TYPEBUILD%
-SET SIGNER_ROOT=%CD%\DesktopUnmanagedApi\DotNet
-
-echo [install]: Copy api-base files to nuget staging
-%XCOPY% "%DESKTOP_BASEDIR%\*" "%NUGET_CONTENT_BASE%" /EXCLUDE:package_excludes.txt+base_package_excludes.txt
-copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Foundation.dll" "%NUGET_LIB_BASE%"
-copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Geometry.dll" "%NUGET_LIB_BASE%"
-copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.PlatformBase.dll" "%NUGET_LIB_BASE%"
-copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Foundation.xml" "%NUGET_LIB_BASE%"
-copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Geometry.xml" "%NUGET_LIB_BASE%"
-copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.PlatformBase.xml" "%NUGET_LIB_BASE%"
-echo [install]: Copy api-desktop files to nuget staging
-%XCOPY% "%DESKTOP_BASEDIR%\*" "%NUGET_CONTENT_DESKTOP%" /EXCLUDE:package_excludes.txt+desktop_package_excludes.txt
-copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Desktop.dll" "%NUGET_LIB_DESKTOP%"
-echo [install]: Copy api-web files to nuget staging
-copy /y "%WEB_BASEDIR%\MgWebApp.dll" "%NUGET_CONTENT_WEB%"
-copy /y "%WEB_BASEDIR%\MgWebSupport.dll" "%NUGET_CONTENT_WEB%"
-copy /y "%WEB_BASEDIR%\MgMapGuideCommon.dll" "%NUGET_CONTENT_WEB%"
-copy /y "%WEB_BASEDIR%\MapGuideCommonUnmanagedApi.dll" "%NUGET_CONTENT_WEB%"
-copy /y "%WEB_BASEDIR%\lib_json.dll" "%NUGET_CONTENT_WEB%"
-copy /y "%WEB_BASEDIR%\WebUnmanagedApi.dll" "%NUGET_CONTENT_WEB%"
-copy /y "%WEB_BASEDIR%\OSGeo.MapGuide.MapGuideCommon.dll" "%NUGET_LIB_WEB%"
-copy /y "%WEB_BASEDIR%\OSGeo.MapGuide.Web.dll" "%NUGET_LIB_WEB%"
-copy /y "%WEB_BASEDIR%\OSGeo.MapGuide.MapGuideCommon.xml" "%NUGET_LIB_WEB%"
-copy /y "%WEB_BASEDIR%\OSGeo.MapGuide.Web.xml" "%NUGET_LIB_WEB%"
-copy /y "%SIGNER_ROOT%\SignMapGuideApi.exe" "%NUGET_LIB_WEB%"
-copy /y "%SIGNER_ROOT%\maestroapi.key" "%NUGET_LIB_WEB%"
-echo [build]: Signing MapGuide API assemblies
-pushd "%NUGET_LIB_WEB%"
-SignMapGuideApi.exe
-rd /S /Q Backup
-del maestroapi.key
-del SignMapGuideApi.exe
-popd
-echo [install]: Copy api-desktop-viewer files to nuget staging
-copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Viewer.xml" "%NUGET_LIB_VIEWER%"
-copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Viewer.dll" "%NUGET_LIB_VIEWER%"
-copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Viewer.Desktop.dll" "%NUGET_LIB_VIEWER%"
-echo mg-desktop is ready for nuget packaging and publishing
-goto quit
-
-
-:error
-echo [ERROR]: There was an error building the component
-exit /B 1
-
-:quit
\ No newline at end of file

Deleted: branches/2.4/MgDev/Desktop/package_excludes.txt
===================================================================
--- branches/2.4/MgDev/Desktop/package_excludes.txt	2012-10-07 09:27:53 UTC (rev 7085)
+++ branches/2.4/MgDev/Desktop/package_excludes.txt	2012-10-07 10:07:07 UTC (rev 7086)
@@ -1,15 +0,0 @@
-.pdb
-.exp
-.lib
-MgMapGuideCommon.dll
-OSGeo.FDO.dll
-OSGeo.FDO.Common.dll
-OSGeo.FDO.Geometry.dll
-OSGeo.FDO.Spatial.dll
-OSGeo.FDO.Providers.MySQL.Overrides.dll
-OSGeo.FDO.Providers.ODBC.Overrides.dll
-OSGeo.FDO.Providers.Rdbms.dll
-OSGeo.FDO.Providers.Rdbms.Overrides.dll
-OSGeo.FDO.Providers.SHP.Overrides.dll
-OSGeo.FDO.Providers.SQLServerSpatial.Overrides.dll
-OSGeo.FDO.Providers.WMS.Overrides.dll
\ No newline at end of file

Deleted: branches/2.4/MgDev/Desktop/samples_exclude.txt
===================================================================
--- branches/2.4/MgDev/Desktop/samples_exclude.txt	2012-10-07 09:27:53 UTC (rev 7085)
+++ branches/2.4/MgDev/Desktop/samples_exclude.txt	2012-10-07 10:07:07 UTC (rev 7086)
@@ -1,6 +0,0 @@
-bin
-obj
-Lib
-.svn
-_svn
-.suo
\ No newline at end of file

Deleted: branches/2.4/MgDev/Desktop/viewer_package_excludes.txt
===================================================================
--- branches/2.4/MgDev/Desktop/viewer_package_excludes.txt	2012-10-07 09:27:53 UTC (rev 7085)
+++ branches/2.4/MgDev/Desktop/viewer_package_excludes.txt	2012-10-07 10:07:07 UTC (rev 7086)
@@ -1,48 +0,0 @@
-Backup
-Logs
-Repositories
-FDO
-Dictionaries
-Resources
-Schema
-OSGeo.MapGuide.Desktop.dll
-OSGeo.MapGuide.Viewer.dll
-OSGeo.MapGuide.Viewer.Desktop.dll
-OSGeo.MapGuide.Viewer.xml
-MapGuideDesktopUnmanagedApi.dll
-Platform.ini
-gd.dll
-MgGwsCommon.dll
-MgGwsQueryEngine.dll
-MgGwsResource.dll
-MgDesktop.dll
-MgRenderers.dll
-MgStylization.dll
-ACE.dll
-FoundationUnmanagedApi.dll
-GeometryUnmanagedApi.dll
-GEOS.dll
-MgFoundation.dll
-MgGeometry.dll
-MgMdfModel.dll
-MgMdfParser.dll
-MgPlatformBase.dll
-OSGeo.MapGuide.Foundation.dll
-OSGeo.MapGuide.Geometry.dll
-OSGeo.MapGuide.PlatformBase.dll
-PlatformBaseUnmanagedApi.dll
-xerces-c_3_1mg.dll
-OSGeo.MapGuide.Desktop.dll
-OSGeo.MapGuide.Viewer.dll
-OSGeo.MapGuide.Viewer.Desktop.dll
-maestroapi.key
-DotNetHarness.exe
-DotNetHarness.exe.config
-DotNetUnitTest.exe
-DotNetUnitTest.exe.config
-MapViewerTest.exe
-MapViewerTest.exe.config
-SignMapGuideApi.exe
-UnitTest.exe
-Sheboygan.AppLayout
-MgAppLayout.exe
\ No newline at end of file

Copied: branches/2.4/MgDev/base_package_excludes.txt (from rev 7085, branches/2.4/MgDev/Desktop/base_package_excludes.txt)
===================================================================
--- branches/2.4/MgDev/base_package_excludes.txt	                        (rev 0)
+++ branches/2.4/MgDev/base_package_excludes.txt	2012-10-07 10:07:07 UTC (rev 7086)
@@ -0,0 +1,39 @@
+Backup
+Logs
+Repositories
+FDO
+Temp
+Dictionaries
+Resources
+Schema
+OSGeo.MapGuide.Desktop.dll
+OSGeo.MapGuide.Viewer.dll
+OSGeo.MapGuide.Viewer.Desktop.dll
+OSGeo.MapGuide.Viewer.xml
+MapGuideDesktopUnmanagedApi.dll
+Platform.ini
+gd.dll
+MgGwsCommon.dll
+MgGwsQueryEngine.dll
+MgGwsResource.dll
+MgDesktop.dll
+MgRenderers.dll
+MgStylization.dll
+OSGeo.MapGuide.Foundation.dll
+OSGeo.MapGuide.Geometry.dll
+OSGeo.MapGuide.PlatformBase.dll
+maestroapi.key
+DotNetHarness.exe
+DotNetHarness.exe.config
+DotNetHarness.vshost.exe
+DotNetHarness.vshost.exe.config
+DotNetHarness.vshost.exe.manifest
+DotNetUnitTest.exe
+DotNetUnitTest.exe.config
+MapViewerTest.exe
+MapViewerTest.exe.config
+SignMapGuideApi.exe
+UnitTest.exe
+SampleExtension.dll
+Sheboygan.AppLayout
+MgAppLayout.exe
\ No newline at end of file

Copied: branches/2.4/MgDev/desktop_package_excludes.txt (from rev 7085, branches/2.4/MgDev/Desktop/desktop_package_excludes.txt)
===================================================================
--- branches/2.4/MgDev/desktop_package_excludes.txt	                        (rev 0)
+++ branches/2.4/MgDev/desktop_package_excludes.txt	2012-10-07 10:07:07 UTC (rev 7086)
@@ -0,0 +1,39 @@
+Backup
+Logs
+Schema
+Temp
+Repositories
+Dictionaries
+ACE.dll
+FoundationUnmanagedApi.dll
+GeometryUnmanagedApi.dll
+GEOS.dll
+MgFoundation.dll
+MgGeometry.dll
+MgMdfModel.dll
+MgMdfParser.dll
+MgPlatformBase.dll
+OSGeo.MapGuide.Foundation.dll
+OSGeo.MapGuide.Geometry.dll
+OSGeo.MapGuide.PlatformBase.dll
+PlatformBaseUnmanagedApi.dll
+xerces-c_3_1mg.dll
+OSGeo.MapGuide.Desktop.dll
+OSGeo.MapGuide.Viewer.dll
+OSGeo.MapGuide.Viewer.Desktop.dll
+OSGeo.MapGuide.Viewer.xml
+maestroapi.key
+DotNetHarness.exe
+DotNetHarness.exe.config
+DotNetHarness.vshost.exe
+DotNetHarness.vshost.exe.config
+DotNetHarness.vshost.exe.manifest
+DotNetUnitTest.exe
+DotNetUnitTest.exe.config
+MapViewerTest.exe
+MapViewerTest.exe.config
+SignMapGuideApi.exe
+UnitTest.exe
+Sheboygan.AppLayout
+SampleExtension.dll
+MgAppLayout.exe
\ No newline at end of file

Copied: branches/2.4/MgDev/dll_excludes.txt (from rev 7082, branches/2.4/MgDev/Desktop/dll_excludes.txt)
===================================================================
--- branches/2.4/MgDev/dll_excludes.txt	                        (rev 0)
+++ branches/2.4/MgDev/dll_excludes.txt	2012-10-07 10:07:07 UTC (rev 7086)
@@ -0,0 +1,9 @@
+SampleExtension.dll
+MgMapGuideCommon.dll
+OSGeo.MapGuide.Desktop.dll
+OSGeo.MapGuide.Foundation.dll
+OSGeo.MapGuide.Geometry.dll
+OSGeo.MapGuide.PlatformBase.dll
+OSGeo.MapGuide.Viewer.Desktop.dll
+OSGeo.MapGuide.Viewer.dll
+OSGeo.MapGuide.Viewer.xml
\ No newline at end of file

Added: branches/2.4/MgDev/nuget/api-web/tools/net40/GetMgWebApiPostBuildCmd.ps1
===================================================================
--- branches/2.4/MgDev/nuget/api-web/tools/net40/GetMgWebApiPostBuildCmd.ps1	                        (rev 0)
+++ branches/2.4/MgDev/nuget/api-web/tools/net40/GetMgWebApiPostBuildCmd.ps1	2012-10-07 10:07:07 UTC (rev 7086)
@@ -0,0 +1,5 @@
+$solutionDir = [System.IO.Path]::GetDirectoryName($dte.Solution.FullName) + "\"
+$path = $installPath.Replace($solutionDir, "`$(SolutionDir)")
+
+$MgWebApiPostBuildCmd = "
+copy /y `"`$(ProjectDir)mapguide-api-web\*.dll`" `"`$(TargetDir)`""
\ No newline at end of file

Added: branches/2.4/MgDev/nuget/api-web/tools/net40/install.ps1
===================================================================
--- branches/2.4/MgDev/nuget/api-web/tools/net40/install.ps1	                        (rev 0)
+++ branches/2.4/MgDev/nuget/api-web/tools/net40/install.ps1	2012-10-07 10:07:07 UTC (rev 7086)
@@ -0,0 +1,23 @@
+param($installPath, $toolsPath, $package, $project)
+
+# Set Copy Local to false for all mg-desktop references
+foreach ($reference in $project.Object.References)
+{
+    if ($reference.Name -eq "OSGeo.MapGuide.MapGuideCommon" -or
+        $reference.Name -eq "OSGeo.MapGuide.Web")
+    {
+        $reference.CopyLocal = $true
+    }
+}
+Write-Host "Set <Copy Local> = true for all Web API references"
+
+. (Join-Path $toolsPath "GetMgWebApiPostBuildCmd.ps1")
+
+# Get the current Post Build Event cmd
+$currentPostBuildCmd = $project.Properties.Item("PostBuildEvent").Value
+
+# Append our post build command if it's not already there
+if (!$currentPostBuildCmd.Contains($MgWebApiPostBuildCmd)) {
+    $project.Properties.Item("PostBuildEvent").Value += $MgWebApiPostBuildCmd
+    Write-Host "Updated Post-Build event for project"
+}
\ No newline at end of file

Added: branches/2.4/MgDev/nuget/api-web/tools/net40/uninstall.ps1
===================================================================
--- branches/2.4/MgDev/nuget/api-web/tools/net40/uninstall.ps1	                        (rev 0)
+++ branches/2.4/MgDev/nuget/api-web/tools/net40/uninstall.ps1	2012-10-07 10:07:07 UTC (rev 7086)
@@ -0,0 +1,10 @@
+param($installPath, $toolsPath, $package, $project)
+
+. (Join-Path $toolsPath "GetMgWebApiPostBuildCmd.ps1")
+
+# Get the current Post Build Event cmd
+$currentPostBuildCmd = $project.Properties.Item("PostBuildEvent").Value
+
+# Remove our post build command from it (if it's there)
+$project.Properties.Item("PostBuildEvent").Value = $currentPostBuildCmd.Replace($MgWebApiPostBuildCmd, "")
+Write-Host "Removed Web API post-build event"
\ No newline at end of file

Deleted: branches/2.4/MgDev/nuget/mapguide-api-base.nuspec
===================================================================
(Binary files differ)

Copied: branches/2.4/MgDev/nuget/mapguide-api-base.nuspec (from rev 7085, branches/2.4/MgDev/Desktop/nuget/mapguide-api-base.nuspec)
===================================================================
(Binary files differ)

Copied: branches/2.4/MgDev/nuget/mapguide-api-web.nuspec (from rev 7085, branches/2.4/MgDev/Desktop/nuget/mapguide-api-web.nuspec)
===================================================================
(Binary files differ)

Copied: branches/2.4/MgDev/nuget_pack.bat (from rev 7085, branches/2.4/MgDev/Desktop/nuget_pack.bat)
===================================================================
--- branches/2.4/MgDev/nuget_pack.bat	                        (rev 0)
+++ branches/2.4/MgDev/nuget_pack.bat	2012-10-07 10:07:07 UTC (rev 7086)
@@ -0,0 +1,9 @@
+ at echo off
+SET EXTRA_NUGET_ARGS=
+IF NOT "%1" == "" SET EXTRA_NUGET_ARGS=-Version %1
+pushd nuget
+nuget pack mapguide-api-base.nuspec -BasePath api-base %EXTRA_NUGET_ARGS%
+nuget pack mg-desktop-net40.nuspec -BasePath api-desktop %EXTRA_NUGET_ARGS%
+nuget pack mg-desktop-viewer-net40.nuspec -BasePath api-desktop-viewer %EXTRA_NUGET_ARGS%
+nuget pack mapguide-api-web.nuspec -BasePath api-web %EXTRA_NUGET_ARGS%
+popd
\ No newline at end of file

Copied: branches/2.4/MgDev/nuget_prepare.bat (from rev 7085, branches/2.4/MgDev/Desktop/nuget_prepare.bat)
===================================================================
--- branches/2.4/MgDev/nuget_prepare.bat	                        (rev 0)
+++ branches/2.4/MgDev/nuget_prepare.bat	2012-10-07 10:07:07 UTC (rev 7086)
@@ -0,0 +1,66 @@
+ at echo off
+rem Top-level build script for mg-desktop
+rem
+rem Author: Jackie Ng (jumpinjackie at gmail.com)
+rem
+rem You must call setenvironment[64].bat first with any appropriate
+rem parameters before calling this script
+
+SET NUGET_BASEDIR=%CD%\nuget
+SET NUGET_TARGET=net40
+SET NUGET_CONTENT_BASE=%NUGET_BASEDIR%\api-base\content\%NUGET_TARGET%\mapguide-api-base
+SET NUGET_LIB_BASE=%NUGET_BASEDIR%\api-base\lib\%NUGET_TARGET%
+SET NUGET_CONTENT_DESKTOP=%NUGET_BASEDIR%\api-desktop\content\%NUGET_TARGET%\mg-desktop
+SET NUGET_LIB_DESKTOP=%NUGET_BASEDIR%\api-desktop\lib\%NUGET_TARGET%
+SET NUGET_CONTENT_VIEWER=%NUGET_BASEDIR%\api-desktop-viewer\content\%NUGET_TARGET%\mg-desktop-viewer
+SET NUGET_LIB_VIEWER=%NUGET_BASEDIR%\api-desktop-viewer\lib\%NUGET_TARGET%
+SET NUGET_CONTENT_WEB=%NUGET_BASEDIR%\api-web\content\%NUGET_TARGET%\mapguide-api-web
+SET NUGET_LIB_WEB=%NUGET_BASEDIR%\api-web\lib\%NUGET_TARGET%
+SET WEB_BASEDIR=%CD%\Web\bin\%TYPEBUILD%
+SET DESKTOP_BASEDIR=%CD%\%TYPEBUILD%\Desktop
+SET SIGNER_ROOT=%CD%\Desktop\DesktopUnmanagedApi\DotNet
+
+echo [install]: Copy api-base files to nuget staging
+%XCOPY% "%DESKTOP_BASEDIR%\*" "%NUGET_CONTENT_BASE%" /EXCLUDE:package_excludes.txt+base_package_excludes.txt
+copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Foundation.dll" "%NUGET_LIB_BASE%"
+copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Geometry.dll" "%NUGET_LIB_BASE%"
+copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.PlatformBase.dll" "%NUGET_LIB_BASE%"
+copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Foundation.xml" "%NUGET_LIB_BASE%"
+copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Geometry.xml" "%NUGET_LIB_BASE%"
+copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.PlatformBase.xml" "%NUGET_LIB_BASE%"
+echo [install]: Copy api-desktop files to nuget staging
+%XCOPY% "%DESKTOP_BASEDIR%\*" "%NUGET_CONTENT_DESKTOP%" /EXCLUDE:package_excludes.txt+desktop_package_excludes.txt
+copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Desktop.dll" "%NUGET_LIB_DESKTOP%"
+echo [install]: Copy api-web files to nuget staging
+copy /y "%WEB_BASEDIR%\MgWebApp.dll" "%NUGET_CONTENT_WEB%"
+copy /y "%WEB_BASEDIR%\MgWebSupport.dll" "%NUGET_CONTENT_WEB%"
+copy /y "%WEB_BASEDIR%\MgMapGuideCommon.dll" "%NUGET_CONTENT_WEB%"
+copy /y "%WEB_BASEDIR%\MapGuideCommonUnmanagedApi.dll" "%NUGET_CONTENT_WEB%"
+copy /y "%WEB_BASEDIR%\lib_json.dll" "%NUGET_CONTENT_WEB%"
+copy /y "%WEB_BASEDIR%\WebUnmanagedApi.dll" "%NUGET_CONTENT_WEB%"
+copy /y "%WEB_BASEDIR%\OSGeo.MapGuide.MapGuideCommon.dll" "%NUGET_LIB_WEB%"
+copy /y "%WEB_BASEDIR%\OSGeo.MapGuide.Web.dll" "%NUGET_LIB_WEB%"
+copy /y "%WEB_BASEDIR%\OSGeo.MapGuide.MapGuideCommon.xml" "%NUGET_LIB_WEB%"
+copy /y "%WEB_BASEDIR%\OSGeo.MapGuide.Web.xml" "%NUGET_LIB_WEB%"
+copy /y "%SIGNER_ROOT%\SignMapGuideApi.exe" "%NUGET_LIB_WEB%"
+copy /y "%SIGNER_ROOT%\maestroapi.key" "%NUGET_LIB_WEB%"
+echo [build]: Signing MapGuide API assemblies
+pushd "%NUGET_LIB_WEB%"
+SignMapGuideApi.exe
+rd /S /Q Backup
+del maestroapi.key
+del SignMapGuideApi.exe
+popd
+echo [install]: Copy api-desktop-viewer files to nuget staging
+copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Viewer.xml" "%NUGET_LIB_VIEWER%"
+copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Viewer.dll" "%NUGET_LIB_VIEWER%"
+copy /y "%DESKTOP_BASEDIR%\OSGeo.MapGuide.Viewer.Desktop.dll" "%NUGET_LIB_VIEWER%"
+echo mg-desktop is ready for nuget packaging and publishing
+goto quit
+
+
+:error
+echo [ERROR]: There was an error building the component
+exit /B 1
+
+:quit
\ No newline at end of file

Copied: branches/2.4/MgDev/package_excludes.txt (from rev 7082, branches/2.4/MgDev/Desktop/package_excludes.txt)
===================================================================
--- branches/2.4/MgDev/package_excludes.txt	                        (rev 0)
+++ branches/2.4/MgDev/package_excludes.txt	2012-10-07 10:07:07 UTC (rev 7086)
@@ -0,0 +1,15 @@
+.pdb
+.exp
+.lib
+MgMapGuideCommon.dll
+OSGeo.FDO.dll
+OSGeo.FDO.Common.dll
+OSGeo.FDO.Geometry.dll
+OSGeo.FDO.Spatial.dll
+OSGeo.FDO.Providers.MySQL.Overrides.dll
+OSGeo.FDO.Providers.ODBC.Overrides.dll
+OSGeo.FDO.Providers.Rdbms.dll
+OSGeo.FDO.Providers.Rdbms.Overrides.dll
+OSGeo.FDO.Providers.SHP.Overrides.dll
+OSGeo.FDO.Providers.SQLServerSpatial.Overrides.dll
+OSGeo.FDO.Providers.WMS.Overrides.dll
\ No newline at end of file

Copied: branches/2.4/MgDev/samples_exclude.txt (from rev 7082, branches/2.4/MgDev/Desktop/samples_exclude.txt)
===================================================================
--- branches/2.4/MgDev/samples_exclude.txt	                        (rev 0)
+++ branches/2.4/MgDev/samples_exclude.txt	2012-10-07 10:07:07 UTC (rev 7086)
@@ -0,0 +1,6 @@
+bin
+obj
+Lib
+.svn
+_svn
+.suo
\ No newline at end of file

Copied: branches/2.4/MgDev/viewer_package_excludes.txt (from rev 7082, branches/2.4/MgDev/Desktop/viewer_package_excludes.txt)
===================================================================
--- branches/2.4/MgDev/viewer_package_excludes.txt	                        (rev 0)
+++ branches/2.4/MgDev/viewer_package_excludes.txt	2012-10-07 10:07:07 UTC (rev 7086)
@@ -0,0 +1,48 @@
+Backup
+Logs
+Repositories
+FDO
+Dictionaries
+Resources
+Schema
+OSGeo.MapGuide.Desktop.dll
+OSGeo.MapGuide.Viewer.dll
+OSGeo.MapGuide.Viewer.Desktop.dll
+OSGeo.MapGuide.Viewer.xml
+MapGuideDesktopUnmanagedApi.dll
+Platform.ini
+gd.dll
+MgGwsCommon.dll
+MgGwsQueryEngine.dll
+MgGwsResource.dll
+MgDesktop.dll
+MgRenderers.dll
+MgStylization.dll
+ACE.dll
+FoundationUnmanagedApi.dll
+GeometryUnmanagedApi.dll
+GEOS.dll
+MgFoundation.dll
+MgGeometry.dll
+MgMdfModel.dll
+MgMdfParser.dll
+MgPlatformBase.dll
+OSGeo.MapGuide.Foundation.dll
+OSGeo.MapGuide.Geometry.dll
+OSGeo.MapGuide.PlatformBase.dll
+PlatformBaseUnmanagedApi.dll
+xerces-c_3_1mg.dll
+OSGeo.MapGuide.Desktop.dll
+OSGeo.MapGuide.Viewer.dll
+OSGeo.MapGuide.Viewer.Desktop.dll
+maestroapi.key
+DotNetHarness.exe
+DotNetHarness.exe.config
+DotNetUnitTest.exe
+DotNetUnitTest.exe.config
+MapViewerTest.exe
+MapViewerTest.exe.config
+SignMapGuideApi.exe
+UnitTest.exe
+Sheboygan.AppLayout
+MgAppLayout.exe
\ No newline at end of file



More information about the mapguide-commits mailing list