common/tools/BuildEnv.xml
author Maciej Seroka <maciejs@symbian.org>
Fri, 20 Nov 2009 09:46:23 +0000
changeset 781 2e4219f93467
parent 358 61571c10c5d0
child 824 6b6a916ded0c
permissions -rw-r--r--
Added smoke test to close UI setup dialogs
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
358
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
     1
<?xml version="1.0"?>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
     2
<!DOCTYPE BuildEnv [
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
     3
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
     4
        
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
     5
<!ELEMENT BuildEnv (context*)>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
     6
    <!ATTLIST BuildEnv name CDATA #REQUIRED
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
     7
			revision CDATA #REQUIRED>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
     8
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
     9
<!ELEMENT context (context*, tool+)>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    10
    <!ATTLIST context id (system|p4|cbr) "system">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    11
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    12
<!ELEMENT tool (location?, verify*)>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    13
	<!ATTLIST tool name CDATA #REQUIRED>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    14
	<!ELEMENT location EMPTY>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    15
	<!ATTLIST location strict (true|false) "true" value CDATA #REQUIRED>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    16
	<!ELEMENT verify (check+)>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    17
	<!ATTLIST verify version CDATA #REQUIRED showstopper (true|false) "false">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    18
	<!ELEMENT check EMPTY>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    19
	<!ATTLIST check exclusive (false|true) "false"
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    20
			 values  CDATA #REQUIRED
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    21
			 locator CDATA #IMPLIED
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    22
			 var     CDATA #IMPLIED
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    23
			 execute CDATA #IMPLIED
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    24
			 name    CDATA #IMPLIED
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    25
			 silent	 (false|true) "false"
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    26
			 log	 (false|true) "false">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    27
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    28
	]>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    29
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    30
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    31
<BuildEnv name="BuildEnv" revision="1">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    32
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    33
<!-- OS-dependant contexts -->
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    34
<context id="Common">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    35
	<tool name="Perl">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    36
		<location strict="false" value="C:\apps\perl\bin\perl.exe"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    37
		<verify version="5.6.1" showstopper="true" >
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    38
			<check name="version" execute="%location% -v" values="v5\.6\.1" locator="This is perl, (.*) built"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    39
			<check name="build" execute="%location% -v" values="build 633|build 635|build 638" locator="Binary (.*) provided by ActiveState" log="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    40
			<check name="module SAX version" execute="ppm query sax" values="0\.15" locator="XML-SAX \[(.*)\] Simple API" />
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    41
        </verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    42
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    43
    <tool name="Mercurial">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    44
		<location strict="false" value="C:\Apps\mercurial\hg.exe"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    45
		<verify version="1.2" showstopper="false">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    46
			<check name="version" execute="%location% version" values="1\.2\.[1-9]" locator="Mercurial Distributed SCM \(version ([0-9\.]*)\)"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    47
        </verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    48
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    49
    <tool name="Python">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    50
		<location strict="false" value="c:\apps\python25\python.exe"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    51
		<verify version="2.5" showstopper="false">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    52
			<check name="version" execute="%location% -V" values="2\.5\.[0-9]" locator="Python (.*)"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    53
        </verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    54
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    55
    <tool name="Java Compiler">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    56
		<location strict="false" value="C:\apps\jdk1.6.0_14\bin\javac"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    57
		<verify version="1.6" showstopper="true">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    58
			<check var="JAVA_6_HOME" values="jdk1\.6"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    59
			<check name="version" execute="%JAVA_6_HOME%\bin\javac -version" values="1\.6\.[0-9]_[0-9]+" locator="javac (.*)"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    60
		</verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    61
		<verify version="default" showstopper="false">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    62
			<check var="JAVA_HOME" values="jdk1\.6"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    63
		</verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    64
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    65
	<tool name="7-Zip">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    66
		<location strict="false" value="C:\apps\7-zip\7z.exe"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    67
		<verify version="4.65" showstopper="false">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    68
			<check name="version" execute="%location% -h" values="4\.65" locator="7-Zip (.*)  Copyright"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    69
		</verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    70
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    71
	<tool name="PDT Home">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    72
		<location strict="false" value="C:\Symbian\Tools\PDT_1.0\helium\hlm.bat"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    73
		<verify version="1.0 [beta]" showstopper="false">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    74
			<check var="PDT_HOME" values="\\Tools\\PDT_\d"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    75
		</verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    76
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    77
	<tool name="EPOC">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    78
		<verify version="Environment Vars" showstopper="true">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    79
			<check var="EPOCROOT" values="^\\$"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    80
			<check var="PATH" values=";\\epoc32\\tools;" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    81
		</verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    82
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    83
	<tool name="Helium">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    84
		<location strict="false" value="C:\Symbian\Tools\PDT_1.0\helium\hlm.bat"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    85
		<verify version="4.0 [patched]" showstopper="true">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    86
			<check var="HELIUM_HOME" values="[CD]:\\Symbian\\Tools\\PDT_1.0\\helium"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    87
			<check name="version" execute="%HELIUM_HOME%\hlm.bat -f %HELIUM_HOME%\build.xml version" values="4\.0" locator="Helium version: ([\d\.]+)"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    88
		</verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    89
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    90
	<tool name="Raptor">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    91
		<location strict="false" value="C:\apps\raptor2.7.2\bin\sbs.bat"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    92
		<verify version="2.7.2 [patched]" showstopper="true">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    93
			<check var="SBS_HOME" values="apps\\raptor"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    94
			<check name="version" execute="%SBS_HOME%\bin\sbs.bat -version" values="2\.7\.2" locator="sbs version (.*) \["/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    95
			<check name="patch" execute="%SBS_HOME%\win32\python252\python.exe -V" values="2\.5\.4"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    96
		</verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    97
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    98
</context>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
    99
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   100
<context id="ARMv5">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   101
    <tool name="RVCT ARM Compiler">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   102
		<location strict="false" value="C:\apps\arm\RVCT2.2[616]\RVCT\Programs\2.2\349\win_32-pentium\armcc.exe"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   103
		<verify version="2.2" showstopper="true">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   104
			<check name="version" execute="%location% --help" values="RVCT2\.2\ \[Build 616\]" log="false" locator="ARM\/Thumb C\/C\+\+ Compiler, (.*)Usage"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   105
			<!-- <check execute="%RVCT22BIN%\armcc.exe" values="616" log="false"/> -->
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   106
			<check var="RVCT22BIN" values="RVCT\\Programs\\2\.2\\349\\win_32-pentium" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   107
			<check var="RVCT22INC" values="RVCT\\Data\\2\.2\\349\\include\\windows" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   108
			<check var="RVCT22LIB" values="RVCT\\Data\\2\.2\\349\\lib" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   109
			<check var="ARMLMD_LICENSE_FILE" values="8224@LON-ENGBUILD8[79]|8224@C10072[56]"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   110
		</verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   111
		<verify version="2.2 [options]" showstopper="false">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   112
			<check var="RVCT22_ASMOPT" values="--licretry" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   113
			<check var="RVCT22_CCOPT" values="--licretry" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   114
			<check var="RVCT22_LINKOPT" values="--licretry" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   115
		</verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   116
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   117
</context>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   118
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   119
<context id="Test">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   120
	<tool name="cURL">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   121
		<location strict="false" value="C:\apps\curl_7.18.2\curl.exe"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   122
		<verify version="7.18.2" showstopper="false">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   123
			<check name="version" execute="%location% -V" values="7\.18\.2" locator="curl (.*) \(i386-pc-win32\)"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   124
		</verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   125
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   126
	<tool name="Junction">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   127
		<location strict="true" value="C:\Bin\junction.exe"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   128
		<verify version="1.0.5" showstopper="true">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   129
			<check name="version - local" execute="%location%" values="v1\.05" locator="Junction (.*) - Windows junction creator"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   130
			<check execute="junction - system" values="v1\.05" locator="Junction (.*) - Windows junction creator"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   131
		</verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   132
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   133
	<tool name="ATS3 Worker">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   134
		<location strict="true" value="C:\apps\ats3\bin\STAFEnv.bat"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   135
		<verify version="7.18.2" showstopper="false">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   136
			<check execute="%location%" values=".*"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   137
			<check var="ATS3_HOME" values="\w:\\\w+"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   138
		</verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   139
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   140
</context>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   141
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   142
<context id="Tools">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   143
    <tool name="Microsoft Visual C++ compiler">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   144
		<location strict="false" value="C:\apps\MSVC6\VC98\bin\vcvars32.bat"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   145
		<verify version="6.00" showstopper="false">
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   146
			<check var="PATH" values="MSVC6\\Common\\MSDev98\\bin" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   147
			<check var="PATH" values="MSVC6\\Common\\Tools\\WinNT" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   148
			<check var="PATH" values="MSVC6\\Common\\Tools" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   149
			<check var="PATH" values="MSVC6\\VC98\\bin" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   150
			<check var="INCLUDE" values="MSVC6\\VC98\\atl\\include" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   151
			<check var="INCLUDE" values="MSVC6\\VC98\\mfc\\include" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   152
			<check var="INCLUDE" values="MSVC6\\VC98\\include" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   153
			<check var="LIB" values="MSVC6\\VC98\\mfc\\lib" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   154
			<check var="LIB" values="MSVC6\\VC98\\lib" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   155
			<check var="MSDEVDIR" values="msvc6\\Common\\MSDev98" silent="true"/>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   156
		</verify>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   157
    </tool>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   158
</context>
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   159
61571c10c5d0 Added Build environment check feature
ThomasE
parents:
diff changeset
   160
</BuildEnv>