bldsystemtools/commonbldutils/startbuild.xml
changeset 0 83f4b4db085c
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 <?xml version="1.0"?>
       
     2 <!DOCTYPE Build  [
       
     3   <!ELEMENT Product (Commands)>
       
     4   <!ATTLIST Product name CDATA #REQUIRED>
       
     5   <!ELEMENT Commands (Execute+ | SetEnv*)>
       
     6   <!ELEMENT Execute EMPTY>
       
     7   <!ATTLIST Execute ID CDATA #REQUIRED>
       
     8   <!ATTLIST Execute Stage CDATA #REQUIRED>
       
     9   <!ATTLIST Execute Component CDATA #REQUIRED>
       
    10   <!ATTLIST Execute Cwd CDATA #REQUIRED>
       
    11   <!ATTLIST Execute CommandLine CDATA #REQUIRED>
       
    12   <!ELEMENT SetEnv EMPTY>
       
    13   <!ATTLIST SetEnv Order ID #REQUIRED>
       
    14   <!ATTLIST SetEnv Name CDATA #REQUIRED>
       
    15   <!ATTLIST SetEnv Value CDATA #REQUIRED>
       
    16 ]>
       
    17 <Product Name="Start Build Bootstrap">
       
    18   <Commands>
       
    19     
       
    20     <!---Environment vars should be set by BuildManager.pm -->
       
    21     <!---which is loaded from the database                 -->
       
    22     <Execute ID="1" Stage="1" Component="Make Build Dir" Cwd="%ToolsDir%\os\buildtools\bldsystemtools\commonbldutils" CommandLine="mkdir %SubstDir% " ExitOnScanlogError="y"/>
       
    23     <Execute ID="2" Stage="2" Component="Subst Build Dir" Cwd="%ToolsDir%\os\buildtools\bldsystemtools\commonbldutils" CommandLine="subst.pl -v %BuildDir% -p %SubstDir% -f" ExitOnScanlogError="y"/>
       
    24     <Execute ID="3" Stage="3" Component="Make Logs Dir" Cwd="%ToolsDir%" CommandLine="mkdir %SubstDir%\logs\%Platform%"/>
       
    25     <Execute ID="4" Stage="4" Component="Copy BuildLaunch" Cwd="%ToolsDir%\os\buildtools\bldsystemtools\commonbldutils\" CommandLine="copy BuildLaunch.xml %SubstDir%\logs\%Platform%"/>
       
    26     
       
    27     <!---Start Build Launch Client -->
       
    28     <Execute ID="5" Stage="5" Component="Build Launch Client" Cwd="%ToolsDir%" CommandLine="perl %ToolsDir%\os\buildtools\bldsystemtools\commonbldutils\start-perl.pl %ToolsDir%\os\buildtools\bldsystemtools\buildsystemtools\BuildClient.pl -d localhost:15000 -d localhost:15001 -d localhost:15002 -w 5 -c BuildLaunch" ExitOnScanlogError="y"/>;
       
    29 
       
    30     <!---Start Build Launch Server with Build Launch xml -->
       
    31     <Execute ID="6" Stage="6" Component="Build Launch Server" Cwd="%ToolsDir%" CommandLine="perl %ToolsDir%\os\buildtools\bldsystemtools\buildsystemtools\buildserver.pl -p 15000 -p 15001 -p 15002 -t 5 -c 5 -d %SubstDir%\logs\%Platform%\BuildLaunch.xml -p 2003 -l %SubstDir%\logs\%Platform%\%BuildNumber%.log" ExitOnScanlogError="y"/>
       
    32 
       
    33     <!---Start Build Glue Server with Main xml -->
       
    34     <Execute ID="7" Stage="7" Component="Build Glue Server" Cwd="%BuildDir%" CommandLine="perl %ToolsDir%\os\buildtools\bldsystemtools\buildsystemtools\buildserver.pl -p 15000 -p 15001 -p 15002 -t 5 -c 5 -d %CleanSourceDir%\os\deviceplatformrelease\symbianosbld\cedarutils\%BuildBaseName%.xml -e %LogsDir%\BuildLaunch.xml -p 2003 -l %LogsDir%\%BuildBaseName%.log" ExitOnScanlogError="y"/>
       
    35 
       
    36     <!---Start Build Glue Server with Postbuild xml -->
       
    37     <Execute ID="8" Stage="8" Component="Build Glue Server for PostBuild" Cwd="%BuildDir%" CommandLine="perl %ToolsDir%\os\buildtools\bldsystemtools\buildsystemtools\buildserver.pl -p 15000 -p 15001 -p 15002 -t 5 -c 5 -d %CleanSourceDir%\os\buildtools\bldsystemtools\commonbldutils\PostBuild.xml -e %LogsDir%\BuildLaunch.xml -p 2003 -l %LogsDir%\postbuild.log" ExitOnScanlogError="y"/>
       
    38   </Commands>
       
    39 </Product>