[mapguide-commits] r6983 - branches/2.4/MgDev/Desktop

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Sep 4 07:34:20 PDT 2012


Author: jng
Date: 2012-09-04 07:34:20 -0700 (Tue, 04 Sep 2012)
New Revision: 6983

Added:
   branches/2.4/MgDev/Desktop/base_package_excludes.txt
   branches/2.4/MgDev/Desktop/desktop_package_excludes.txt
   branches/2.4/MgDev/Desktop/nuget_pack.bat
   branches/2.4/MgDev/Desktop/viewer_package_excludes.txt
Modified:
   branches/2.4/MgDev/Desktop/nuget_prepare.bat
Log:
Modify nuget scripts to handle the new sub-package layout

Added: branches/2.4/MgDev/Desktop/base_package_excludes.txt
===================================================================
--- branches/2.4/MgDev/Desktop/base_package_excludes.txt	                        (rev 0)
+++ branches/2.4/MgDev/Desktop/base_package_excludes.txt	2012-09-04 14:34:20 UTC (rev 6983)
@@ -0,0 +1,33 @@
+Backup
+Logs
+Repositories
+FDO
+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
+DotNetUnitTest.exe
+DotNetUnitTest.exe.config
+MapViewerTest.exe
+MapViewerTest.exe.config
+SignMapGuideApi.exe
+UnitTest.exe
+Sheboygan.AppLayout
+MgAppLayout.exe
\ No newline at end of file

Added: branches/2.4/MgDev/Desktop/desktop_package_excludes.txt
===================================================================
--- branches/2.4/MgDev/Desktop/desktop_package_excludes.txt	                        (rev 0)
+++ branches/2.4/MgDev/Desktop/desktop_package_excludes.txt	2012-09-04 14:34:20 UTC (rev 6983)
@@ -0,0 +1,33 @@
+Backup
+Logs
+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
+DotNetUnitTest.exe
+DotNetUnitTest.exe.config
+MapViewerTest.exe
+MapViewerTest.exe.config
+SignMapGuideApi.exe
+UnitTest.exe
+Sheboygan.AppLayout
+MgAppLayout.exe
\ No newline at end of file

Added: branches/2.4/MgDev/Desktop/nuget_pack.bat
===================================================================
--- branches/2.4/MgDev/Desktop/nuget_pack.bat	                        (rev 0)
+++ branches/2.4/MgDev/Desktop/nuget_pack.bat	2012-09-04 14:34:20 UTC (rev 6983)
@@ -0,0 +1,6 @@
+ 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
+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-09-04 14:33:10 UTC (rev 6982)
+++ branches/2.4/MgDev/Desktop/nuget_prepare.bat	2012-09-04 14:34:20 UTC (rev 6983)
@@ -6,19 +6,26 @@
 rem You must call setenvironment[64].bat first with any appropriate
 rem parameters before calling this script
 
-IF "%NUGET_TARGET%" == "" SET NUGET_TARGET=net40
-SET NUGET_CONTENT=%CD%\nuget\%NUGET_TARGET%\content\%NUGET_TARGET%\mg-desktop
-SET NUGET_LIB=%CD%\nuget\%NUGET_TARGET%\lib\%NUGET_TARGET%
+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%
 
-echo [install]: Copy files to nuget staging
-%XCOPY% "bin\%TYPEBUILD%\FDO" "%NUGET_CONTENT%\FDO" /EXCLUDE:package_excludes.txt
-%XCOPY% "bin\%TYPEBUILD%\Dictionaries" "%NUGET_CONTENT%\Dictionaries" /EXCLUDE:package_excludes.txt
-%XCOPY% "bin\%TYPEBUILD%\Resources" "%NUGET_CONTENT%\Resources" /EXCLUDE:package_excludes.txt
-%XCOPY% "bin\%TYPEBUILD%\Schema" "%NUGET_CONTENT%\Schema" /EXCLUDE:package_excludes.txt
-xcopy /y "bin\%TYPEBUILD%\*.dll" "%NUGET_CONTENT%" /EXCLUDE:dll_excludes.txt
-copy /y "bin\%TYPEBUILD%\Platform.ini" "%NUGET_CONTENT%"
-copy /y "bin\%TYPEBUILD%\OSGeo.*.dll" "%NUGET_LIB%"
-copy /y "bin\%TYPEBUILD%\OSGeo.MapGuide.Viewer.xml" "%NUGET_LIB%"
+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%"
+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%"
+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%"
 echo mg-desktop is ready for nuget packaging and publishing
 goto quit
 

Added: branches/2.4/MgDev/Desktop/viewer_package_excludes.txt
===================================================================
--- branches/2.4/MgDev/Desktop/viewer_package_excludes.txt	                        (rev 0)
+++ branches/2.4/MgDev/Desktop/viewer_package_excludes.txt	2012-09-04 14:34:20 UTC (rev 6983)
@@ -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