@@ -113,13 +113,13 @@ Commandline Examples:
113113 <property name =" spring.nonredistdir" value =" ${spring.basedir}\..\..\nonredist" />
114114 <property name =" tool.dir" value =" ${project::get-base-directory()}\build-support\tools" />
115115 <property name =" nuget.exe" value =" ${tool.dir}\NuGet\NuGet.exe" />
116-
116+
117117 <!-- Support for Windows XP in other languages. In Portuguese, for example, is "c:\Arquivos de Programs"-->
118118 <property name =" programfiles" value =" C:\Program Files" />
119119 <property name =" programfilesx86" value =" C:\Program Files (x86)" />
120120 <property name =" programfiles" value =" ${environment::get-variable('ProgramFiles')}" failonerror =" false" />
121121 <property name =" programfilesx86" value =" ${environment::get-variable('ProgramFiles(x86)')}" failonerror =" false" />
122-
122+
123123 <!-- build SDK docs with NDoc -->
124124 <property name =" doc.sdk" value =" false" />
125125
@@ -139,7 +139,7 @@ Commandline Examples:
139139 <property name =" project.build.config" value =" debug" />
140140 <property name =" project.build.package" value =" false" />
141141 <property name =" project.build.sign" value =" false" overwrite =" false" />
142-
142+
143143 <property name =" test.withcoverage" value =" true" overwrite =" false" />
144144 <!-- what coverage tool to use: ncover or opencover -->
145145 <property name =" test.coverage.tool" value =" opencover" overwrite =" false" />
@@ -167,7 +167,7 @@ Commandline Examples:
167167
168168 <property name =" package.buildincrement" value =" 000" overwrite =" false" />
169169 <call target =" check-package.passedbuildincrement" />
170-
170+
171171 <sysinfo failonerror =" false" />
172172
173173 <property name =" project.company" value =" SpringSource" />
@@ -195,7 +195,7 @@ Commandline Examples:
195195 <property name =" package.buildincrement" value =" ${string::substring(package.passedbuildincrement, string::get-length(package.passedbuildincrement) -3, 3)}" overwrite =" true" />
196196 </if >
197197 </target >
198-
198+
199199 <!-- call target="set-framework-configuration"/ -->
200200 <call target =" set-user-overrides" />
201201
@@ -313,20 +313,20 @@ Commandline Examples:
313313 <call target="compile-build-3.5"/>
314314 <call target="compile-build-4.0"/>
315315 <call target="compile-build-4.5"/>
316-
316+
317317 <call target="compile-build-mono-2.0"/>
318318
319319 </target>
320320-->
321321
322322 <target name =" restore-nuget-packages" description =" Restores NuGet packages that solution(s) reference" >
323323
324- <exec
324+ <exec
325325 program =" ${nuget.exe}"
326- commandline =" restore .nuget/packages.config -SolutionDirectory ${spring.basedir}"
326+ commandline =" restore .nuget/packages.config -SolutionDirectory ${spring.basedir}"
327327 workingdir =" ${spring.basedir}"
328328 failonerror =" true" />
329-
329+
330330 <foreach item =" File" property =" filename" >
331331 <in >
332332 <items basedir =" ${spring.basedir}" >
@@ -380,17 +380,17 @@ Commandline Examples:
380380 <if test =" ${directory::exists(test.bin.dir) == false}" >
381381 <property name =" test.bin.dir" value =" ${path}/net461" />
382382 </if >
383-
383+
384384 <property name =" test.assemblyname" value =" ${string::substring(path, string::last-index-of(path, '\') + 1, string::get-length(path) - string::last-index-of(path, '\') - 1)}" />
385385 <property name =" test.assemblyfile" value =" ${test.assemblyname}.dll" />
386386 <property name =" test.assemblyname.tocover" value =" ${string::substring(test.assemblyname,0,string::last-index-of(test.assemblyname, '.Tests') )}" />
387387 <call target =" common.run-tests" />
388388 </do >
389- </foreach >
390-
389+ </foreach >
390+
391391 <!-- run .NET Core separately for now -->
392392 <call target =" compile-test-netcore" />
393-
393+
394394 <!-- build coverage summary -->
395395 <exec program =" ${tool.dir}/ncoverexplorer/ncoverexplorer.console.exe" workingdir =" ${current.bin.dir}" failonerror =" false" if =" ${test.coverage.tool == 'ncover' and test.withcoverage}" >
396396 <arg value =" /xml:" ${current.bin.dir}/TestCoverageSummary.xml" " />
@@ -428,18 +428,18 @@ Commandline Examples:
428428 <arg line =" test" />
429429 <arg line =" /nodeReuse:false" />
430430 <arg line =" -c ${current.build.config}" />
431- <arg line =" -f net5 .0" />
431+ <arg line =" -f net6 .0" />
432432 <arg line =" ${file}" />
433433 </exec >
434434 </do >
435- </foreach >
435+ </foreach >
436436 </target >
437-
437+
438438 <target name =" compile-net-4.5" description =" Builds .NET Framework 4.5 version"
439439 depends =" set-net-4.5-runtime-configuration, check-spring-basedir, restore-nuget-packages" >
440-
440+
441441 <property name =" test.withcoverage" value =" false" overwrite =" true" />
442-
442+
443443 <if test =" ${property::exists('mstest.exe')}" >
444444 <property name =" mstest.exe.current" value =" ${property::get-value('mstest.exe')}" />
445445 <!-- <property name="mstest.exe.current" value="${string::replace(property::get-value('mstest.exe'), 'Microsoft Visual Studio 10.0', 'Microsoft Visual Studio 9.0')}" /> -->
@@ -448,7 +448,7 @@ Commandline Examples:
448448 <property name =" vs-net.mstest.bin.dir.current" value =" ${property::get-value('vs-net.mstest.bin.dir')}" />
449449 <!-- <property name="vs-net.mstest.bin.dir.current" value="${string::replace(property::get-value('vs-net.mstest.bin.dir'), 'Microsoft Visual Studio 10.0', 'Microsoft Visual Studio 9.0')}" /> -->
450450 </if >
451-
451+
452452 <call target =" copykeys" if =" ${project.build.sign}" />
453453 <call target =" common.generate-assemblyinfo" />
454454
@@ -458,7 +458,7 @@ Commandline Examples:
458458 <property name =" build-msmq" value =" true" overwrite =" true" />
459459 <property name =" build-msmq-tests" value =" true" overwrite =" true" />
460460 <property name =" build-velocity" value =" true" overwrite =" true" />
461-
461+
462462 <property name =" lib.dir" value =" ${spring.basedir}/lib/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" />
463463 <if test =" ${nant.settings.currentframework == 'net-4.5'}" >
464464 <property name =" lib.dir" value =" ${spring.basedir}/lib/net/4.0" />
@@ -474,11 +474,11 @@ Commandline Examples:
474474 <!-- Specifying mandatory property in SDK 7-->
475475 <arg line =' /property:Platform="Any CPU"' />
476476 </exec >
477-
477+
478478 <call target =" copylibs" />
479479 <call target =" compile-test" />
480- </target >
481-
480+ </target >
481+
482482 <target name =" compile-mono-2.0" description =" Builds MONO Framework 2.0 version"
483483 depends =" set-mono-2.0-runtime-configuration, check-spring-basedir" >
484484 <call target =" copykeys" if =" ${project.build.sign}" />
@@ -538,7 +538,7 @@ Commandline Examples:
538538 <echo message =" Current lib20 dir = ${lib20.dir}" />
539539 <echo message =" Current lib dir = ${lib.dir}" />
540540 <mkdir dir =" ${lib.dir}" failonerror =" false" />
541-
541+
542542 <copy todir =" ${lib.dir}" verbose =" ${copy-verbose}" >
543543 <fileset basedir =" ${lib20.dir}" >
544544 <include name =" *.dll" />
@@ -549,15 +549,15 @@ Commandline Examples:
549549 </fileset >
550550 </copy >
551551 </target >
552-
552+
553553 <!-- Top level targets -->
554554 <!-- target for developers to do just debug build and test everything in CVS -->
555555 <target name =" test" description =" build and test" >
556556 <echo message =" Compiling debug configuration for all runtime configurations." />
557557 <property name =" nant.target.root.name" value =" build" />
558558 <call target =" build-all-function" />
559559 </target >
560-
560+
561561 <target name =" build-4.5" >
562562 <call target =" set-build-namespaces-release" />
563563 <echo message =" ------------------------" />
@@ -574,7 +574,7 @@ Commandline Examples:
574574 <call target =" set-release-build-configuration" />
575575 <call target =" compile-build-4.5" />
576576 </if >
577- </target >
577+ </target >
578578
579579 <target name =" build-mono-2.0" if =" false" >
580580
@@ -720,9 +720,9 @@ Commandline Examples:
720720 <!-- build all binaries -->
721721 <call target =" build-all-function" />
722722 <call target =" package-cvs" />
723-
723+
724724 <call target =" upload-cvs-release" />
725-
725+
726726 </target >
727727
728728 <target name =" build-all-function" description =" Build what is in cvs taking into account approrpiate clr versions and root target name" >
@@ -731,7 +731,7 @@ Commandline Examples:
731731 <call target =" build-solutions" />
732732
733733 </target >
734-
734+
735735 <target name =" daily-build-4.5" >
736736 <call target =" set-build-namespaces-all" />
737737 <call target =" set-package-configuration" />
@@ -826,13 +826,13 @@ Commandline Examples:
826826 <exec workingdir =" ${spring.basedir}" program =" cmd.exe" verbose =" true" >
827827 <arg value =" /c powershell-invoker .\s3-nightly-upload.ps1 -srcFolderPath ${package.dir} -srcFilename ${filetoupload}" />
828828 </exec >
829-
829+
830830 <echo message =" Deleting outdated files on AmazonS3..." />
831831 <exec workingdir =" ${spring.basedir}" program =" cmd.exe" verbose =" true" >
832832 <arg value =" /c powershell-invoker .\s3-nightly-delete-old-files.ps1 -leaveLatest 10" />
833833 </exec >
834834
835-
835+
836836 </target >
837837
838838 <target name =" package-release-files" depends =" set-package-configuration" >
@@ -1036,11 +1036,11 @@ Commandline Examples:
10361036 <include name =" */*/Spring.Data.NHibernate*.dll" />
10371037 <include name =" */*/Spring.Data.NHibernate*.xml" />
10381038 <include name =" */*/Spring.Data.NHibernate*.pdb" />
1039-
1039+
10401040 <include name =" */*/Spring.Web.dll" />
10411041 <include name =" */*/Spring.Web.xml" />
10421042 <include name =" */*/Spring.Web.pdb" />
1043-
1043+
10441044 <include name =" */*/Spring.Web.Mvc5.dll" />
10451045 <include name =" */*/Spring.Web.Mvc5.xml" />
10461046 <include name =" */*/Spring.Web.Mvc5.pdb" />
@@ -1087,7 +1087,7 @@ Commandline Examples:
10871087
10881088 </fileset >
10891089 </copy >
1090-
1090+
10911091 </if >
10921092
10931093 <if test =" ${property::exists('build.allnamespaces') and build.allnamespaces}" >
@@ -1285,16 +1285,16 @@ Commandline Examples:
12851285 <include name =" src/Spring/Spring.Testing.Microsoft/**" />
12861286 <include name =" src/Spring/CommonAssemblyInfo.cs" />
12871287 <include name =" src/Spring/Spring.Web.Conversation.NHibernate5/**" />
1288-
1288+
12891289 <include name =" test/Spring/Spring.Core.Tests/**" />
12901290 <include name =" test/Spring/Spring.Aop.Tests/**" />
12911291 <include name =" test/Spring/Spring.Web.Tests/**" />
12921292 <include name =" test/Spring/Spring.Web.Mvc5.Tests/**" />
12931293 <include name =" test/Spring/Spring.Services.Tests/**" />
12941294 <include name =" test/Spring/Spring.Data.Tests/**" />
12951295 <include name =" test/Spring/Spring.Data.Integration.Tests/**" />
1296- <include name =" test/Spring/Spring.Data.NHibernate5.Integration.Tests/**" />
1297- <include name =" test/Spring/Spring.Data.NHibernate5.NestedTxSuspension.Integration.Tests/**" />
1296+ <include name =" test/Spring/Spring.Data.NHibernate5.Integration.Tests/**" />
1297+ <include name =" test/Spring/Spring.Data.NHibernate5.NestedTxSuspension.Integration.Tests/**" />
12981298 <include name =" test/Spring/Spring.Data.NHibernate5.Tests/**" />
12991299 <include name =" test/Spring/Spring.Messaging.Tests/**" />
13001300 <include name =" test/Spring/Spring.Messaging.Nms.Tests/**" />
@@ -1306,7 +1306,7 @@ Commandline Examples:
13061306 <include name =" test/Spring/Spring.Testing.Microsoft.Tests/**" />
13071307 <include name =" test/Spring/CommonAssemblyInfo.cs" />
13081308 <include name =" test/Spring/Spring.Web.Conversation.NHibernate5.Tests/**" />
1309-
1309+
13101310 <include name =" examples/Spring/Spring.Examples.build" />
13111311 <include name =" examples/Spring/Spring.AopQuickStart/**" />
13121312 <include name =" examples/Spring/Spring.DataQuickStart/**" />
@@ -1371,44 +1371,44 @@ Commandline Examples:
13711371 </properties >
13721372 </nant >
13731373 </target >
1374-
1375-
1374+
1375+
13761376 <target name =" check-nuget-package-dir" >
13771377 <fail message =" The NuGet package directory has not been specified."
13781378 if =" ${not property::exists('nuget.package.dir')}" />
13791379 <!-- <mkdir dir="${nuget.package.dir}"/> -->
13801380 </target >
1381-
1382-
1381+
1382+
13831383<target name =" clean-nuget-package-dir" depends =" check-nuget-package-dir" description =" Cleans the NuGet package directory" >
13841384 <echo message =" Cleaning the ${nuget.package.dir} NuGet package directory." />
1385-
1385+
13861386 <delete failonerror =" false" if =" ${directory::exists(nuget.package.dir)}" >
13871387 <fileset basedir =" ${nuget.package.dir}" >
1388- <include name =" *.nupkg" />
1389- </fileset >
1390- </delete >
1391-
1388+ <include name =" *.nupkg" />
1389+ </fileset >
1390+ </delete >
1391+
13921392 <mkdir dir =" ${nuget.package.dir}" if =" ${directory::exists(nuget.package.dir)}" />
13931393 </target >
13941394
13951395<target name =" set-nuget-package-version" >
13961396
13971397 <!-- assume version of nuget package matches version of assemblies contained within it -->
13981398 <property name =" nuget.package.version" value =" ${package.version}" />
1399-
1399+
14001400 <!-- if suffix is passed in, use it -->
14011401 <property name =" nuget.package.version" value =" ${package.version + '-' + nuget.version.suffix}" if =" ${property::exists('nuget.version.suffix')}" />
14021402
14031403</target >
1404-
1404+
14051405<target name =" package-nuget" depends =" set-nuget-package-version,update-nuspec-metadata" >
14061406
14071407 <property name =" nuget.package.dir" value =" ${spring.basedir}\nuget-packages" />
1408-
1408+
14091409 <call target =" clean-nuget-package-dir" />
14101410 <call target =" check-package-version" />
1411-
1411+
14121412 <foreach item =" File" property =" filename" >
14131413 <in >
14141414 <items basedir =" ${spring.basedir}/src/Spring" >
@@ -1417,7 +1417,7 @@ Commandline Examples:
14171417 </items >
14181418 </in >
14191419 <do >
1420- <echo message =" Generating NuGet Package from nuspec file: ${filename}" />
1420+ <echo message =" Generating NuGet Package from nuspec file: ${filename}" />
14211421 <exec program =" dotnet" verbose =" true" >
14221422 <arg value =" pack" />
14231423 <arg value =" -c" />
@@ -1432,7 +1432,7 @@ Commandline Examples:
14321432 </foreach >
14331433</target >
14341434
1435- <target name =" update-nuspec-metadata" depends =" set-nuget-package-version" >
1435+ <target name =" update-nuspec-metadata" depends =" set-nuget-package-version" >
14361436</target >
14371437
14381438
0 commit comments