Author: roberto
Date: Sat Jul 23 10:16:20 2005
New Revision: 224481
URL: http://svn.apache.org/viewcvs?rev=224481&view=rev
Log:
~Updated C# NAnt build files for resource locations (embedded stream and
binary/image NUnit tests)
Modified:
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/IBatisNet.DataMapper.Test.build
ibatis/trunk/cs/mapper/iBATIS.build
Modified:
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/IBatisNet.DataMapper.Test.build
URL:
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/IBatisNet.DataMapper.Test.build?rev=224481&r1=224480&r2=224481&view=diff
==============================================================================
---
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/IBatisNet.DataMapper.Test.build
(original)
+++
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/IBatisNet.DataMapper.Test.build
Sat Jul 23 10:16:20 2005
@@ -24,13 +24,16 @@
<include name="properties.xml" />
<exclude name="bin/**/*.xml" />
</resources>
+ <resources prefix="IBatisNet.DataMapper.Test.bin.Debug">
+ <include name="bin/**/SqlMap_MSSQL_SqlClient.config" />
+ </resources>
<references basedir="${build.dir}/${project.config}/bin">
<include name="*.dll"/>
<exclude name="${nant.project.name}.dll"/>
</references>
</csc>
- <copy todir="${build.dir}">
+ <copy todir="${build.dir}/${project.config}/bin">
<fileset basedir="${nant.project.basedir}">
<include name="*.config" />
<include name="*.jpg" />
Modified: ibatis/trunk/cs/mapper/iBATIS.build
URL:
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/iBATIS.build?rev=224481&r1=224480&r2=224481&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/iBATIS.build (original)
+++ ibatis/trunk/cs/mapper/iBATIS.build Sat Jul 23 10:16:20 2005
@@ -325,15 +325,15 @@
<property
name="current.runtime.${current.runtime.config}-${current.runtime.version}"
value="true" />
</target>
<target name="set-runtime-configuration">
- <ifnot propertyexists="current.runtime.config">
- <ifnot propertyexists="nant.settings.currentframework">
+ <if test="${property::exists('current.runtime.config')}">
+ <if test="${property::exists('nant.settings.currentframework')}">
<fail message="No runtime configuration was specified and the
default NAnt runtime is not available." />
- </ifnot>
- <ifnot
targetexists="set-${nant.settings.currentframework}-runtime-configuration">
+ </if>
+ <if
test="${target::exists('set-${nant.settings.currentframework}-runtime-configuration')}">
<fail message="No runtime configuration was specified and the
current runtime (${nant.settings.currentframework}) is not supported by NAnt."
/>
- </ifnot>
+ </if>
<call
target="set-${nant.settings.currentframework}-runtime-configuration"/>
- </ifnot>
+ </if>
<ifnot propertyexists="current.runtime.version">
<ifnot propertyexists="nant.settings.currentframework">
<fail message="No runtime configuration was specified and the
default NAnt runtime is not available." />