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