bldsystemtools/commonbldutils/runcdb.xml
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 23:57:18 +0200
branchRCL_3
changeset 1 d4b442d23379
parent 0 83f4b4db085c
permissions -rw-r--r--
Revision: 201007 Kit: 201007
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="Run imreport script">
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
    <!-- Set Env -->
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    20
    <!-- Most variables will have been set in the BuildLaunch xml -->
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    21
    <SetEnv Order="1" Name="PATH" Value="%Sourcedir%\os\buildtools\devlib\devlibhelp\tools\buildrefdoc\dist;%PATH%"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    22
    <Execute ID="1" Stage="2" Component="Copy System_Definition.xml" Cwd="%SourceDir%" CommandLine="xcopy %EPOCROOT%epoc32\data\System_Definition.xml %SourceDir%\os\buildtools\bldsystemtools\buildsystemtools\ /Z /I /Q"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    23
    <!-- Run doxygen and the imreport 4 times -->
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    24
    <Execute ID="2" Stage="2" Component="Run buildrefdoc 1" Cwd="%SourceDir%" CommandLine="buildrefdoc -F -E -C -b --share=1/4 --config=&quot;GT_%BuildShortName%&quot; --codeline=%Sourcedir% \doxyref"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    25
    <Execute ID="3" Stage="2" Component="Run buildrefdoc 2" Cwd="%SourceDir%" CommandLine="buildrefdoc -F -E -C -b --share=2/4 --config=&quot;GT_%BuildShortName%&quot; --codeline=%Sourcedir% \doxyref"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    26
    <Execute ID="4" Stage="2" Component="Run buildrefdoc 3" Cwd="%SourceDir%" CommandLine="buildrefdoc -F -E -C -b --share=3/4 --config=&quot;GT_%BuildShortName%&quot; --codeline=%Sourcedir% \doxyref"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    27
    <Execute ID="5" Stage="2" Component="Run buildrefdoc 4" Cwd="%SourceDir%" CommandLine="buildrefdoc -F -E -C -b --share=4/4 --config=&quot;GT_%BuildShortName%&quot; --codeline=%Sourcedir% \doxyref"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    28
    <Execute ID="6" Stage="3" Component="Run reporter" Cwd="%BuildDir%" CommandLine="imrepgen.exe --build=%BuildNumber% \doxyref\stats %LogsDir%\imrep_%BuildNumber%.xml >%LogsDir%\imreport.log 2>&amp;1"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    29
    <!-- Run 'cdb extract...' on the GXP files to populate this build's CDB -->
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    30
    <Execute ID="7" Stage="4" Component="Extract GT+TV+Java Info" Cwd="%BuildDir%" CommandLine="%SourceDir%\os\buildtools\bldsystemtools\commonbldutils\cdb_sysbuild -d %BuildDir%\cdb-info\cdb.db  -t %BuildDir%\epoc32\ extractrelease %BuildNumber% -a %LogsDir%\imrep_%BuildNumber%.xml 2>&amp;1"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    31
    <Execute ID="8" Stage="5" Component="Publish CDB" Cwd="%BuildDir%" CommandLine="xcopy %BuildDir%\cdb-info\cdb.db.* %PublishLocation%\%Type%\%BuildNumber%\cdb-info /z/e/i/q"/>
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
    <!-- Run 'cdb compare...'  -->
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    34
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    35
    <Execute ID="9" Stage="6" Component="Make local copy of Previous CDB files" Cwd="%BuildDir%" CommandLine="perl %SourceDir%\os\buildtools\bldsystemtools\commonbldutils\bxcopy.pl -s %PreviousBuildPublishLocation%\%Type%\%CDBPreviousBuildNumber%\cdb-info\ -t %BuildDir%\cdb-prev-info -i \cdb.db.* -x \.xml  -x \.html"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    36
    <Execute ID="10" Stage="7" Component="BC Compare with Previous" Cwd="%BuildDir%" CommandLine="%SourceDir%\os\buildtools\bldsystemtools\commonbldutils\cdb_sysbuild -d %BuildDir%\cdb-prev-info\cdb.db comparerelease %CDBPreviousBuildNumber% %BuildNumber% -r %BuildDir%\cdb-info\BC-prev.xml -a %BuildDir%\cdb-info\cdb.db -f publishedPartner 2>&amp;1"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    37
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    38
    <!-- Run 'cdb compare...'  -->
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    39
    <Execute ID="11" Stage="8" Component="Make local copy of Base CDB files" Cwd="%BuildDir%" CommandLine="perl %SourceDir%\os\buildtools\bldsystemtools\commonbldutils\bxcopy.pl -s %PreviousBuildPublishLocation%\%Type%\%BaseBuildNumber%\cdb-info\ -t %BuildDir%\cdb-base-info -i \cdb.db.* -x \.xml  -x \.html"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    40
    <Execute ID="12" Stage="9" Component="BC Compare with Baseline" Cwd="%BuildDir%" CommandLine="%SourceDir%\os\buildtools\bldsystemtools\commonbldutils\cdb_sysbuild -d %BuildDir%\cdb-base-info\cdb.db comparerelease %BaseBuildNumber% %BuildNumber% -r %BuildDir%\cdb-info\BC-base.xml -a %BuildDir%\cdb-info\cdb.db -f publishedPartner 2>&amp;1"/>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    41
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    42
  </Commands>
83f4b4db085c Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    43
</Product>