org.eclipse.linuxtools.oprofile.launch,\r
org.eclipse.debug.ui;bundle-version="3.4.2",\r
org.eclipse.linuxtools.profiling.launch,\r
- org.tizen.nativecpp,\r
org.tizen.common,\r
- org.tizen.common.connection\r
+ org.tizen.common.connection,\r
+ org.tizen.nativecommon\r
Bundle-Vendor: Eclipse Linux Tools\r
Bundle-Version: 1.3.18.qualifier\r
Bundle-Name: Tizen SDK Oprofile Exe Launch\r
org.eclipse.linuxtools.oprofile.ui.view,\r
org.eclipse.ui,\r
org.tizen.nativecommon.launch,\r
- org.tizen.nativecommon.launch.ui,\r
- org.tizen.nativecpp.launch\r
+ org.tizen.nativecommon.launch.ui \r
Bundle-SymbolicName: org.eclipse.linuxtools.oprofile.launch.exe;singleton:=true\r
Bundle-RequiredExecutionEnvironment: JavaSE-1.6\r
Bundle-Activator: org.tizen.oprofile.launch.Activator\r
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.tizen.common.TizenPlatformConstants;
+import org.tizen.nativecommon.launch.IProjectLaunchCommand;
+import org.tizen.nativecommon.launch.TizenLaunchDelegate;
import org.tizen.nativecommon.launch.TizenLaunchMessages;
-import org.tizen.nativecpp.launch.TizenCppLaunchDelegate;
import org.tizen.oprofile.core.CommandManager;
import org.tizen.sdblib.SdbShellProcess;
+import org.tizen.nativecommon.ProjectUtil;
-public class TizenOprofileLaunchDelegate extends TizenCppLaunchDelegate {
+public class TizenOprofileLaunchDelegate extends TizenLaunchDelegate {
protected static final String MAKE_DIRECTORY_CMD = "mkdir -p ";
protected static final String CHANGE_DIRECTORY_CMD = "cd ";
activateProgressView();
verifyCProjectConfigurationSettings(config);
- verifyDeviceReachability(getProject(config),
+ verifyDeviceReachability(ProjectUtil.getProject(config),
new SubProgressMonitor(monitor, 9));
verifyBuildConfiguration(config, mode, new SubProgressMonitor(
monitor, 11));
ILaunchConfiguration config, IProgressMonitor monitor)
throws CoreException {
try {
- setEnvironments(config);
-
// check oprofile tool
checkProfilingTool(monitor);
- String remoteExePath = getRemoteExePath(config);
+ IProjectLaunchCommand manifest = ProjectUtil.getProjectManifest(ProjectUtil.getProject(config));
+ String remoteExePath = TizenPlatformConstants.APP_INSTALL_PATH + "/" + manifest.getPackageName() + "/bin/";
// String cmd = "cd " + remoteExePath + CMD_RESULT_CHECK;
// // String resultRsp = session.run(cmd, null);
// String[] resultRsp = CommandManager
org.eclipse.cdt.core;bundle-version="5.2.1",\r
org.eclipse.cdt.debug.core,\r
org.eclipse.cdt.launch,\r
- org.tizen.nativecpp,\r
org.tizen.common,\r
org.tizen.common.connection,\r
org.eclipse.linuxtools.valgrind.core;bundle-version="1.3.18",\r
org.eclipse.linuxtools.valgrind.ui;bundle-version="1.3.18",\r
org.eclipse.linuxtools.valgrind.launch;bundle-version="1.3.18",\r
- org.eclipse.linuxtools.profiling.launch;bundle-version="1.3.18"\r
+ org.eclipse.linuxtools.profiling.launch;bundle-version="1.3.18",\r
+ org.tizen.nativecommon\r
Bundle-Vendor: Eclipse Linux Tools\r
Bundle-Version: 1.3.18.qualifier\r
Bundle-Localization: plugin\r
Export-Package: org.eclipse.linuxtools.valgrind.launch\r
Import-Package: org.eclipse.cdt.managedbuilder.core,\r
org.tizen.nativecommon.launch,\r
- org.tizen.nativecommon.launch.ui,\r
- org.tizen.nativecpp.launch\r
+ org.tizen.nativecommon.launch.ui\r
\r
\r
import org.eclipse.linuxtools.valgrind.core.ValgrindCommand;
import org.eclipse.linuxtools.valgrind.core.utils.LaunchConfigurationConstants;
import org.eclipse.linuxtools.valgrind.ui.ValgrindUIPlugin;
-import org.eclipse.linuxtools.valgrind.launch.IValgrindLaunchDelegate;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.tizen.common.TizenPlatformConstants;
+import org.tizen.nativecommon.ProjectUtil;
+import org.tizen.nativecommon.launch.IProjectLaunchCommand;
+import org.tizen.nativecommon.launch.TizenLaunchDelegate;
import org.tizen.nativecommon.launch.TizenLaunchMessages;
-import org.tizen.nativecpp.launch.TizenCppLaunchDelegate;
import org.tizen.sdblib.SdbShellProcess;
-public class TizenValgrindLaunchDelegate extends TizenCppLaunchDelegate {
+public class TizenValgrindLaunchDelegate extends TizenLaunchDelegate {
protected static final String MAKE_DIRECTORY_CMD = "mkdir -p ";
protected static final String CHANGE_DIRECTORY_CMD = "cd ";
activateProgressView();
verifyCProjectConfigurationSettings(config);
- verifyDeviceReachability(getProject(config),
+ verifyDeviceReachability(ProjectUtil.getProject(config),
new SubProgressMonitor(monitor, 9));
verifyBuildConfiguration(config, mode, new SubProgressMonitor(
monitor, 11));
// Process remoteShellProcess = null;
try {
- setEnvironments(config);
-
// find Valgrind
String valgrindCmd = "/home/developer/sdk_tools/valgrind/usr/bin/valgrind";
String cmd = "ls " + valgrindCmd + TizenPlatformConstants.CMD_SUFFIX;
// installProfilingToolPackage(monitor);
// }
}
-
- String remoteExePath = getRemoteExePath(config);
+ IProjectLaunchCommand manifest = ProjectUtil.getProjectManifest(ProjectUtil.getProject(config));
+ String remoteExePath = TizenPlatformConstants.APP_INSTALL_PATH + "/" + manifest.getPackageName() + "/bin/";
// cmd = "cd " + remoteExePath + CMD_RESULT_CHECK;
// // resultRsp = session.run(cmd, null);
// resultRsp = CommandManager.runCommandReturningResult(cmd);
// new Exception("Cannot change to run-directory : "
// + ". (Return Code: " + resultRsp
// + ", exepath: " + remoteExePath + ")"));
-
IPath exeFile = CDebugUtils.verifyProgramPath(config);
remoteExePath += exeFile.toFile().getName();
// for bada application
org.eclipse.linuxtools.valgrind.core,
org.eclipse.linuxtools.valgrind.launch,
org.eclipse.linuxtools.valgrind.ui,
- org.tizen.nativecpp,
org.eclipse.linuxtools.valgrind.launch.exe
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
org.eclipse.linuxtools.valgrind.massif.birt;uses:="org.eclipse.swt.events,org.eclipse.swt.widgets,org.eclipse.birt.chart.model"
Import-Package: org.eclipse.cdt.core,
org.eclipse.cdt.managedbuilder.core,
- org.tizen.nativecommon.launch,
- org.tizen.nativecpp.launch
+ org.tizen.nativecommon.launch
import org.eclipse.linuxtools.valgrind.ui.IValgrindToolView;
import org.eclipse.linuxtools.valgrind.ui.ValgrindUIPlugin;
import org.eclipse.linuxtools.valgrind.ui.ValgrindViewPart;
-import org.tizen.nativecpp.launch.TizenCppLaunchDelegate;
+import org.tizen.nativecommon.launch.TizenLaunchDelegate;
-public class MassifLaunchDelegate extends TizenCppLaunchDelegate implements
+public class MassifLaunchDelegate extends TizenLaunchDelegate implements
IValgrindLaunchDelegate {
// valgrind
import org.eclipse.linuxtools.valgrind.ui.IValgrindToolView;
import org.eclipse.linuxtools.valgrind.ui.ValgrindUIPlugin;
import org.eclipse.linuxtools.valgrind.ui.ValgrindViewPart;
-import org.tizen.nativecpp.launch.TizenCppLaunchDelegate;
+import org.tizen.nativecommon.launch.TizenLaunchDelegate;
import org.xml.sax.SAXException;
-public class MemcheckLaunchDelegate extends TizenCppLaunchDelegate implements IValgrindLaunchDelegate {
+public class MemcheckLaunchDelegate extends TizenLaunchDelegate implements IValgrindLaunchDelegate {
// Valgrind program arguments
public static final String OPT_LEAKCHECK = "--leak-check"; //$NON-NLS-1$
public static final String OPT_SHOWREACH = "--show-reachable"; //$NON-NLS-1$