bldsystemtools/commonbldutils/startbuild.xml
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 15 Mar 2010 12:45:01 +0200
branchRCL_3
changeset 3 8a441e81fe63
parent 0 83f4b4db085c
permissions -rw-r--r--
Revision: 201010 Kit: 201010
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     1
<?xml version="1.0"?>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     2
<!DOCTYPE Build  [
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     3
  <!ELEMENT Product (Commands)>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     4
  <!ATTLIST Product name CDATA #REQUIRED>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     5
  <!ELEMENT Commands (Execute+ | SetEnv*)>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     6
  <!ELEMENT Execute EMPTY>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     7
  <!ATTLIST Execute ID CDATA #REQUIRED>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     8
  <!ATTLIST Execute Stage CDATA #REQUIRED>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     9
  <!ATTLIST Execute Component CDATA #REQUIRED>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    10
  <!ATTLIST Execute Cwd CDATA #REQUIRED>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    11
  <!ATTLIST Execute CommandLine CDATA #REQUIRED>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    12
  <!ELEMENT SetEnv EMPTY>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    13
  <!ATTLIST SetEnv Order ID #REQUIRED>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    14
  <!ATTLIST SetEnv Name CDATA #REQUIRED>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    15
  <!ATTLIST SetEnv Value CDATA #REQUIRED>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    16
]>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    17
<Product Name="Start Build Bootstrap">
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    18
  <Commands>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    19
    
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    20
    <!---Environment vars should be set by BuildManager.pm -->
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    21
    <!---which is loaded from the database                 -->
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    22
    <Execute ID="1" Stage="1" Component="Make Build Dir" Cwd="%ToolsDir%\os\buildtools\bldsystemtools\commonbldutils" CommandLine="mkdir %SubstDir% " ExitOnScanlogError="y"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    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"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    24
    <Execute ID="3" Stage="3" Component="Make Logs Dir" Cwd="%ToolsDir%" CommandLine="mkdir %SubstDir%\logs\%Platform%"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    25
    <Execute ID="4" Stage="4" Component="Copy BuildLaunch" Cwd="%ToolsDir%\os\buildtools\bldsystemtools\commonbldutils\" CommandLine="copy BuildLaunch.xml %SubstDir%\logs\%Platform%"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    26
    
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    27
    <!---Start Build Launch Client -->
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    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"/>;
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    29
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    30
    <!---Start Build Launch Server with Build Launch xml -->
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    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"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    32
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    33
    <!---Start Build Glue Server with Main xml -->
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    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"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    35
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    36
    <!---Start Build Glue Server with Postbuild xml -->
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    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"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    38
  </Commands>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    39
</Product>