@Override public String getProgramArguments(ILaunchConfiguration configuration) throws CoreException { File workingDir = verifyWorkingDirectory(configuration); // Construct the HTML file and set its name as a program argument File htmlFile = buildHTMLFile(configuration, workingDir); if (htmlFile == null) { abort(LaunchingMessages.JavaAppletLaunchConfigurationDelegate_Could_not_build_HTML_file_for_applet_launch_1, null, IJavaLaunchConfigurationConstants.ERR_COULD_NOT_BUILD_HTML); } // Add a debug listener if necessary if (fgLaunchToFileMap.isEmpty()) { DebugPlugin.getDefault().addDebugEventListener(this); } // Add a mapping of the launch to the html file fgLaunchToFileMap.put(fLaunch, htmlFile); return htmlFile.getName(); }
@Override public String getProgramArguments(ILaunchConfiguration configuration) throws CoreException { File workingDir = verifyWorkingDirectory(configuration); // Construct the HTML file and set its name as a program argument File htmlFile = buildHTMLFile(configuration, workingDir); if (htmlFile == null) { abort(LaunchingMessages.JavaAppletLaunchConfigurationDelegate_Could_not_build_HTML_file_for_applet_launch_1, null, IJavaLaunchConfigurationConstants.ERR_COULD_NOT_BUILD_HTML); } // Add a debug listener if necessary if (fgLaunchToFileMap.isEmpty()) { DebugPlugin.getDefault().addDebugEventListener(this); } // Add a mapping of the launch to the html file fgLaunchToFileMap.put(fLaunch, htmlFile); return htmlFile.getName(); }