My favorites | Sign in
Project Logo
                
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
<?xml version="1.0" encoding="utf-8"?>
<project
name="tmapi4net"
default="build"
xmlns="http://nant.sf.net/release/0.86-beta1/nant.xsd"
>
<!-- CREDITS: this is mostly ripped from castleproject -->
<property name="root.dir" value="."/>
<include buildfile="${root.dir}/common.nant.xml" />

<fileset id="buildfiles.all">
<include name="src/core.build"/>
</fileset>

<target name="debug" description="Selects the debug build configuration">
<property name="project.config" value="debug" />
</target>
<target name="release" description="Selects the release build configuration">
<property name="project.config" value="release" />
</target>
<target name="quick" description="Speed up the build by skipping tests">
<property name="common.testrunner.enabled" value="false" />
</target>

<target name="build"
depends="init copy-referenced-assemblies"
>

<nant target="build">
<buildfiles refid="buildfiles.all"/>

</nant>


</target>


<target name="init" depends="common.init">
<mkdir dir="${build.dir}"/>
<mkdir dir="${testresults.dir}" />

<!--<call target="common.find-svninfo" />
<call target="common.find-nunit" if="${common.testrunner.enabled}" />
-->
</target>


<target name="copy-referenced-assemblies">
<!-- Copy framework-neutral libraries -->
<copy todir="${build.dir}" overwrite="true" >
<fileset basedir="${lib.dir}">
<include name="*.dll" />
<include name="*.xml" />
<include name="*.license.txt" />
</fileset>
</copy>

<!-- Copy family-specific libraries installed on the system-->
<copy file="${path::combine(nant::get-base-directory(), 'NAnt.Core.dll')}" todir="${lib.family.dir}" />

<!-- Copy family-specific libraries -->
<!--
The build of log4net works just fine for all versions of .NET.
When they do get framework specific extensions then we
can just move them to the framework specific section
-->
<copy todir="${build.dir}" overwrite="true">
<fileset basedir="${lib.family.dir}">
<include name="*.dll" />
<include name="*.xml" />
<include name="*.license.txt" />
</fileset>
</copy>

<!-- Copy libraries for this CLR version -->
<copy todir="${build.dir}" overwrite="true">
<fileset basedir="${lib.framework.clr.dir}">
<include name="*.dll" />
<include name="*.xml" />
<include name="*.license.txt" />
</fileset>
</copy>

<!-- Copy framework-specific libraries -->
<copy todir="${build.dir}" overwrite="true"
if="${lib.framework.dir != lib.framework.clr.dir}">
<fileset basedir="${lib.framework.dir}">
<include name="*.dll" />
<include name="*.xml" />
<include name="*.license.txt" />
</fileset>
</copy>
</target>

<target name="generate-assemblyinfo"
depends="init"
description="Generate AssemblyInfo files">

<property name="visual-studio" value="true" />
<nant target="generate-assemblyinfo">
<buildfiles refid="buildfiles.all" />
</nant>

</target>

</project>
Show details Hide details

Change log

r10 by smoothdeveloper on Aug 21, 2008   Diff
- splitting classlibraries and test
folders
- adding nant build for core project
(thanks to castle project sample)
- fixing warnings (mostly in xmldoc and
interface member overrides)
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 3077 bytes, 106 lines
Hosted by Google Code