|
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="Run imreport script"> |
|
18 <Commands> |
|
19 <!-- Set Env --> |
|
20 <!-- Most variables will have been set in the BuildLaunch xml --> |
|
21 <SetEnv Order="1" Name="PATH" Value="%Sourcedir%\os\buildtools\devlib\devlibhelp\tools\buildrefdoc\dist;%PATH%"/> |
|
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"/> |
|
23 <!-- Run doxygen and the imreport 4 times --> |
|
24 <Execute ID="2" Stage="2" Component="Run buildrefdoc 1" Cwd="%SourceDir%" CommandLine="buildrefdoc -F -E -C -b --share=1/4 --config="GT_%BuildShortName%" --codeline=%Sourcedir% \doxyref"/> |
|
25 <Execute ID="3" Stage="2" Component="Run buildrefdoc 2" Cwd="%SourceDir%" CommandLine="buildrefdoc -F -E -C -b --share=2/4 --config="GT_%BuildShortName%" --codeline=%Sourcedir% \doxyref"/> |
|
26 <Execute ID="4" Stage="2" Component="Run buildrefdoc 3" Cwd="%SourceDir%" CommandLine="buildrefdoc -F -E -C -b --share=3/4 --config="GT_%BuildShortName%" --codeline=%Sourcedir% \doxyref"/> |
|
27 <Execute ID="5" Stage="2" Component="Run buildrefdoc 4" Cwd="%SourceDir%" CommandLine="buildrefdoc -F -E -C -b --share=4/4 --config="GT_%BuildShortName%" --codeline=%Sourcedir% \doxyref"/> |
|
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>&1"/> |
|
29 <!-- Run 'cdb extract...' on the GXP files to populate this build's CDB --> |
|
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>&1"/> |
|
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"/> |
|
32 |
|
33 <!-- Run 'cdb compare...' --> |
|
34 |
|
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"/> |
|
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>&1"/> |
|
37 |
|
38 <!-- Run 'cdb compare...' --> |
|
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"/> |
|
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>&1"/> |
|
41 |
|
42 </Commands> |
|
43 </Product> |