BOO-999
[boo.git] / extras / common-properties.build
blob336edb2e4042cc4b0fd049ac3eedc5894bc2f94c
1 <?xml version="1.0"?>
2 <project name="extra tools common properties">
4 <!--
5 If you need to customize any of these properties all you have to do is
6 to create a build.properties file in this same folder with the
7 following structure:
9 <project name="custom properties">
10 <property name="boo.profile" value="custom value" />
11 <property name="sharpdevelop.dir" value="custom value" />
12 </project>
14 That's it, the only properties you should ever need/want to customize
15 are boo.profile and sharpdevelop.dir.
16 -->
18 <!-- boo profile to use: bin or build -->
19 <property name="boo.profile" value="bin" />
21 <!-- full path to SharpDevelop's location -->
22 <property name="sharpdevelop.dir" value="/Fidalgo/SharpDevelop" />
24 <property name="build.properties" value="${path::get-full-path(path::combine(extras.dir, 'build.properties'))}" />
25 <include buildfile="${build.properties}" if="${file::exists(build.properties)}" />
27 <property name="boo.dir" value="${path::get-full-path(path::combine(extras.dir, '../' + boo.profile))}" />
29 <fail unless="${directory::exists(sharpdevelop.dir) or not nant.platform.win32}">
30 Invalid SharpDevelop application directory!
32 ${sharpdevelop.dir}
34 Please, create or edit your extras/build.properties file
35 and include the full path to the SharpDevelop base directory
36 in the property sharpdevelop.dir:
38 &lt;property name="sharpdevelop.dir" value="full-here" /&gt;
39 </fail>
41 </project>