SPRNET-1443
-fixing build script to properly support MVC3 and MVC3 tests
This commit is contained in:
48
src/Spring/Spring.Web.Mvc3/Spring.Web.Mvc3.build
Normal file
48
src/Spring/Spring.Web.Mvc3/Spring.Web.Mvc3.build
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" ?>
|
||||
<project name="Spring.Web.Mvc3" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
|
||||
<!--
|
||||
Required properties:
|
||||
* current.bin.dir - (path) root level to build to
|
||||
* current.build.debug - (true|false) debug build?
|
||||
* current.build.defines.csc - framework-specific build defines for C# compiler
|
||||
-->
|
||||
<target name="build">
|
||||
<!-- build Spring.Web.Mvc -->
|
||||
<csc target="library" define="${current.build.defines.csc}"
|
||||
warnaserror="true"
|
||||
optimize="${build.optimize}"
|
||||
debug="${current.build.debug}"
|
||||
output="${current.bin.dir}/${project::get-name()}.dll"
|
||||
doc="${current.bin.dir}/${project::get-name()}.xml"
|
||||
>
|
||||
<arg line="${compiler.args}"/>
|
||||
<nowarn>
|
||||
<warning number="${nowarn.numbers},0108,0114,0612,0109" />
|
||||
<warning number="${nowarn.numbers},1591" if="${nant.settings.currentframework=='mono-2.0'}"/>
|
||||
</nowarn>
|
||||
<sources failonempty="true">
|
||||
<include name="**/*.cs" />
|
||||
<include name="../GenCommonAssemblyInfo.cs" />
|
||||
</sources>
|
||||
<resources basedir="Resources">
|
||||
<include name="**/*" />
|
||||
</resources>
|
||||
<references basedir="${current.bin.dir}">
|
||||
<include name="Common.Logging.dll"/>
|
||||
<include name="antlr.runtime.dll" />
|
||||
<include name="Spring.Core.dll" />
|
||||
<include name="Spring.Aop.dll" />
|
||||
<include name="System.Configuration.dll" />
|
||||
<include name="System.Web.dll" />
|
||||
<include name="System.Web.Routing.dll"/>
|
||||
<include name="System.Web.Abstractions.dll"/>
|
||||
<include name="System.Web.Services.dll" />
|
||||
|
||||
<include name="C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies\System.Web.Mvc.dll" />
|
||||
<include name="C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies\System.Web.Mvc.dll" />
|
||||
|
||||
<include name="System.Web.ApplicationServices.dll" />
|
||||
</references>
|
||||
</csc>
|
||||
</target>
|
||||
</project>
|
||||
24
src/Spring/Spring.Web.Mvc3/Spring.Web.Mvc3.nuspec
Normal file
24
src/Spring/Spring.Web.Mvc3/Spring.Web.Mvc3.nuspec
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Spring.Web.Mvc3</id>
|
||||
<projectUrl>http://www.springframework.net/</projectUrl>
|
||||
<licenseUrl>http://www.springframework.net/license.html</licenseUrl>
|
||||
<iconUrl>http://springframework.net/images/SpringSource_Leaves32x32.png</iconUrl>
|
||||
<version>0.0.0</version>
|
||||
<!-- this value is a placeholder replaced by build script -->
|
||||
<authors>SpringSource</authors>
|
||||
<description>Interfaces and classes that provide ASP.NET MVC3 application support in Spring.Net</description>
|
||||
<summary>Interfaces and classes that provide ASP.NET MVC3 application support in Spring.Net</summary>
|
||||
<language>en-US</language>
|
||||
<dependencies>
|
||||
<dependency id="Common.Logging" version="1.2.0" />
|
||||
<dependency id="Spring.Core" version="1.3.1" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="..\..\..\build\net\4.0\release\Spring.Web.Mvc3.dll" target="lib\net40" />
|
||||
<file src="..\..\..\build\net\4.0\release\Spring.Web.Mvc3.pdb" target="lib\net40" />
|
||||
<file src="..\..\..\build\net\4.0\release\Spring.Web.Mvc3.xml" target="lib\net40" />
|
||||
</files>
|
||||
</package>
|
||||
Reference in New Issue
Block a user