Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 126584
Collapse All | Expand All

(-)src/org/eclipse/tptp/platform/llc/launch/internal/sets/LaunchExtension.java (-2 / +5 lines)
Lines 1-5 Link Here
1
/**********************************************************************
1
/**********************************************************************
2
 * Copyright (c) 2006 IBM Corporation and others.
2
 * Copyright (c) 2006, 2008 IBM Corporation and others.
3
 * All rights reserved.   This program and the accompanying materials
3
 * All rights reserved.   This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 14-19 Link Here
14
import java.io.File;
14
import java.io.File;
15
import java.io.FileOutputStream;
15
import java.io.FileOutputStream;
16
import java.io.InputStream;
16
import java.io.InputStream;
17
import java.io.PrintWriter;
17
import java.net.URL;
18
import java.net.URL;
18
import java.net.URLClassLoader;
19
import java.net.URLClassLoader;
19
import java.util.Iterator;
20
import java.util.Iterator;
Lines 30-35 Link Here
30
import org.eclipse.hyades.models.hierarchy.TRCProcessProxy;
31
import org.eclipse.hyades.models.hierarchy.TRCProcessProxy;
31
import org.eclipse.hyades.trace.ui.UIPlugin;
32
import org.eclipse.hyades.trace.ui.UIPlugin;
32
import org.eclipse.hyades.trace.ui.launcher.ILauncherHandler;
33
import org.eclipse.hyades.trace.ui.launcher.ILauncherHandler;
34
import org.eclipse.jdt.core.compiler.batch.BatchCompiler;
33
import org.eclipse.jdt.internal.compiler.batch.Main;
35
import org.eclipse.jdt.internal.compiler.batch.Main;
34
import org.eclipse.swt.widgets.Display;
36
import org.eclipse.swt.widgets.Display;
35
import org.eclipse.tptp.platform.llc.core.CoverageCore;
37
import org.eclipse.tptp.platform.llc.core.CoverageCore;
Lines 263-269 Link Here
263
        	str.close();
265
        	str.close();
264
        	
266
        	
265
        	//compile the class
267
        	//compile the class
266
        	Main.compile(getValidFilePath(javaFileLocation.toString())); 
268
        	BatchCompiler.compile(getValidFilePath(javaFileLocation.toString()), new PrintWriter(System.out), new PrintWriter(System.err), null);
269
        	
267
 		    URL url = new File(p.toOSString()).toURL();
270
 		    URL url = new File(p.toOSString()).toURL();
268
		    
271
		    
269
		    URLClassLoader clsLoader = new URLClassLoader(new URL[] {url});
272
		    URLClassLoader clsLoader = new URLClassLoader(new URL[] {url});

Return to bug 126584