systemhealthmanagement/systemhealthmgr/test/sysmondemo/src/sysmondemo108.rss
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Modified default resource file to test system starter
       
    15 // WARNING: Any changes made to this resource file must be
       
    16 // checked against the system starter test cases. 
       
    17 // Specifically:
       
    18 // - AppFailRetry0Ignore
       
    19 // 
       
    20 //
       
    21 
       
    22 #include <startup.rh>
       
    23 
       
    24 
       
    25 //
       
    26 // ENTRY POINT
       
    27 //
       
    28 
       
    29 // THIS MUST BE THE FIRST RESOURCE. The system relies on
       
    30 // this having a resource ID of 1
       
    31 
       
    32 RESOURCE STARTUP_ENTRY_POINT r_entry_point
       
    33 	{
       
    34 	entry_point = r_startup_state_critical_static; 
       
    35 	}
       
    36 //
       
    37 
       
    38 
       
    39 
       
    40 //
       
    41 // CRITICAL-STATIC startup state
       
    42 //
       
    43 RESOURCE STATE_INFO r_startup_state_critical_static
       
    44 	{
       
    45 	id = EStartupStateCriticalStatic;
       
    46 	name = "Critical Static";
       
    47 	command_list = r_critical_static_commands;
       
    48 	next = r_startup_state_critical_dynamic;
       
    49 	}
       
    50 
       
    51 RESOURCE COMMAND_ARRAY r_critical_static_commands
       
    52 	{
       
    53 	commands =
       
    54 		{
       
    55 		START_PROCESS_INFO
       
    56 			{
       
    57 			path = "Z:\\sys\\bin\\SysAgt2Svr.exe";
       
    58 			start_method = EWaitForStart;
       
    59 			no_of_retries_on_failure = 2;
       
    60 			},
       
    61 		START_PROCESS_INFO
       
    62 			{
       
    63 			path = "Z:\\sys\\bin\\fbserv.exe";
       
    64 			start_method = EWaitForStart;
       
    65 			no_of_retries_on_failure = 1;
       
    66 			},
       
    67 		START_PROCESS_INFO
       
    68 			{
       
    69 			path = "Z:\\sys\\bin\\wserv.exe";
       
    70 			args = "-NoShell";
       
    71 			start_method = EWaitForStart;
       
    72 			},
       
    73 		SPLASH_SCREEN
       
    74 			{
       
    75 			path = "Z:\\sys\\bin\\splash.exe";
       
    76 			},
       
    77 		START_PROCESS_INFO
       
    78 			{
       
    79 			path = "Z:\\sys\\bin\\eiksrvs.exe";
       
    80 			args = "-OnlyStartDependentServers";
       
    81 			start_method = EWaitForStart;
       
    82 			},
       
    83 		START_PROCESS_INFO
       
    84 			{
       
    85 			path = "Z:\\sys\\bin\\sisregistryserver.exe";
       
    86 			start_method = EWaitForStart;
       
    87 			},
       
    88 		START_PROCESS_INFO
       
    89 			{
       
    90 			path = "Z:\\sys\\bin\\tzserver.exe";
       
    91 			start_method = EWaitForStart;
       
    92 			},
       
    93 		START_PROCESS_INFO2
       
    94 			{
       
    95 			path = "Z:\\sys\\bin\\sysmondemoserv.exe";
       
    96   			start_method = EWaitForStart;
       
    97 			monitor = 1 ;
       
    98 			}
       
    99 		};
       
   100 	}
       
   101 
       
   102 //
       
   103 // CRITICAL-DYNAMIC startup state
       
   104 //
       
   105 RESOURCE STATE_INFO r_startup_state_critical_dynamic
       
   106 	{
       
   107 	id = EStartupStateCriticalDynamic;
       
   108 	name = "Critical Dynamic";
       
   109 	command_list = r_critical_dynamic_commands;
       
   110 	next = r_startup_state_networking_critical;
       
   111 	}
       
   112 
       
   113 RESOURCE COMMAND_ARRAY r_critical_dynamic_commands
       
   114 	{
       
   115 	commands =
       
   116 		{
       
   117 		START_PROCESS_INFO
       
   118 			{
       
   119 			path = "Z:\\sys\\bin\\apsexe.exe";
       
   120 			start_method = EWaitForStart;  // this is the only method allowable for apsexe.exe
       
   121 			},
       
   122 		START_APP_INFO
       
   123 			{
       
   124 			path = "Z:\\sys\\bin\\shell.exe";	// Requires apparc to be properly started
       
   125 			viewless = 1;	 
       
   126 			start_method = EDeferredWaitForStart; 
       
   127 			},
       
   128 		MULTIPLE_WAIT  
       
   129 			{
       
   130 			timeout = 10000;
       
   131 			fail_on_error = EPanicOnCommandFailure;
       
   132 			},
       
   133 		SPLASH_SCREEN
       
   134 			{
       
   135 			kill = 1;
       
   136 			} 		
       
   137 		};
       
   138 	}
       
   139 
       
   140 //
       
   141 // Networking-CRITICAL startup state
       
   142 //
       
   143 RESOURCE STATE_INFO  r_startup_state_networking_critical
       
   144 	{
       
   145 	id = EStartupStateNetworkingCritical;   
       
   146 	name = "Networking-Critical";
       
   147 	command_list =  r_networking_critical_commands;
       
   148 	next = 0;
       
   149 	}
       
   150 
       
   151 RESOURCE COMMAND_ARRAY r_networking_critical_commands
       
   152 	{
       
   153 	commands =
       
   154 		{
       
   155 		START_PROCESS_INFO
       
   156 			{
       
   157 			path = "Z:\\sys\\bin\\changebootmode.exe";
       
   158 			args = "109" ;
       
   159   			start_method = EWaitForStart;
       
   160 			},
       
   161 		START_PROCESS_INFO
       
   162 			{
       
   163 			path = "Z:\\sys\\bin\\c32start.exe";
       
   164   			start_method = EWaitForStart;
       
   165   			},
       
   166 		START_PROCESS_INFO
       
   167 			{
       
   168 			path = "Z:\\sys\\bin\\msexe.exe";
       
   169 			start_method = EWaitForStart;
       
   170 			},
       
   171 		START_PROCESS_INFO
       
   172 			{
       
   173 			path = "Z:\\sys\\bin\\watcher.exe";
       
   174 			start_method = EWaitForStart;
       
   175 			},
       
   176 		GET_NEW_SSC
       
   177 			{
       
   178 			}	
       
   179 		};
       
   180 	}
       
   181 
       
   182 
       
   183 
       
   184