author | Johan Groth <johang@symbian.org> |
Thu, 07 Oct 2010 10:47:56 +0100 | |
changeset 1291 | d1eb3865f97d |
parent 1157 | 06290277aa33 |
permissions | -rw-r--r-- |
358 | 1 |
<?xml version="1.0"?> |
2 |
<!DOCTYPE BuildEnv [ |
|
3 |
||
4 |
<!ELEMENT BuildEnv (context*)> |
|
5 |
<!ATTLIST BuildEnv name CDATA #REQUIRED |
|
6 |
revision CDATA #REQUIRED> |
|
7 |
||
8 |
<!ELEMENT context (context*, tool+)> |
|
9 |
<!ATTLIST context id (system|p4|cbr) "system"> |
|
10 |
||
11 |
<!ELEMENT tool (location?, verify*)> |
|
12 |
<!ATTLIST tool name CDATA #REQUIRED> |
|
13 |
<!ELEMENT location EMPTY> |
|
14 |
<!ATTLIST location strict (true|false) "true" value CDATA #REQUIRED> |
|
15 |
<!ELEMENT verify (check+)> |
|
16 |
<!ATTLIST verify version CDATA #REQUIRED showstopper (true|false) "false"> |
|
17 |
<!ELEMENT check EMPTY> |
|
18 |
<!ATTLIST check exclusive (false|true) "false" |
|
19 |
values CDATA #REQUIRED |
|
20 |
locator CDATA #IMPLIED |
|
21 |
var CDATA #IMPLIED |
|
22 |
execute CDATA #IMPLIED |
|
23 |
name CDATA #IMPLIED |
|
824 | 24 |
silent (false|true) "false" |
25 |
log (false|true) "false"> |
|
358 | 26 |
|
824 | 27 |
]> |
358 | 28 |
|
29 |
<BuildEnv name="BuildEnv" revision="1"> |
|
824 | 30 |
|
31 |
<!-- OS-dependant contexts --> |
|
32 |
<context id="Common"> |
|
33 |
<tool name="Perl"> |
|
34 |
<location strict="false" value="C:\apps\perl\bin\perl.exe"/> |
|
1157
06290277aa33
The file checks against newer versions of Perl (5.10.*), Python (2.5 or 2.6) and Raptor (2.12 or 2.14).
Johan Groth <johang@symbian.org>
parents:
953
diff
changeset
|
35 |
<verify version="5.10.1" showstopper="true" > |
06290277aa33
The file checks against newer versions of Perl (5.10.*), Python (2.5 or 2.6) and Raptor (2.12 or 2.14).
Johan Groth <johang@symbian.org>
parents:
953
diff
changeset
|
36 |
<check name="version" execute="%location% -v" values="v5\.10\.1" locator="This is perl, (.*) built"/> |
06290277aa33
The file checks against newer versions of Perl (5.10.*), Python (2.5 or 2.6) and Raptor (2.12 or 2.14).
Johan Groth <johang@symbian.org>
parents:
953
diff
changeset
|
37 |
<check name="build" execute="%location% -v" values="build *" locator="Binary (.*) provided by ActiveState" log="true"/> |
824 | 38 |
</verify> |
39 |
</tool> |
|
40 |
<tool name="Mercurial"> |
|
41 |
<location strict="false" value="C:\Apps\mercurial\hg.exe"/> |
|
936
e6a0e92cf215
Updated version checker to permit all versions of hg from v1.2 to v1.5
Simon Howkins <simonh@symbian.org>
parents:
859
diff
changeset
|
42 |
<verify version="1.2 or later" showstopper="false"> |
e6a0e92cf215
Updated version checker to permit all versions of hg from v1.2 to v1.5
Simon Howkins <simonh@symbian.org>
parents:
859
diff
changeset
|
43 |
<check name="version" execute="%location% version" values="1\.[2-5](\.[0-9])?" locator="Mercurial Distributed SCM \(version ([0-9\.]*)\)"/> |
824 | 44 |
</verify> |
45 |
</tool> |
|
46 |
<tool name="Python"> |
|
47 |
<location strict="false" value="c:\apps\python25\python.exe"/> |
|
1157
06290277aa33
The file checks against newer versions of Perl (5.10.*), Python (2.5 or 2.6) and Raptor (2.12 or 2.14).
Johan Groth <johang@symbian.org>
parents:
953
diff
changeset
|
48 |
<verify version="2.5 or 2.6]" showstopper="false"> |
06290277aa33
The file checks against newer versions of Perl (5.10.*), Python (2.5 or 2.6) and Raptor (2.12 or 2.14).
Johan Groth <johang@symbian.org>
parents:
953
diff
changeset
|
49 |
<check name="version" execute="%location% -V" values="2\.[5-6]\.[0-9]" locator="Python (.*)"/> |
824 | 50 |
</verify> |
51 |
</tool> |
|
52 |
<tool name="Java Compiler"> |
|
53 |
<location strict="false" value="C:\apps\jdk1.6.0_14\bin\javac"/> |
|
825
1de547e13d13
Updates to make the build environment check more reasonable:
Simon Howkins <simonh@symbian.org>
parents:
824
diff
changeset
|
54 |
<verify version="1.6" showstopper="false"> |
824 | 55 |
<check var="JAVA_6_HOME" values="jdk1\.6"/> |
56 |
<check name="version" execute="%JAVA_6_HOME%\bin\javac -version" values="1\.6\.[0-9]_[0-9]+" locator="javac (.*)"/> |
|
57 |
</verify> |
|
58 |
<verify version="default" showstopper="false"> |
|
59 |
<check var="JAVA_HOME" values="jdk1\.6"/> |
|
60 |
</verify> |
|
61 |
</tool> |
|
62 |
<tool name="7-Zip"> |
|
63 |
<verify version="4.65" showstopper="false"> |
|
825
1de547e13d13
Updates to make the build environment check more reasonable:
Simon Howkins <simonh@symbian.org>
parents:
824
diff
changeset
|
64 |
<check name="version" execute="7z.exe -h" values="4\.65" locator="7-Zip (.*) Copyright"/> |
824 | 65 |
</verify> |
66 |
</tool> |
|
67 |
<tool name="EPOC"> |
|
68 |
<verify version="Environment Vars" showstopper="true"> |
|
69 |
<check var="EPOCROOT" values="^\\$"/> |
|
70 |
<check var="PATH" values=";\\epoc32\\tools;" silent="true"/> |
|
71 |
</verify> |
|
72 |
</tool> |
|
73 |
<tool name="Helium"> |
|
74 |
<location strict="false" value="C:\Symbian\Tools\PDT_1.0\helium\hlm.bat"/> |
|
825
1de547e13d13
Updates to make the build environment check more reasonable:
Simon Howkins <simonh@symbian.org>
parents:
824
diff
changeset
|
75 |
<verify version="5.0" showstopper="true"> |
1de547e13d13
Updates to make the build environment check more reasonable:
Simon Howkins <simonh@symbian.org>
parents:
824
diff
changeset
|
76 |
<check var="HELIUM_HOME" values="[CD]:\\Symbian\\Tools\\PDT_1.\d\\helium"/> |
824 | 77 |
</verify> |
78 |
</tool> |
|
79 |
<tool name="Raptor"> |
|
80 |
<location strict="false" value="C:\apps\raptor2.7.2\bin\sbs.bat"/> |
|
1157
06290277aa33
The file checks against newer versions of Perl (5.10.*), Python (2.5 or 2.6) and Raptor (2.12 or 2.14).
Johan Groth <johang@symbian.org>
parents:
953
diff
changeset
|
81 |
<verify version="2.12.* or 2.14.*" showstopper="true"> |
06290277aa33
The file checks against newer versions of Perl (5.10.*), Python (2.5 or 2.6) and Raptor (2.12 or 2.14).
Johan Groth <johang@symbian.org>
parents:
953
diff
changeset
|
82 |
<check name="version" execute="%SBS_HOME%\bin\sbs.bat -version" values="2\.1[2|4]\.\d" locator="sbs version (.*) \["/> |
824 | 83 |
</verify> |
84 |
</tool> |
|
85 |
</context> |
|
86 |
||
87 |
<context id="ARMv5"> |
|
88 |
<tool name="RVCT ARM Compiler"> |
|
89 |
<location strict="false" value="C:\apps\arm\RVCT2.2[616]\RVCT\Programs\2.2\349\win_32-pentium\armcc.exe"/> |
|
90 |
<verify version="2.2" showstopper="true"> |
|
91 |
<check name="version" execute="%location% --help" values="RVCT2\.2\ \[Build 616\]" log="false" locator="ARM\/Thumb C\/C\+\+ Compiler, (.*)Usage"/> |
|
92 |
<!-- <check execute="%RVCT22BIN%\armcc.exe" values="616" log="false"/> --> |
|
93 |
<check var="RVCT22BIN" values="RVCT\\Programs\\2\.2\\349\\win_32-pentium" silent="true"/> |
|
94 |
<check var="RVCT22INC" values="RVCT\\Data\\2\.2\\349\\include\\windows" silent="true"/> |
|
95 |
<check var="RVCT22LIB" values="RVCT\\Data\\2\.2\\349\\lib" silent="true"/> |
|
96 |
<check var="ARMLMD_LICENSE_FILE" values="8224@LON-ENGBUILD8[79]|8224@C10072[56]"/> |
|
97 |
</verify> |
|
98 |
<verify version="2.2 [options]" showstopper="false"> |
|
99 |
<check var="RVCT22_ASMOPT" values="--licretry" silent="true"/> |
|
100 |
<check var="RVCT22_CCOPT" values="--licretry" silent="true"/> |
|
101 |
<check var="RVCT22_LINKOPT" values="--licretry" silent="true"/> |
|
102 |
</verify> |
|
103 |
</tool> |
|
104 |
</context> |
|
105 |
||
106 |
<context id="Test"> |
|
107 |
<tool name="cURL"> |
|
108 |
<location strict="false" value="C:\apps\curl_7.18.2\curl.exe"/> |
|
109 |
<verify version="7.18.2" showstopper="false"> |
|
110 |
<check name="version" execute="%location% -V" values="7\.18\.2" locator="curl (.*) \(i386-pc-win32\)"/> |
|
111 |
</verify> |
|
112 |
</tool> |
|
113 |
<tool name="Junction"> |
|
114 |
<location strict="true" value="C:\Bin\junction.exe"/> |
|
115 |
<verify version="1.0.5" showstopper="true"> |
|
116 |
<check name="version - local" execute="%location%" values="v1\.05" locator="Junction (.*) - Windows junction creator"/> |
|
117 |
<check execute="junction - system" values="v1\.05" locator="Junction (.*) - Windows junction creator"/> |
|
118 |
</verify> |
|
119 |
</tool> |
|
120 |
<tool name="ATS3 Worker"> |
|
121 |
<location strict="true" value="C:\apps\ats3\bin\STAFEnv.bat"/> |
|
122 |
<verify version="7.18.2" showstopper="false"> |
|
123 |
<check execute="%location%" values=".*"/> |
|
124 |
<check var="ATS3_HOME" values="\w:\\\w+"/> |
|
125 |
</verify> |
|
126 |
</tool> |
|
127 |
</context> |
|
128 |
||
129 |
<context id="Tools"> |
|
130 |
<tool name="Microsoft Visual C++ compiler"> |
|
131 |
<location strict="false" value="C:\apps\MSVC6\VC98\bin\vcvars32.bat"/> |
|
132 |
<verify version="6.00" showstopper="false"> |
|
133 |
<check var="PATH" values="MSVC6\\Common\\MSDev98\\bin" silent="true"/> |
|
134 |
<check var="PATH" values="MSVC6\\Common\\Tools\\WinNT" silent="true"/> |
|
135 |
<check var="PATH" values="MSVC6\\Common\\Tools" silent="true"/> |
|
136 |
<check var="PATH" values="MSVC6\\VC98\\bin" silent="true"/> |
|
137 |
<check var="INCLUDE" values="MSVC6\\VC98\\atl\\include" silent="true"/> |
|
138 |
<check var="INCLUDE" values="MSVC6\\VC98\\mfc\\include" silent="true"/> |
|
139 |
<check var="INCLUDE" values="MSVC6\\VC98\\include" silent="true"/> |
|
140 |
<check var="LIB" values="MSVC6\\VC98\\mfc\\lib" silent="true"/> |
|
141 |
<check var="LIB" values="MSVC6\\VC98\\lib" silent="true"/> |
|
142 |
<check var="MSDEVDIR" values="msvc6\\Common\\MSDev98" silent="true"/> |
|
143 |
</verify> |
|
144 |
</tool> |
|
145 |
</context> |
|
146 |
||
358 | 147 |
</BuildEnv> |