Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Tool.hbm2net
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12079/src/NHibernate.Tool.hbm2net
Modified Files:
NHibernate.Tool.hbm2net.build
Log Message:
Updated build files for dynamically generating AssemblyInfo.cs files.
Index: NHibernate.Tool.hbm2net.build
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Tool.hbm2net/NHibernate.Tool.hbm2net.build,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** NHibernate.Tool.hbm2net.build 25 Jul 2004 11:41:03 -0000 1.1
--- NHibernate.Tool.hbm2net.build 10 Aug 2004 16:40:15 -0000 1.2
***************
*** 12,19 ****
--- 12,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" description="Tool to Generate Classes from hbm.xml files.">
+ <!-- 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="Tool to Generate Classes from hbm.xml files." />
+ <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
|