Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2009-03-13 01:40:13 -0400
committerPawel Piech2009-03-13 01:40:13 -0400
commit4250d67c924cbef8cd3410d7bb7fa5db4fb3974b (patch)
tree5db32fca2552cac55631c9e73a7ff1f1b039ecf2 /dsf/org.eclipse.cdt.examples.dsf.pda
parentb70b28a49181a7256074cbfbdda73f1b06314f92 (diff)
downloadorg.eclipse.cdt-4250d67c924cbef8cd3410d7bb7fa5db4fb3974b.tar.gz
org.eclipse.cdt-4250d67c924cbef8cd3410d7bb7fa5db4fb3974b.tar.xz
org.eclipse.cdt-4250d67c924cbef8cd3410d7bb7fa5db4fb3974b.zip
Attempt to get PDA working in binary plugin.
Diffstat (limited to 'dsf/org.eclipse.cdt.examples.dsf.pda')
-rw-r--r--dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDABackend.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDABackend.java b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDABackend.java
index d3a488ac57..87122a4d31 100644
--- a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDABackend.java
+++ b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDABackend.java
@@ -36,6 +36,7 @@ import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.debug.core.DebugPlugin;
@@ -238,7 +239,12 @@ public class PDABackend extends AbstractDsfService {
commandList.add(javaVMExec);
commandList.add("-cp");
- commandList.add(File.pathSeparator + PDAPlugin.getFileInPlugin(new Path("bin")));
+ try {
+ commandList.add(
+ File.pathSeparator + PDAPlugin.getFileInPlugin(new Path("bin")) +
+ File.pathSeparator + new File(Platform.asLocalURL(PDAPlugin.getDefault().getDescriptor().getInstallURL()).getFile()));
+ } catch (IOException e) {
+ }
commandList.add("org.eclipse.cdt.examples.pdavm.PDAVirtualMachine");

Back to the top