|
25 | 25 | <property name="nant-version.current" value="${assemblyname::get-version(assembly::get-name(nant::get-assembly()))}" />
|
26 | 26 | <property name="nant-version.required" value="0.91.4312.0" /> <!-- Nant 0.91 release version -->
|
27 | 27 |
|
28 |
| - <!-- |
29 |
| - Path to the folder that contain the external assemblies. For net-2.0 the values will |
30 |
| - be lib, lib/net, and lib/net/2.0 respectively. |
31 |
| - --> |
| 28 | + <!-- Path to the folder that contain the external assemblies --> |
32 | 29 | <property name="lib.dir" value="lib" dynamic="true" />
|
33 |
| - <property name="lib.family.dir" value="${path::combine(lib.dir, framework::get-family(framework::get-target-framework()))}" dynamic="true" /> |
34 |
| - <property name="lib.framework.dir" value="${path::combine(lib.family.dir, version::to-string(framework::get-version()))}" dynamic="true" /> |
35 | 30 |
|
36 | 31 | <!-- This is used only for build folder -->
|
37 | 32 | <!-- TODO: Either remove or refactor to use NHibernate.props -->
|
38 | 33 | <property name="project.version" value="5.0.0" overwrite="false" />
|
39 | 34 | <property name="project.version.numeric" value="5.0.0" overwrite="false" />
|
40 | 35 |
|
41 |
| - <!-- debug|release --> |
42 |
| - <property name="build.defines" value="" /> |
43 |
| - |
44 |
| - <!-- platform specific properties. These are the defaults --> |
45 |
| - <property name="current.build.defines" value="${build.defines}" /> |
46 |
| - |
47 | 36 | <!-- properties used to connect to database for testing -->
|
48 | 37 | <include buildfile="nhibernate-properties.xml" />
|
49 | 38 |
|
|
70 | 59 |
|
71 | 60 | <property name="build.root.dir" value="${root.dir}/build/${build.name}" />
|
72 | 61 | <property name="build.dir" value="${build.root.dir}" />
|
73 |
| - <property name="bin.dir" value="${build.dir}/bin/${nant.settings.currentframework}" /> |
| 62 | + <property name="bin.dir" value="${build.dir}/bin" /> |
74 | 63 | <property name="testresults.dir" value="${bin.dir}/test-results" />
|
75 | 64 | <property name="tools.dir" value="${root.dir}/Tools"/>
|
76 | 65 | </target>
|
77 |
| - |
78 |
| - |
79 |
| - |
80 |
| - <target name="set-framework-configuration"> |
81 |
| - <if test="${not(target::exists('set-'+framework::get-target-framework()+'-framework-configuration'))}"> |
82 |
| - <fail message="The '${framework::get-target-framework()}' framework is not supported by this version of NHibernate." /> |
83 |
| - </if> |
84 |
| - <call target="set-${framework::get-target-framework()}-framework-configuration" /> |
85 |
| - </target> |
86 |
| - |
87 |
| - <target name="set-net-4.0-framework-configuration"> |
88 |
| - <property name="nant.settings.currentframework" value="net-4.0" /> |
89 |
| - <property name="current.build.defines" value="${build.defines}NET,NET_2_0,NET_3_5,NET_4_0" /> |
90 |
| - <!-- not using SDK_v2_0 because ndoc throws an exception --> |
91 |
| - <property name="link.sdkdoc.version" value="SDK_v1_1" /> |
92 |
| - <!-- merge should work with 4.0 when compiling for 4.0 --> |
93 |
| - <property name="merge.targetplatform" value="v4" /> |
94 |
| - <property name="referenceassemblies.dir" value="${environment::get-folder-path('ProgramFiles')}\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1" /> |
95 |
| - </target> |
96 |
| - |
97 |
| - <target name="set-net-3.5-framework-configuration"> |
98 |
| - <property name="nant.settings.currentframework" value="net-3.5" /> |
99 |
| - <property name="current.build.defines" value="${build.defines}NET,NET_2_0,NET_3_5" /> |
100 |
| - <!-- not using SDK_v2_0 because ndoc throws an exception --> |
101 |
| - <property name="link.sdkdoc.version" value="SDK_v1_1" /> |
102 |
| - <!-- merge should work with 2.0 when compiling for 3.5 --> |
103 |
| - <property name="merge.targetplatform" value="v2" /> |
104 |
| - <property name="referenceassemblies.dir" value="${environment::get-folder-path('ProgramFiles')}\Reference Assemblies\Microsoft\Framework\v3.5" /> |
105 |
| - </target> |
106 |
| - |
107 |
| - <target name="set-net-2.0-framework-configuration"> |
108 |
| - <property name="nant.settings.currentframework" value="net-2.0" /> |
109 |
| - <property name="current.build.defines" value="${build.defines}NET,NET_2_0" /> |
110 |
| - <!-- not using SDK_v2_0 because ndoc throws an exception --> |
111 |
| - <property name="link.sdkdoc.version" value="SDK_v1_1" /> |
112 |
| - <property name="merge.targetplatform" value="v2" /> |
113 |
| - </target> |
114 |
| - |
115 |
| - |
116 |
| - <target name="set-mono-3.5-framework-configuration"> |
117 |
| - <property name="nant.settings.currentframework" value="mono-3.5" /> |
118 |
| - <property name="current.build.defines" value="${build.defines}NET,NET_2_0,NET_3_5,MONO" /> |
119 |
| - <!-- not using SDK_v2_0 because ndoc throws an exception --> |
120 |
| - <property name="link.sdkdoc.version" value="SDK_v1_1" /> |
121 |
| - <!-- merge should work with 2.0 when compiling for 3.5 --> |
122 |
| - <property name="merge.targetplatform" value="v2" /> |
123 |
| - </target> |
124 |
| - |
125 |
| - <target name="set-mono-2.0-framework-configuration"> |
126 |
| - <property name="nant.settings.currentframework" value="mono-2.0" /> |
127 |
| - <property name="current.build.defines" value="${build.defines}NET,NET_2_0,MONO" /> |
128 |
| - <!-- not using SDK_v2_0 because ndoc throws an exception --> |
129 |
| - <property name="link.sdkdoc.version" value="SDK_v1_1" /> |
130 |
| - <property name="merge.targetplatform" value="v2" /> |
131 |
| - </target> |
132 | 66 |
|
133 | 67 | <target name="display-current-runtime">
|
134 | 68 | <echo message="" />
|
|
146 | 80 | </target>
|
147 | 81 |
|
148 | 82 | <target name="common.init"
|
149 |
| - depends="set-framework-configuration set-project-configuration" |
| 83 | + depends="set-project-configuration" |
150 | 84 | description="Initializes build properties">
|
151 | 85 |
|
152 | 86 | <fileset id="project.sources" failonempty="true">
|
|
0 commit comments