Fixed build issues:
1. Changed default Spring.build target for Spring.Template.Velocity.Tests to test to prevent hiding of test failures in CC.net build 2. Added NVelocity.dll and resource embedding in build target Spring.Template.Velocity.Tests.build and changed default target to test 3. Removed tx xmlns from test VelocityEngineFactoryObjectTests.xml
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" ?>
|
||||
<project name="Spring.Template.Velocity.Tests" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
|
||||
<project name="Spring.Template.Velocity.Tests" default="test" xmlns="http://nant.sf.net/schemas/nant.xsd">
|
||||
<!--
|
||||
Required properties:
|
||||
* current.bin.dir - (path) root level to build to
|
||||
@@ -22,8 +22,12 @@
|
||||
</sources>
|
||||
<references basedir="${current.bin.dir}">
|
||||
<include name="*.dll" />
|
||||
<include name="Nvelocity.dll" />
|
||||
<exclude name="${project::get-name()}.dll" />
|
||||
</references>
|
||||
</references>
|
||||
<resources basedir="." prefix="Spring.Template.Velocity.Tests" dynamicprefix="true" failonempty="true">
|
||||
<include name="**/*.xml" />
|
||||
</resources>
|
||||
</csc>
|
||||
<copy todir="${current.bin.dir}">
|
||||
<fileset basedir="${project::get-name()}/Data">
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<objects xmlns="http://www.springframework.net"
|
||||
xmlns:tx="http://www.springframework.net/tx">
|
||||
<objects xmlns="http://www.springframework.net">
|
||||
<object id="velocityEngine" type="Spring.Template.Velocity.VelocityEngineFactoryObject, Spring.Template.Velocity">
|
||||
<property name="VelocityProperties">
|
||||
<dictionary key-type="string" value-type="object">
|
||||
|
||||
Reference in New Issue
Block a user