1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00

Attempt to get PDA working in binary plugin.

This commit is contained in:
Pawel Piech 2009-03-13 05:40:13 +00:00
parent b70b28a491
commit 4250d67c92

View file

@ -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");