author | SimonH <simonh@symbian.org> |
Fri, 12 Mar 2010 14:16:11 +0000 | |
changeset 924 | a5ed0e6ca679 |
parent 859 | 206902c43bdb |
child 936 | e6a0e92cf215 |
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"/> |
|
35 |
<verify version="5.6.1" showstopper="true" > |
|
36 |
<check name="version" execute="%location% -v" values="v5\.6\.1" locator="This is perl, (.*) built"/> |
|
37 |
<check name="build" execute="%location% -v" values="build 633|build 635|build 638" locator="Binary (.*) provided by ActiveState" log="true"/> |
|
38 |
<check name="module SAX version" execute="ppm query sax" values="0\.15" locator="XML-SAX \[(.*)\] Simple API" /> |
|
39 |
</verify> |
|
40 |
</tool> |
|
41 |
<tool name="Mercurial"> |
|
42 |
<location strict="false" value="C:\Apps\mercurial\hg.exe"/> |
|
43 |
<verify version="1.2" showstopper="false"> |
|
825
1de547e13d13
Updates to make the build environment check more reasonable:
Simon Howkins <simonh@symbian.org>
parents:
824
diff
changeset
|
44 |
<check name="version" execute="%location% version" values="1\.[23]\.[0-9]" locator="Mercurial Distributed SCM \(version ([0-9\.]*)\)"/> |
824 | 45 |
</verify> |
46 |
</tool> |
|
47 |
<tool name="Python"> |
|
48 |
<location strict="false" value="c:\apps\python25\python.exe"/> |
|
49 |
<verify version="2.5" showstopper="false"> |
|
50 |
<check name="version" execute="%location% -V" values="2\.5\.[0-9]" locator="Python (.*)"/> |
|
51 |
</verify> |
|
52 |
</tool> |
|
53 |
<tool name="Java Compiler"> |
|
54 |
<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
|
55 |
<verify version="1.6" showstopper="false"> |
824 | 56 |
<check var="JAVA_6_HOME" values="jdk1\.6"/> |
57 |
<check name="version" execute="%JAVA_6_HOME%\bin\javac -version" values="1\.6\.[0-9]_[0-9]+" locator="javac (.*)"/> |
|
58 |
</verify> |
|
59 |
<verify version="default" showstopper="false"> |
|
60 |
<check var="JAVA_HOME" values="jdk1\.6"/> |
|
61 |
</verify> |
|
62 |
</tool> |
|
63 |
<tool name="7-Zip"> |
|
64 |
<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
|
65 |
<check name="version" execute="7z.exe -h" values="4\.65" locator="7-Zip (.*) Copyright"/> |
824 | 66 |
</verify> |
67 |
</tool> |
|
68 |
<tool name="EPOC"> |
|
69 |
<verify version="Environment Vars" showstopper="true"> |
|
70 |
<check var="EPOCROOT" values="^\\$"/> |
|
71 |
<check var="PATH" values=";\\epoc32\\tools;" silent="true"/> |
|
72 |
</verify> |
|
73 |
</tool> |
|
74 |
<tool name="Helium"> |
|
75 |
<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
|
76 |
<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
|
77 |
<check var="HELIUM_HOME" values="[CD]:\\Symbian\\Tools\\PDT_1.\d\\helium"/> |
1de547e13d13
Updates to make the build environment check more reasonable:
Simon Howkins <simonh@symbian.org>
parents:
824
diff
changeset
|
78 |
<check name="version" execute="%HELIUM_HOME%\hlm.bat -f %HELIUM_HOME%\build.xml version" values="5\.\d" locator="Helium version: ([\d\.]+)"/> |
824 | 79 |
</verify> |
80 |
</tool> |
|
81 |
<tool name="Raptor"> |
|
82 |
<location strict="false" value="C:\apps\raptor2.7.2\bin\sbs.bat"/> |
|
825
1de547e13d13
Updates to make the build environment check more reasonable:
Simon Howkins <simonh@symbian.org>
parents:
824
diff
changeset
|
83 |
<verify version="2.9.*" showstopper="true"> |
1de547e13d13
Updates to make the build environment check more reasonable:
Simon Howkins <simonh@symbian.org>
parents:
824
diff
changeset
|
84 |
<check name="version" execute="%SBS_HOME%\bin\sbs.bat -version" values="2\.9\.\d" locator="sbs version (.*) \["/> |
824 | 85 |
</verify> |
86 |
</tool> |
|
87 |
</context> |
|
88 |
||
89 |
<context id="ARMv5"> |
|
90 |
<tool name="RVCT ARM Compiler"> |
|
91 |
<location strict="false" value="C:\apps\arm\RVCT2.2[616]\RVCT\Programs\2.2\349\win_32-pentium\armcc.exe"/> |
|
92 |
<verify version="2.2" showstopper="true"> |
|
93 |
<check name="version" execute="%location% --help" values="RVCT2\.2\ \[Build 616\]" log="false" locator="ARM\/Thumb C\/C\+\+ Compiler, (.*)Usage"/> |
|
94 |
<!-- <check execute="%RVCT22BIN%\armcc.exe" values="616" log="false"/> --> |
|
95 |
<check var="RVCT22BIN" values="RVCT\\Programs\\2\.2\\349\\win_32-pentium" silent="true"/> |
|
96 |
<check var="RVCT22INC" values="RVCT\\Data\\2\.2\\349\\include\\windows" silent="true"/> |
|
97 |
<check var="RVCT22LIB" values="RVCT\\Data\\2\.2\\349\\lib" silent="true"/> |
|
98 |
<check var="ARMLMD_LICENSE_FILE" values="8224@LON-ENGBUILD8[79]|8224@C10072[56]"/> |
|
99 |
</verify> |
|
100 |
<verify version="2.2 [options]" showstopper="false"> |
|
101 |
<check var="RVCT22_ASMOPT" values="--licretry" silent="true"/> |
|
102 |
<check var="RVCT22_CCOPT" values="--licretry" silent="true"/> |
|
103 |
<check var="RVCT22_LINKOPT" values="--licretry" silent="true"/> |
|
104 |
</verify> |
|
105 |
</tool> |
|
106 |
</context> |
|
107 |
||
108 |
<context id="Test"> |
|
109 |
<tool name="cURL"> |
|
110 |
<location strict="false" value="C:\apps\curl_7.18.2\curl.exe"/> |
|
111 |
<verify version="7.18.2" showstopper="false"> |
|
112 |
<check name="version" execute="%location% -V" values="7\.18\.2" locator="curl (.*) \(i386-pc-win32\)"/> |
|
113 |
</verify> |
|
114 |
</tool> |
|
115 |
<tool name="Junction"> |
|
116 |
<location strict="true" value="C:\Bin\junction.exe"/> |
|
117 |
<verify version="1.0.5" showstopper="true"> |
|
118 |
<check name="version - local" execute="%location%" values="v1\.05" locator="Junction (.*) - Windows junction creator"/> |
|
119 |
<check execute="junction - system" values="v1\.05" locator="Junction (.*) - Windows junction creator"/> |
|
120 |
</verify> |
|
121 |
</tool> |
|
122 |
<tool name="ATS3 Worker"> |
|
123 |
<location strict="true" value="C:\apps\ats3\bin\STAFEnv.bat"/> |
|
124 |
<verify version="7.18.2" showstopper="false"> |
|
125 |
<check execute="%location%" values=".*"/> |
|
126 |
<check var="ATS3_HOME" values="\w:\\\w+"/> |
|
127 |
</verify> |
|
128 |
</tool> |
|
129 |
</context> |
|
130 |
||
131 |
<context id="Tools"> |
|
132 |
<tool name="Microsoft Visual C++ compiler"> |
|
133 |
<location strict="false" value="C:\apps\MSVC6\VC98\bin\vcvars32.bat"/> |
|
134 |
<verify version="6.00" showstopper="false"> |
|
135 |
<check var="PATH" values="MSVC6\\Common\\MSDev98\\bin" silent="true"/> |
|
136 |
<check var="PATH" values="MSVC6\\Common\\Tools\\WinNT" silent="true"/> |
|
137 |
<check var="PATH" values="MSVC6\\Common\\Tools" silent="true"/> |
|
138 |
<check var="PATH" values="MSVC6\\VC98\\bin" silent="true"/> |
|
139 |
<check var="INCLUDE" values="MSVC6\\VC98\\atl\\include" silent="true"/> |
|
140 |
<check var="INCLUDE" values="MSVC6\\VC98\\mfc\\include" silent="true"/> |
|
141 |
<check var="INCLUDE" values="MSVC6\\VC98\\include" silent="true"/> |
|
142 |
<check var="LIB" values="MSVC6\\VC98\\mfc\\lib" silent="true"/> |
|
143 |
<check var="LIB" values="MSVC6\\VC98\\lib" silent="true"/> |
|
144 |
<check var="MSDEVDIR" values="msvc6\\Common\\MSDev98" silent="true"/> |
|
145 |
</verify> |
|
146 |
</tool> |
|
147 |
</context> |
|
148 |
||
358 | 149 |
</BuildEnv> |