Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12079/src/NHibernate.Test
Modified Files:
NHibernate.Test.build
Log Message:
Updated build files for dynamically generating AssemblyInfo.cs files.
Index: NHibernate.Test.build
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NHibernate.Test.build,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** NHibernate.Test.build 25 Jul 2004 11:44:42 -0000 1.6
--- NHibernate.Test.build 10 Aug 2004 16:40:15 -0000 1.7
***************
*** 11,18 ****
* build.debug - (true|false) debug build?
* current.build.defines - framework-specific build defines
-->
<target name="build">
!
<csc
target="library"
--- 11,42 ----
* build.debug - (true|false) debug build?
* current.build.defines - framework-specific build defines
+ * project.version - full project version
+ * project.version.major - the major number of the build
+ * project.version.minor - the minor number of the build
+ * project.version.build - the build number
-->
<target name="build">
! <!-- ensure the AssemblyInfo is writable -->
! <attrib file="AssemblyInfo.cs" readonly="false" />
!
! <asminfo output="AssemblyInfo.cs" language="CSharp">
! <imports>
! <import name="System.Reflection" />
! <import name="System.Runtime.CompilerServices" />
! </imports>
! <attributes>
! <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" />
! <attribute type="AssemblyDescriptionAttribute" value="The Unit Tests for NHibernate." />
! <attribute type="AssemblyCompanyAttribute" value="nhibernate.sourceforge.net" />
! <attribute type="AssemblyProductAttribute" value="${nant.project.name}" />
! <attribute type="AssemblyCopyrightAttribute" value="Licensed under LGPL." />
! <attribute type="AssemblyVersionAttribute" value="${project.version}" />
! <attribute type="AssemblyInformationalVersionAttribute" value="${project.version.major}.${project.version.minor}" />
! <attribute type="AssemblyFileVersionAttribute" value="${project.version}" />
! <attribute type="AssemblyDelaySignAttribute" value="false" />
! </attributes>
! </asminfo>
!
<csc
target="library"
|