use of org.eclipse.wst.xsl.jaxp.launching.IDebugger in project webtools.sourceediting by eclipse.
the class AddProcessorDialog method setFieldValuesToProcessor.
protected void setFieldValuesToProcessor(InstallStandin processor) {
processor.setName(processorNameField.getText());
processor.setProcessorTypeId(selectedProcessorType.getId());
IDebugger[] debuggers = JAXPRuntime.getDebuggers();
for (IDebugger element : debuggers) {
if (element.getProcessorType().equals(selectedProcessorType))
processor.setDebuggerId(element.getId());
}
fLibraryBlock.performApply(processor);
}
use of org.eclipse.wst.xsl.jaxp.launching.IDebugger in project webtools.sourceediting by eclipse.
the class JAXPJavaLaunchConfigurationDelegate method getProgramArguments.
@Override
public String getProgramArguments(ILaunchConfiguration configuration) throws CoreException {
// classname, sourceurl, output file
IProcessorInvoker invoker = getProcessorInvokerDescriptor(configuration);
String clazz = invoker.getInvokerClassName();
StringBuffer sb = new StringBuffer();
sb.append(clazz);
// $NON-NLS-1$
sb.append(" ");
// $NON-NLS-1$ //$NON-NLS-2$
sb.append("\"" + getLaunchConfigFile().getAbsolutePath() + "\"");
// $NON-NLS-1$
sb.append(" ");
// $NON-NLS-1$ //$NON-NLS-2$
sb.append("\"" + launchHelper.getSource() + "\"");
// $NON-NLS-1$
sb.append(" ");
// $NON-NLS-1$ //$NON-NLS-2$
sb.append("\"" + launchHelper.getTarget().getAbsolutePath() + "\"");
if (ILaunchManager.DEBUG_MODE.equals(mode)) {
IProcessorInstall install = getProcessorInstall(configuration, mode);
if (install.getDebugger() != null) {
IDebugger debugger = install.getDebugger();
String className = debugger.getClassName();
// $NON-NLS-1$ //$NON-NLS-2$
sb.append(" -debug ").append(className).append(" ");
sb.append(launchHelper.getRequestPort());
// $NON-NLS-1$
sb.append(" ").append(launchHelper.getEventPort());
// $NON-NLS-1$
sb.append(" ").append(launchHelper.getGeneratePort());
}
}
return sb.toString();
}
Aggregations