From: Michael D. <mik...@us...> - 2004-07-23 15:46:41
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32467 Modified Files: hibernate.cfg.xml NHibernate.Test-1.1.csproj NHibernate.Test.build Log Message: updated build file and csproj to copy the ABC.hbm.xml to the bin directory so NHibernate can easily load the file. Index: NHibernate.Test.build =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NHibernate.Test.build,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** NHibernate.Test.build 23 Jul 2004 14:51:15 -0000 1.4 --- NHibernate.Test.build 23 Jul 2004 15:46:32 -0000 1.5 *************** *** 41,44 **** --- 41,48 ---- tofile="${build.dir}/bin/hibernate.cfg.xml" /> + <copy + file="../NHibernate.DomainModel/ABC.hbm.xml" + tofile="${build.dir}/bin/ABC.hbm.xml" + /> </target> Index: hibernate.cfg.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/hibernate.cfg.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** hibernate.cfg.xml 12 Jul 2004 02:26:29 -0000 1.2 --- hibernate.cfg.xml 23 Jul 2004 15:46:31 -0000 1.3 *************** *** 11,15 **** <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property> <!-- mapping files --> ! <mapping file="../../../NHibernate.DomainModel/ABC.hbm.xml" /> </session-factory> --- 11,15 ---- <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property> <!-- mapping files --> ! <mapping file="ABC.hbm.xml" /> </session-factory> Index: NHibernate.Test-1.1.csproj =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NHibernate.Test-1.1.csproj,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** NHibernate.Test-1.1.csproj 23 Jul 2004 14:51:14 -0000 1.30 --- NHibernate.Test-1.1.csproj 23 Jul 2004 15:46:32 -0000 1.31 *************** *** 17,21 **** DelaySign = "false" OutputType = "Library" ! PreBuildEvent = 'copy /y "$(ProjectDir)App.config" "$(TargetPath).config"
copy /y "$(ProjectDir)hibernate.cfg.xml" "hibernate.cfg.xml"' PostBuildEvent = "" RootNamespace = "NHibernate.Test" --- 17,21 ---- DelaySign = "false" OutputType = "Library" ! PreBuildEvent = 'copy /y "$(ProjectDir)App.config" "$(TargetPath).config"
copy /y "$(ProjectDir)hibernate.cfg.xml" "hibernate.cfg.xml"
copy /y "..\..\..\NHibernate.DomainModel\ABC.hbm.xml" "ABC.hbm.xml"' PostBuildEvent = "" RootNamespace = "NHibernate.Test" |