-
Notifications
You must be signed in to change notification settings - Fork 10
/
nginn-messagebus.build
137 lines (126 loc) · 5.92 KB
/
nginn-messagebus.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<project name="NGinn-MessageBus" default="build" basedir=".">
<property name="build_dir" value="build/${nant.settings.currentframework}" />
<property name="libdir" value="extlib" />
<property name="debug" value="Full" />
<property name="def" value="DOTNET_4_0" />
<if test="${nant.settings.currentframework=='net-3.5'}">
<echo message="3.5 build" />
<property name="def" value="DOTNET_3_5" />
</if>
<target name="build" depends="NGinnBPM.ServiceHost">
</target>
<target name="clean">
<delete dir="${build_dir}" />
</target>
<target name="prepare">
<mkdir dir="${build_dir}" />
<copy todir="${build_dir}">
<fileset basedir="extlib">
<include name="Castle.*" />
<include name="NLog.*" />
<include name="MongoDB.*.dll" />
<include name="Newtonsoft.Json.dll" />
</fileset>
</copy>
<copy todir="${build_dir}">
<fileset basedir="extlib/${nant.settings.currentframework}">
<include name="*.dll" />
</fileset>
</copy>
</target>
<target name="NGinnBPM.MessageBus" depends="prepare">
<csc target="library" output="${build_dir}/NGinnBPM.MessageBus.dll" debug="true" define="${def}">
<references>
<include name="${build_dir}/NLog.dll" />
<include name="${build_dir}/Newtonsoft.Json.dll" />
<include name="System.Data.dll" />
<include name="System.Net.dll" />
<include name="System.Runtime.Serialization.dll" />
<include name="System.Messaging.dll" />
</references>
<sources basedir="NGinnBPM.MessageBus">
<include name="**/*.cs" />
</sources>
<resources basedir="NGinnBPM.MessageBus" prefix="NGinnBPM.MessageBus" dynamicprefix="true">
<include name="StaticRC/index.htm" />
<include name="*.sql" />
<include name="Impl/SqlQueue/*.json" />
</resources>
</csc>
</target>
<target name="NGinnBPM.MessageBus.Windsor" depends="NGinnBPM.MessageBus">
<csc target="library" output="${build_dir}/NGinnBPM.MessageBus.Windsor.dll" debug="true" define="${def}">
<references>
<include name="${build_dir}/NLog.dll" />
<include name="${build_dir}/Newtonsoft.Json.dll" />
<include name="${build_dir}/Castle.Core.dll" />
<include name="${build_dir}/Castle.Windsor.dll" />
<include name="${build_dir}/NGinnBPM.MessageBus.dll" />
<include name="System.Data.dll" />
<include name="System.Net.dll" />
<include name="System.Runtime.Serialization.dll" />
<include name="System.Messaging.dll" />
</references>
<sources basedir="NGinnBPM.MessageBus.Windsor">
<include name="**/*.cs" />
</sources>
</csc>
</target>
<target name="NGinnBPM.MessageBus.Mongo" depends="NGinnBPM.MessageBus">
<csc target="library" output="${build_dir}/NGinnBPM.MessageBus.Mongo.dll" debug="true" define="${def}">
<references>
<include name="${build_dir}/NLog.dll" />
<include name="${build_dir}/Newtonsoft.Json.dll" />
<include name="${build_dir}/MongoDB.Driver.dll" />
<include name="${build_dir}/MongoDB.Bson.dll" />
<include name="${build_dir}/NGinnBPM.MessageBus.dll" />
<include name="System.Data.dll" />
<include name="System.Net.dll" />
</references>
<sources basedir="NGinnBPM.MessageBus.Mongo">
<include name="**/*.cs" />
</sources>
</csc>
</target>
<target name="NGinnBPM.MessageBus.Mongo.Windsor" depends="NGinnBPM.MessageBus.Mongo, NGinnBPM.MessageBus.Windsor">
<csc target="library" output="${build_dir}/NGinnBPM.MessageBus.Mongo.Windsor.dll" debug="true" define="${def}">
<references>
<include name="${build_dir}/NLog.dll" />
<include name="${build_dir}/MongoDB.Driver.dll" />
<include name="${build_dir}/MongoDB.Bson.dll" />
<include name="${build_dir}/Castle.Core.dll" />
<include name="${build_dir}/Castle.Windsor.dll" />
<include name="${build_dir}/NGinnBPM.MessageBus.dll" />
<include name="${build_dir}/NGinnBPM.MessageBus.Windsor.dll" />
<include name="${build_dir}/NGinnBPM.MessageBus.Mongo.dll" />
<include name="System.Data.dll" />
<include name="System.Net.dll" />
</references>
<sources basedir="NGinnBPM.MessageBus.Mongo.Windsor">
<include name="**/*.cs" />
</sources>
</csc>
</target>
<target name="NGinnBPM.ServiceHost" depends="NGinnBPM.MessageBus.Windsor">
<csc target="exe" output="${build_dir}/NGinnBPM.ServiceHost.exe" debug="true" define="${def}">
<references>
<include name="${build_dir}/NLog.dll" />
<include name="${build_dir}/Newtonsoft.Json.dll" />
<include name="${build_dir}/Castle.Core.dll" />
<include name="${build_dir}/Castle.Windsor.dll" />
<include name="System.Data.dll" />
<include name="System.Net.dll" />
<include name="System.Runtime.Serialization.dll" />
<include name="System.Messaging.dll" />
<include name="${build_dir}/NGinnBPM.MessageBus.dll" />
<include name="${build_dir}/NGinnBPM.MessageBus.Windsor.dll" />
</references>
<sources basedir="NGinnBPM.ServiceHost">
<include name="**/*.cs" />
</sources>
<resources basedir="NGinnBPM.ServiceHost" prefix="NGinnBPM.ServiceHost" dynamicprefix="true">
<include name="*.resx" />
</resources>
</csc>
</target>
</project>