author | Maciej Seroka <maciejs@symbian.org> |
Wed, 28 Apr 2010 15:01:11 +0100 | |
changeset 989 | 4ae26accd7da |
parent 953 | 0960b0d3247c |
child 1145 | 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"/> |
|
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"/> |
|
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
|
43 |
<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
|
44 |
<check name="version" execute="%location% version" values="1\.[2-5](\.[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"/> |
824 | 78 |
</verify> |
79 |
</tool> |
|
80 |
<tool name="Raptor"> |
|
81 |
<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
|
82 |
<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
|
83 |
<check name="version" execute="%SBS_HOME%\bin\sbs.bat -version" values="2\.9\.\d" locator="sbs version (.*) \["/> |
824 | 84 |
</verify> |
85 |
</tool> |
|
86 |
</context> |
|
87 |
||
88 |
<context id="ARMv5"> |
|
89 |
<tool name="RVCT ARM Compiler"> |
|
90 |
<location strict="false" value="C:\apps\arm\RVCT2.2[616]\RVCT\Programs\2.2\349\win_32-pentium\armcc.exe"/> |
|
91 |
<verify version="2.2" showstopper="true"> |
|
92 |
<check name="version" execute="%location% --help" values="RVCT2\.2\ \[Build 616\]" log="false" locator="ARM\/Thumb C\/C\+\+ Compiler, (.*)Usage"/> |
|
93 |
<!-- <check execute="%RVCT22BIN%\armcc.exe" values="616" log="false"/> --> |
|
94 |
<check var="RVCT22BIN" values="RVCT\\Programs\\2\.2\\349\\win_32-pentium" silent="true"/> |
|
95 |
<check var="RVCT22INC" values="RVCT\\Data\\2\.2\\349\\include\\windows" silent="true"/> |
|
96 |
<check var="RVCT22LIB" values="RVCT\\Data\\2\.2\\349\\lib" silent="true"/> |
|
97 |
<check var="ARMLMD_LICENSE_FILE" values="8224@LON-ENGBUILD8[79]|8224@C10072[56]"/> |
|
98 |
</verify> |
|
99 |
<verify version="2.2 [options]" showstopper="false"> |
|
100 |
<check var="RVCT22_ASMOPT" values="--licretry" silent="true"/> |
|
101 |
<check var="RVCT22_CCOPT" values="--licretry" silent="true"/> |
|
102 |
<check var="RVCT22_LINKOPT" values="--licretry" silent="true"/> |
|
103 |
</verify> |
|
104 |
</tool> |
|
105 |
</context> |
|
106 |
||
107 |
<context id="Test"> |
|
108 |
<tool name="cURL"> |
|
109 |
<location strict="false" value="C:\apps\curl_7.18.2\curl.exe"/> |
|
110 |
<verify version="7.18.2" showstopper="false"> |
|
111 |
<check name="version" execute="%location% -V" values="7\.18\.2" locator="curl (.*) \(i386-pc-win32\)"/> |
|
112 |
</verify> |
|
113 |
</tool> |
|
114 |
<tool name="Junction"> |
|
115 |
<location strict="true" value="C:\Bin\junction.exe"/> |
|
116 |
<verify version="1.0.5" showstopper="true"> |
|
117 |
<check name="version - local" execute="%location%" values="v1\.05" locator="Junction (.*) - Windows junction creator"/> |
|
118 |
<check execute="junction - system" values="v1\.05" locator="Junction (.*) - Windows junction creator"/> |
|
119 |
</verify> |
|
120 |
</tool> |
|
121 |
<tool name="ATS3 Worker"> |
|
122 |
<location strict="true" value="C:\apps\ats3\bin\STAFEnv.bat"/> |
|
123 |
<verify version="7.18.2" showstopper="false"> |
|
124 |
<check execute="%location%" values=".*"/> |
|
125 |
<check var="ATS3_HOME" values="\w:\\\w+"/> |
|
126 |
</verify> |
|
127 |
</tool> |
|
128 |
</context> |
|
129 |
||
130 |
<context id="Tools"> |
|
131 |
<tool name="Microsoft Visual C++ compiler"> |
|
132 |
<location strict="false" value="C:\apps\MSVC6\VC98\bin\vcvars32.bat"/> |
|
133 |
<verify version="6.00" showstopper="false"> |
|
134 |
<check var="PATH" values="MSVC6\\Common\\MSDev98\\bin" silent="true"/> |
|
135 |
<check var="PATH" values="MSVC6\\Common\\Tools\\WinNT" silent="true"/> |
|
136 |
<check var="PATH" values="MSVC6\\Common\\Tools" silent="true"/> |
|
137 |
<check var="PATH" values="MSVC6\\VC98\\bin" silent="true"/> |
|
138 |
<check var="INCLUDE" values="MSVC6\\VC98\\atl\\include" silent="true"/> |
|
139 |
<check var="INCLUDE" values="MSVC6\\VC98\\mfc\\include" silent="true"/> |
|
140 |
<check var="INCLUDE" values="MSVC6\\VC98\\include" silent="true"/> |
|
141 |
<check var="LIB" values="MSVC6\\VC98\\mfc\\lib" silent="true"/> |
|
142 |
<check var="LIB" values="MSVC6\\VC98\\lib" silent="true"/> |
|
143 |
<check var="MSDEVDIR" values="msvc6\\Common\\MSDev98" silent="true"/> |
|
144 |
</verify> |
|
145 |
</tool> |
|
146 |
</context> |
|
147 |
||
358 | 148 |
</BuildEnv> |