-
Notifications
You must be signed in to change notification settings - Fork 925
/
sample build commands.txt
48 lines (39 loc) · 1.39 KB
/
sample build commands.txt
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
##
## This file contains sample commands to build NHibernate using the build files.
## It should be run from the nhibernate directory that contains the
## NHibernateSolution.build file.
##
## If you are going to run the Test make sure to set the connection information.
##
##
NAnt -D:project.config=release clean build >output-release-build.log
NAnt clean build >output-debug-build.log
NAnt -D:project.config=release -D:nhibernate.dialect="NHibernate.Dialect.MsSql2000Dialect" -D:nhibernate.connection.driver_class="NHibernate.Driver.SqlClientDriver" -D:nhibernate.connection.connection_string="Server=localhost;initial catalog=nhibernate;User ID=blah;Password=blah;Min Pool Size=2" clean package >output-release-package.log
## You can exclude certain modules from being built by setting following properties to false
##
## with.caches (Will disable building all caches)
## with.syscache
## with.syscache2
## with.memcache
## with.prevalence
## with.tasks
## with.mapping
## with.search
## with.ora.types
## with.sql.types
## with.tools
## with.jet
## with.examples
## with.validator
##
## - or -
##
## You can set with.core.only=true and then add the modules you want by
## specifiy true instead of false.
##
## Build Everything But Jet
NAnt -D:with.jet=false
## Build Only The Core
NAnt -D:with.core.only=true
## Build SysCache2, and Search
NAnt -D:with.core.only=true -D:with.syscache2=true -D:with.search=true