1 11 12 package org.eclipse.ant.internal.ui.launchConfigurations; 13 14 import java.util.HashMap ; 15 import java.util.Map ; 16 17 import org.eclipse.debug.core.ILaunch; 18 import org.eclipse.debug.core.IProcessFactory; 19 import org.eclipse.debug.core.model.IProcess; 20 21 public class RemoteAntProcessFactory implements IProcessFactory { 22 23 26 public IProcess newProcess(ILaunch launch, Process process, String label, Map attributes) { 27 if (attributes == null) { 28 attributes= new HashMap (1); 29 } 30 attributes.put(IProcess.ATTR_PROCESS_TYPE, IAntLaunchConfigurationConstants.ID_ANT_PROCESS_TYPE); 31 return new RemoteAntRuntimeProcess(launch, process, label, attributes); 32 } 33 } 34 | Popular Tags |