Bug 10343 - ensure tcf plugin is loaded
authordadubrow
Wed, 09 Dec 2009 14:43:53 -0600
changeset 662 de059f9c85e6
parent 660 749482434cfa
child 667 0d624765b49c
Bug 10343 - ensure tcf plugin is loaded
debuggercdi/com.nokia.carbide.trk.support/src/com/nokia/carbide/trk/support/service/TRKConnectedService.java
debuggercdi/com.nokia.carbide.trk.support/src/com/nokia/carbide/trk/support/service/TracingConnectedService.java
--- a/debuggercdi/com.nokia.carbide.trk.support/src/com/nokia/carbide/trk/support/service/TRKConnectedService.java	Wed Dec 09 09:02:51 2009 -0600
+++ b/debuggercdi/com.nokia.carbide.trk.support/src/com/nokia/carbide/trk/support/service/TRKConnectedService.java	Wed Dec 09 14:43:53 2009 -0600
@@ -67,6 +67,7 @@
 	
 	private Pair<String, Version> deviceOS;
 	private TRKService trkService;
+	static Class<?> startTCFServer = TCFClassFactory.class; // force the tcf plugin to load
 
 	public TRKConnectedService(IService service, AbstractSynchronizedConnection connection) {
 		super(service, connection);
--- a/debuggercdi/com.nokia.carbide.trk.support/src/com/nokia/carbide/trk/support/service/TracingConnectedService.java	Wed Dec 09 09:02:51 2009 -0600
+++ b/debuggercdi/com.nokia.carbide.trk.support/src/com/nokia/carbide/trk/support/service/TracingConnectedService.java	Wed Dec 09 14:43:53 2009 -0600
@@ -46,6 +46,7 @@
 	
 	private static final byte[] TC_REQ_OST = {0x0, 0x0, 0x0, 0x3, 0x0, 0x0, 0x1};
 	private static final byte[] TC_RESP_OST = {0x0, 0x0, 0x0, 0x5, 0x0, 0x1, 0x0, 0x0, 0x1};
+	static Class<?> startTCFServer = TCFClassFactory.class; // force the tcf plugin to load
 
 	public interface IMessageValidator {
 		boolean isValidMessage(byte[] message);