KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > mountainminds > eclemma > core > launching > JavaApplicationLauncher


1 /*******************************************************************************
2  * Copyright (c) 2006 Mountainminds GmbH & Co. KG
3  * This software is provided under the terms of the Eclipse Public License v1.0
4  * See http://www.eclipse.org/legal/epl-v10.html.
5  *
6  * $Id: JavaApplicationLauncher.java 378 2007-08-13 15:33:00Z mtnminds $
7  ******************************************************************************/

8 package com.mountainminds.eclemma.core.launching;
9
10 import org.eclipse.core.runtime.CoreException;
11 import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
12 import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
13
14 import com.mountainminds.eclemma.internal.core.launching.InstrumentedClasspathProvider;
15
16 /**
17  * Launcher for local Java applications.
18  *
19  * @author Marc R. Hoffmann
20  * @version $Revision: 378 $
21  */

22 public class JavaApplicationLauncher extends CoverageLauncher {
23
24   protected void modifyConfiguration(ILaunchConfigurationWorkingCopy workingcopy,
25       ICoverageLaunchInfo info) throws CoreException {
26     workingcopy.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH_PROVIDER,
27         InstrumentedClasspathProvider.ID);
28   }
29
30 }
31
Popular Tags