1
- <?xml version =" 1.0" ?>
2
- <project
3
- name=" NHibernate.Search"
4
- default=" build"
5
- description=" NHibernate Search - Integration with Lucene.NET"
6
- xmlns=" http://nant.sf.net/release/0.85-rc3/nant.xsd" >
7
-
8
- <property name =" framework.family" value =" ${framework::get-family(framework::get-target-framework())}" />
9
- <property name =" framework.version" value =" ${framework::get-version(framework::get-target-framework())}" />
10
-
11
- <property name =" folders.lib" value =" lib" />
12
- <property name =" folders.build" value =" build" />
13
-
14
-
15
- <target name =" clean" description =" aasd" >
16
- <delete dir =" ${folders.build}" failonerror =" false" />
17
- </target >
18
- <target name =" build" depends =" clean" >
19
- <mkdir dir =" ${folders.build}" />
20
-
21
- <csc target =" library"
22
- output =" ${folders.build}/NHibernate.Search.dll" >
23
- <nowarn >
24
- <warning number =" 1591" />
25
- <!-- No XML comment for publicly visible member -->
26
- </nowarn >
27
- <sources basedir =" src/NHibernate.Search" >
28
- <include name =" **/*.cs" />
29
- </sources >
30
- <references >
31
- <include name =" ${folders.lib}/NHibernate.dll" />
32
- <include name =" ${folders.lib}/Iesi.Collections.dll" />
33
- <include name =" ${folders.lib}/Lucene.Net.dll" />
34
- </references >
35
- <resources basedir =" src/NHibernate.Search" prefix =" NHibernate.Search" dynamicprefix =" true" >
36
- <include name =" **/*.xsd" />
37
- <exclude name =" **/bin/**/*.xsd" />
38
- <exclude name =" **/obj/**/*.xsd" />
39
- </resources >
40
- </csc >
41
-
42
- <csc target =" library"
43
- output =" ${folders.build}/NHibernate.Search.Tests.dll" >
44
- <nowarn >
45
- <warning number =" 1591" />
46
- <!-- No XML comment for publicly visible member -->
47
- </nowarn >
48
- <sources basedir =" src/NHibernate.Search.Tests" >
49
- <include name =" **/*.cs" />
50
- </sources >
51
- <references >
52
- <include name =" ${folders.lib}/NHibernate.dll" />
53
- <include name =" ${folders.lib}/NHibernate.ByteCode.Castle.dll" />
54
- <include name =" ${folders.lib}/log4net.dll" />
55
- <include name =" ${folders.lib}/nunit.framework.dll" />
56
- <include name =" ${folders.lib}/Iesi.Collections.dll" />
57
- <include name =" ${folders.lib}/Lucene.Net.dll" />
58
- <include name =" ${folders.build}/NHibernate.Search.dll" />
59
- </references >
60
- <resources basedir =" src/NHibernate.Search.Tests" prefix =" NHibernate.Search.Tests" dynamicprefix =" true" >
61
- <include name =" **/*.hbm.xml" />
62
- <exclude name =" **/bin/**/*.hbm.xml" />
63
- <exclude name =" **/obj/**/*.hbm.xml" />
64
- </resources >
65
- </csc >
66
-
67
- <copy file =" src/NHibernate.Search.Tests/App.config"
68
- tofile =" ${folders.build}/NHibernate.Search.Tests.dll.config"
69
- if =" ${file::exists('src/NHibernate.Search.Tests/App.config')}"
70
- />
71
-
72
- <copy todir =" build" flatten =" true" >
73
- <fileset >
74
- <include name =" ${folders.lib}/NHibernate.dll" />
75
- <include name =" ${folders.lib}/Antlr3.Runtime.dll" />
76
- <include name =" ${folders.lib}/Remotion.Data.Linq.dll" />
77
- <include name =" ${folders.lib}/NHibernate.ByteCode.Castle.dll" />
78
- <include name =" ${folders.lib}/NHibernate.DomainModel.dll" />
79
- <include name =" ${folders.lib}/Iesi.Collections.dll" />
80
- <include name =" ${folders.lib}/nunit.framework.dll" />
81
- <include name =" ${folders.lib}/Castle.Core.dll" />
82
- <include name =" ${folders.lib}/Lucene.Net.dll" />
83
- </fileset >
84
- </copy >
85
- </target >
86
-
87
- <target name =" test"
88
- depends=" build" >
89
- <nunit2 >
90
- <formatter type =" Xml"
91
- usefile =" true"
92
- extension =" .xml" />
93
- <test assemblyname =" ${folders.build}/NHibernate.Search.Tests.dll" />
94
- </nunit2 >
95
- </target >
96
-
1
+ <?xml version =" 1.0" ?>
2
+ <project
3
+ name=" NHibernate.Search"
4
+ default=" build"
5
+ description=" NHibernate Search - Integration with Lucene.NET"
6
+ xmlns=" http://nant.sourceforge.net/release/0.92/nant.xsd" >
7
+
8
+ <property name =" framework.family" value =" ${framework::get-family(framework::get-target-framework())}" />
9
+ <property name =" framework.version" value =" ${framework::get-version(framework::get-target-framework())}" />
10
+
11
+ <property name =" folders.lib" value =" lib" />
12
+ <property name =" folders.build" value =" build" />
13
+ <property name =" folders.packages" value =" src/packages" />
14
+
15
+
16
+ <target name =" clean" description =" aasd" >
17
+ <delete dir =" ${folders.build}" failonerror =" false" />
18
+ </target >
19
+ <target name =" build" depends =" clean" >
20
+ <mkdir dir =" ${folders.build}" />
21
+
22
+ <csc target =" library"
23
+ output =" ${folders.build}/NHibernate.Search.dll" >
24
+ <nowarn >
25
+ <warning number =" 1591" />
26
+ <warning number =" 0618" />
27
+ <warning number =" 0672" />
28
+ <!-- No XML comment for publicly visible member -->
29
+ </nowarn >
30
+ <sources basedir =" src/NHibernate.Search" >
31
+ <include name =" **/*.cs" />
32
+ </sources >
33
+ <references >
34
+ <include name =" ${folders.packages}/NHibernate.3.3.1.4000/lib/Net35/NHibernate.dll" />
35
+ <include name =" ${folders.packages}/Iesi.Collections.3.3.1.4000/lib/Net35/Iesi.Collections.dll" />
36
+ <include name =" ${folders.packages}/Lucene.Net.2.9.4.1/lib/net40/Lucene.Net.dll" />
37
+ <include name =" ${folders.packages}/SharpZipLib.0.86.0/lib/20/ICSharpCode.SharpZipLib.dll" />
38
+
39
+ </references >
40
+ <resources basedir =" src/NHibernate.Search" prefix =" NHibernate.Search" dynamicprefix =" true" >
41
+ <include name =" **/*.xsd" />
42
+ <exclude name =" **/bin/**/*.xsd" />
43
+ <exclude name =" **/obj/**/*.xsd" />
44
+ </resources >
45
+ </csc >
46
+
47
+ <csc target =" library"
48
+ output =" ${folders.build}/NHibernate.Search.Tests.dll" >
49
+ <nowarn >
50
+ <warning number =" 1591" />
51
+ <warning number =" 0618" />
52
+ <warning number =" 0672" />
53
+ <!-- No XML comment for publicly visible member -->
54
+ </nowarn >
55
+ <sources basedir =" src/NHibernate.Search.Tests" >
56
+ <include name =" **/*.cs" />
57
+ </sources >
58
+ <references >
59
+ <include name =" ${folders.packages}/NHibernate.3.3.1.4000/lib/Net35/NHibernate.dll" />
60
+ <include name =" ${folders.packages}/Iesi.Collections.3.3.1.4000/lib/Net35/Iesi.Collections.dll" />
61
+ <include name =" ${folders.packages}/Lucene.Net.2.9.4.1/lib/net40/Lucene.Net.dll" />
62
+ <include name =" ${folders.packages}/SharpZipLib.0.86.0/lib/20/ICSharpCode.SharpZipLib.dll" />
63
+ <include name =" ${folders.packages}/Log4net.2.0.0/lib/net40-full/log4net.dll" />
64
+ <include name =" ${folders.packages}/NUnit.2.6.0.12054/lib/nunit.framework.dll" />
65
+ <include name =" ${folders.build}/NHibernate.Search.dll" />
66
+
67
+ </references >
68
+ <resources basedir =" src/NHibernate.Search.Tests" prefix =" NHibernate.Search.Tests" dynamicprefix =" true" >
69
+ <include name =" **/*.hbm.xml" />
70
+ <exclude name =" **/bin/**/*.hbm.xml" />
71
+ <exclude name =" **/obj/**/*.hbm.xml" />
72
+ </resources >
73
+ </csc >
74
+
75
+ <copy file =" src/NHibernate.Search.Tests/App.config"
76
+ tofile =" ${folders.build}/NHibernate.Search.Tests.dll.config"
77
+ if =" ${file::exists('src/NHibernate.Search.Tests/App.config')}"
78
+ />
79
+
80
+ <copy todir =" build" flatten =" true" >
81
+ <fileset >
82
+ <include name =" ${folders.packages}/NHibernate.3.3.1.4000/lib/Net35/NHibernate.dll" />
83
+ <include name =" ${folders.packages}/Iesi.Collections.3.3.1.4000/lib/Net35/Iesi.Collections.dll" />
84
+ <include name =" ${folders.packages}/Lucene.Net.2.9.4.1/lib/net40/Lucene.Net.dll" />
85
+ <include name =" ${folders.packages}/SharpZipLib.0.86.0/lib/20/ICSharpCode.SharpZipLib.dll" />
86
+ </fileset >
87
+ </copy >
88
+ </target >
89
+
90
+ <target name =" test"
91
+ depends=" build" >
92
+ <nunit2 >
93
+ <formatter type =" Xml"
94
+ usefile =" true"
95
+ extension =" .xml" />
96
+ <test assemblyname =" ${folders.build}/NHibernate.Search.Tests.dll" />
97
+ </nunit2 >
98
+ </target >
99
+
97
100
</project >
0 commit comments