build-solutions task is acting very flacky, not consistent. Getting 'can't delete errors', maybe nant issue with delete task. adding sleep and deleting second time. reorders the build to do the main 2008 solution first.
This commit is contained in:
@@ -47,6 +47,8 @@ Rebuilding Solutions using Nant and "solutions.build":
|
||||
</items>
|
||||
</in>
|
||||
<do>
|
||||
<delete dir="${dirname}" failonerror="false"/>
|
||||
<sleep seconds="1"/>
|
||||
<delete dir="${dirname}" />
|
||||
</do>
|
||||
</foreach>
|
||||
@@ -84,6 +86,13 @@ Rebuilding Solutions using Nant and "solutions.build":
|
||||
</target>
|
||||
|
||||
<target name="RebuildAllSolutions-2.0" depends="Clean">
|
||||
<!-- build "main" solution -->
|
||||
|
||||
<property name="solutionfile" value="${root.dir}/Spring.NET.2008.sln" />
|
||||
<property name="solutionconfiguration" value="${buildconfiguration}" />
|
||||
<call target="RebuildSolution-2.0" />
|
||||
|
||||
|
||||
<foreach item="File" property="filename">
|
||||
<in>
|
||||
<items basedir="${root.dir}">
|
||||
@@ -92,8 +101,12 @@ Rebuilding Solutions using Nant and "solutions.build":
|
||||
<include name="examples/Spring/Spring.Data.NHibernate/Spring.Northwind.sln" />
|
||||
<!-- Does not build on bamboo server SPRNET-1283 -->
|
||||
<exclude name="examples/Spring/Spring.MsmqQuickStart/**/*.2005.sln"/>
|
||||
<!--
|
||||
<include name="*.2005.sln" />
|
||||
|
||||
-->
|
||||
<include name="*.2008.sln" />
|
||||
<exclude name="Spring.NET.2008.sln"/>
|
||||
</items>
|
||||
</in>
|
||||
<do>
|
||||
@@ -108,12 +121,6 @@ Rebuilding Solutions using Nant and "solutions.build":
|
||||
<property name="solutionfile" value="${root.dir}/Spring.NET.2005.sln" />
|
||||
<property name="solutionconfiguration" value="${buildconfiguration}" />
|
||||
<call target="RebuildSolution-2.0" />
|
||||
-->
|
||||
<!-- build "main" solution -->
|
||||
<!--
|
||||
<property name="solutionfile" value="${root.dir}/Spring.NET.2008.sln" />
|
||||
<property name="solutionconfiguration" value="${buildconfiguration}" />
|
||||
<call target="RebuildSolution-2.0" />
|
||||
-->
|
||||
</target>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user