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

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sun Oct 7 02:27:53 PDT 2012


Author: jng
Date: 2012-10-07 02:27:53 -0700 (Sun, 07 Oct 2012)
New Revision: 7085

Added:
   branches/2.4/MgDev/Desktop/nuget/api-web/
   branches/2.4/MgDev/Desktop/nuget/api-web/content/
   branches/2.4/MgDev/Desktop/nuget/api-web/content/net40/
   branches/2.4/MgDev/Desktop/nuget/api-web/content/net40/mapguide-api-web/
   branches/2.4/MgDev/Desktop/nuget/api-web/lib/
   branches/2.4/MgDev/Desktop/nuget/api-web/lib/net40/
   branches/2.4/MgDev/Desktop/nuget/api-web/tools/
   branches/2.4/MgDev/Desktop/nuget/api-web/tools/net40/
   branches/2.4/MgDev/Desktop/nuget/mapguide-api-web.nuspec
Modified:
   branches/2.4/MgDev/Desktop/base_package_excludes.txt
   branches/2.4/MgDev/Desktop/desktop_package_excludes.txt
   branches/2.4/MgDev/Desktop/nuget/mapguide-api-base.nuspec
   branches/2.4/MgDev/Desktop/nuget_pack.bat
   branches/2.4/MgDev/Desktop/nuget_prepare.bat
Log:
Update nuget scripts to include the MapGuide Web API. This is to get the changes in before we move this folder out to its own top-level directory

Modified: branches/2.4/MgDev/Desktop/base_package_excludes.txt
===================================================================
--- branches/2.4/MgDev/Desktop/base_package_excludes.txt	2012-10-07 09:25:39 UTC (rev 7084)
+++ branches/2.4/MgDev/Desktop/base_package_excludes.txt	2012-10-07 09:27:53 UTC (rev 7085)
@@ -2,6 +2,8 @@
 Logs
 Repositories
 FDO
+Temp
+Dictionaries
 Resources
 Schema
 OSGeo.MapGuide.Desktop.dll
@@ -23,11 +25,15 @@
 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

Modified: branches/2.4/MgDev/Desktop/desktop_package_excludes.txt
===================================================================
--- branches/2.4/MgDev/Desktop/desktop_package_excludes.txt	2012-10-07 09:25:39 UTC (rev 7084)
+++ branches/2.4/MgDev/Desktop/desktop_package_excludes.txt	2012-10-07 09:27:53 UTC (rev 7085)
@@ -1,5 +1,7 @@
 Backup
 Logs
+Schema
+Temp
 Repositories
 Dictionaries
 ACE.dll
@@ -23,6 +25,9 @@
 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
@@ -30,4 +35,5 @@
 SignMapGuideApi.exe
 UnitTest.exe
 Sheboygan.AppLayout
+SampleExtension.dll
 MgAppLayout.exe
\ No newline at end of file


Property changes on: branches/2.4/MgDev/Desktop/nuget/api-web
___________________________________________________________________
Added: bugtraq:number
   + true


Property changes on: branches/2.4/MgDev/Desktop/nuget/api-web/content
___________________________________________________________________
Added: bugtraq:number
   + true


Property changes on: branches/2.4/MgDev/Desktop/nuget/api-web/content/net40
___________________________________________________________________
Added: bugtraq:number
   + true


Property changes on: branches/2.4/MgDev/Desktop/nuget/api-web/content/net40/mapguide-api-web
___________________________________________________________________
Added: bugtraq:number
   + true


Property changes on: branches/2.4/MgDev/Desktop/nuget/api-web/lib
___________________________________________________________________
Added: bugtraq:number
   + true


Property changes on: branches/2.4/MgDev/Desktop/nuget/api-web/lib/net40
___________________________________________________________________
Added: bugtraq:number
   + true


Property changes on: branches/2.4/MgDev/Desktop/nuget/api-web/tools
___________________________________________________________________
Added: bugtraq:number
   + true


Property changes on: branches/2.4/MgDev/Desktop/nuget/api-web/tools/net40
___________________________________________________________________
Added: bugtraq:number
   + true

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

Added: branches/2.4/MgDev/Desktop/nuget/mapguide-api-web.nuspec
===================================================================
(Binary files differ)


Property changes on: branches/2.4/MgDev/Desktop/nuget/mapguide-api-web.nuspec
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: branches/2.4/MgDev/Desktop/nuget_pack.bat
===================================================================
--- branches/2.4/MgDev/Desktop/nuget_pack.bat	2012-10-07 09:25:39 UTC (rev 7084)
+++ branches/2.4/MgDev/Desktop/nuget_pack.bat	2012-10-07 09:27:53 UTC (rev 7085)
@@ -3,4 +3,5 @@
 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

Modified: branches/2.4/MgDev/Desktop/nuget_prepare.bat
===================================================================
--- branches/2.4/MgDev/Desktop/nuget_prepare.bat	2012-10-07 09:25:39 UTC (rev 7084)
+++ branches/2.4/MgDev/Desktop/nuget_prepare.bat	2012-10-07 09:27:53 UTC (rev 7085)
@@ -6,26 +6,55 @@
 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=%CD%\nuget\api-base\content\%NUGET_TARGET%\mapguide-api-base
-SET NUGET_LIB_BASE=%CD%\nuget\api-base\lib\%NUGET_TARGET%
-SET NUGET_CONTENT_DESKTOP=%CD%\nuget\api-desktop\content\%NUGET_TARGET%\mg-desktop
-SET NUGET_LIB_DESKTOP=%CD%\nuget\api-desktop\lib\%NUGET_TARGET%
-SET NUGET_CONTENT_VIEWER=%CD%\nuget\api-desktop-viewer\content\%NUGET_TARGET%\mg-desktop-viewer
-SET NUGET_LIB_VIEWER=%CD%\nuget\api-desktop-viewer\lib\%NUGET_TARGET%
+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% "bin\%TYPEBUILD%\*" "%NUGET_CONTENT_BASE%" /EXCLUDE:package_excludes.txt+base_package_excludes.txt
-copy /y "bin\%TYPEBUILD%\OSGeo.MapGuide.Foundation.dll" "%NUGET_LIB_BASE%"
-copy /y "bin\%TYPEBUILD%\OSGeo.MapGuide.Geometry.dll" "%NUGET_LIB_BASE%"
-copy /y "bin\%TYPEBUILD%\OSGeo.MapGuide.PlatformBase.dll" "%NUGET_LIB_BASE%"
+%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% "bin\%TYPEBUILD%\*" "%NUGET_CONTENT_DESKTOP%" /EXCLUDE:package_excludes.txt+desktop_package_excludes.txt
-copy /y "bin\%TYPEBUILD%\OSGeo.MapGuide.Desktop.dll" "%NUGET_LIB_DESKTOP%"
+%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 "bin\%TYPEBUILD%\OSGeo.MapGuide.Viewer.xml" "%NUGET_LIB_VIEWER%"
-copy /y "bin\%TYPEBUILD%\OSGeo.MapGuide.Viewer.dll" "%NUGET_LIB_VIEWER%"
-copy /y "bin\%TYPEBUILD%\OSGeo.MapGuide.Viewer.Desktop.dll" "%NUGET_LIB_VIEWER%"
+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
 



More information about the mapguide-commits mailing list