本文整理汇总了Java中org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants类的典型用法代码示例。如果您正苦于以下问题:Java IJavaLaunchConfigurationConstants类的具体用法?Java IJavaLaunchConfigurationConstants怎么用?Java IJavaLaunchConfigurationConstants使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IJavaLaunchConfigurationConstants类属于org.eclipse.jdt.launching包,在下文中一共展示了IJavaLaunchConfigurationConstants类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: addJvmOptions
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
private void addJvmOptions ( final ILaunchConfigurationWorkingCopy cfg, final Profile profile, final IContainer container ) throws CoreException
{
final List<String> args = new LinkedList<> ();
args.addAll ( profile.getJvmArguments () );
for ( final SystemProperty p : profile.getProperty () )
{
addSystemProperty ( profile, args, p.getKey (), p.getValue (), p.isEval () );
}
for ( final Map.Entry<String, String> entry : getInitialProperties ().entrySet () )
{
addSystemProperty ( profile, args, entry.getKey (), entry.getValue (), false );
}
final IFile dataJson = container.getFile ( new Path ( "data.json" ) ); //$NON-NLS-1$
if ( dataJson.exists () )
{
addJvmArg ( args, "org.eclipse.scada.ca.file.provisionJsonUrl", escapeArgValue ( dataJson.getLocation ().toFile ().toURI ().toString () ) ); //$NON-NLS-1$
}
cfg.setAttribute ( IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS, StringHelper.join ( args, "\n" ) );
cfg.setAttribute ( IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, StringHelper.join ( profile.getArguments (), "\n" ) );
}
开发者ID:eclipse,项目名称:neoscada,代码行数:26,代码来源:LaunchShortcut.java
示例2: testProjectWithSourceFolders
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
@Test
public void testProjectWithSourceFolders() throws Exception {
IPackageFragmentRoot rootSrc1 = javaProject1.createSourceFolder("src");
IPackageFragmentRoot rootSrc2 = javaProject1.createSourceFolder("test");
JavaProjectKit.waitForBuild();
ILaunchConfigurationWorkingCopy configuration = getJavaApplicationType()
.newInstance(javaProject1.project, "test.launch");
configuration.setAttribute(
IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, "project1");
final Collection<IPackageFragmentRoot> scope = launcher
.getOverallScope(configuration);
assertEquals(set(rootSrc1, rootSrc2), set(scope));
}
开发者ID:eclipse,项目名称:eclemma,代码行数:17,代码来源:JavaApplicationLauncherTest.java
示例3: testProjectWithLibrary
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
@Test
public void testProjectWithLibrary() throws Exception {
IPackageFragmentRoot rootBin1 = javaProject1.createJAR(
"testdata/bin/signatureresolver.jar", "/sample.jar", new Path(
"/UnitTestProject/sample.jar"), null);
JavaProjectKit.waitForBuild();
ILaunchConfigurationWorkingCopy configuration = getJavaApplicationType()
.newInstance(javaProject1.project, "test.launch");
configuration.setAttribute(
IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, "project1");
final Collection<IPackageFragmentRoot> scope = launcher
.getOverallScope(configuration);
assertEquals(set(rootBin1), set(scope));
}
开发者ID:eclipse,项目名称:eclemma,代码行数:18,代码来源:JavaApplicationLauncherTest.java
示例4: testProjectWithProjectReference
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
@Test
public void testProjectWithProjectReference() throws Exception {
IPackageFragmentRoot rootSrc1 = javaProject1.createSourceFolder("src");
IPackageFragmentRoot rootSrc2 = javaProject2.createSourceFolder("src");
javaProject1.addProjectReference(javaProject2);
JavaProjectKit.waitForBuild();
ILaunchConfigurationWorkingCopy configuration = getJavaApplicationType()
.newInstance(javaProject1.project, "test.launch");
configuration.setAttribute(
IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, "project1");
final Collection<IPackageFragmentRoot> scope = launcher
.getOverallScope(configuration);
assertEquals(set(rootSrc1, rootSrc2), set(scope));
}
开发者ID:eclipse,项目名称:eclemma,代码行数:18,代码来源:JavaApplicationLauncherTest.java
示例5: mockILaunchConfiguration
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
private ILaunchConfiguration mockILaunchConfiguration() throws CoreException {
ILaunchConfiguration configuration = mock(ILaunchConfiguration.class);
String configurationName = "testConfiguration";
when(configuration.getName()).thenReturn(configurationName);
PipelineRunner runner = PipelineRunner.BLOCKING_DATAFLOW_PIPELINE_RUNNER;
when(configuration.getAttribute(eq(PipelineConfigurationAttr.RUNNER_ARGUMENT.toString()),
anyString())).thenReturn(runner.getRunnerName());
String projectName = "Test-project,Name";
when(configuration.getAttribute(eq(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME),
anyString())).thenReturn(projectName);
when(workspaceRoot.getProject(projectName)).thenReturn(project);
when(project.exists()).thenReturn(true);
return configuration;
}
开发者ID:GoogleCloudPlatform,项目名称:google-cloud-eclipse,代码行数:18,代码来源:DataflowPipelineLaunchDelegateTest.java
示例6: testInitializeForm_noExceptionForNonAccessibleProject
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
@Test
public void testInitializeForm_noExceptionForNonAccessibleProject()
throws CoreException, InvocationTargetException, InterruptedException {
IWorkspaceRoot workspaceRoot = mock(IWorkspaceRoot.class);
when(workspaceRoot.getProject(anyString())).thenReturn(mock(IProject.class));
ILaunchConfigurationDialog dialog = mock(ILaunchConfigurationDialog.class);
doAnswer(new SynchronousIRunnableContextExecutor())
.when(dialog).run(anyBoolean(), anyBoolean(), any(IRunnableWithProgress.class));
ILaunchConfiguration configuration = mock(ILaunchConfiguration.class);
when(configuration.getAttribute(
eq(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME), anyString()))
.thenReturn("my-project");
when(configuration.getAttribute(
eq(PipelineConfigurationAttr.RUNNER_ARGUMENT.toString()), anyString()))
.thenReturn("DirectPipelineRunner");
PipelineArgumentsTab tab = new PipelineArgumentsTab(workspaceRoot);
tab.setLaunchConfigurationDialog(dialog);
tab.createControl(shellResource.getShell());
tab.initializeFrom(configuration); // Should not throw NPE.
ProjectUtils.waitForProjects(); // Suppress some non-terminated-job error logs
}
开发者ID:GoogleCloudPlatform,项目名称:google-cloud-eclipse,代码行数:26,代码来源:PipelineArgumentsTabTest.java
示例7: createMavenPackagingLaunchConfiguration
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
@VisibleForTesting
static ILaunchConfiguration createMavenPackagingLaunchConfiguration(IProject project)
throws CoreException {
ILaunchManager launchManager = DebugPlugin.getDefault().getLaunchManager();
ILaunchConfigurationType launchConfigurationType = launchManager
.getLaunchConfigurationType(MavenLaunchConstants.LAUNCH_CONFIGURATION_TYPE_ID);
String launchConfigName = "CT4E App Engine flexible Maven deploy artifact packaging "
+ project.getLocation().toString().replaceAll("[^a-zA-Z0-9]", "_");
ILaunchConfigurationWorkingCopy workingCopy = launchConfigurationType.newInstance(
null /*container*/, launchConfigName);
workingCopy.setAttribute(ILaunchManager.ATTR_PRIVATE, true);
// IDebugUIConstants.ATTR_LAUNCH_IN_BACKGROUND;
workingCopy.setAttribute("org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND", true);
workingCopy.setAttribute(MavenLaunchConstants.ATTR_POM_DIR, project.getLocation().toString());
workingCopy.setAttribute(MavenLaunchConstants.ATTR_GOALS, "package");
workingCopy.setAttribute(RefreshUtil.ATTR_REFRESH_SCOPE, "${project}");
workingCopy.setAttribute(RefreshUtil.ATTR_REFRESH_RECURSIVE, true);
IPath jreContainerPath = getJreContainerPath(project);
workingCopy.setAttribute(
IJavaLaunchConfigurationConstants.ATTR_JRE_CONTAINER_PATH, jreContainerPath.toString());
return workingCopy;
}
开发者ID:GoogleCloudPlatform,项目名称:google-cloud-eclipse,代码行数:27,代码来源:FlexMavenPackagedProjectStagingDelegate.java
示例8: testCreateMavenPackagingLaunchConfiguration
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
@Test
public void testCreateMavenPackagingLaunchConfiguration() throws CoreException {
IProject project = projectCreator.getProject();
ILaunchConfiguration launchConfig =
FlexMavenPackagedProjectStagingDelegate.createMavenPackagingLaunchConfiguration(project);
boolean privateConfig = launchConfig.getAttribute(ILaunchManager.ATTR_PRIVATE, false);
assertTrue(privateConfig);
boolean launchInBackground = launchConfig.getAttribute(
"org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND", false);
assertTrue(launchInBackground);
String jreContainerPath = launchConfig.getAttribute(
IJavaLaunchConfigurationConstants.ATTR_JRE_CONTAINER_PATH, "");
assertEquals("org.eclipse.jdt.launching.JRE_CONTAINER/"
+ "org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7", jreContainerPath);
String pomDirectory = launchConfig.getAttribute(MavenLaunchConstants.ATTR_POM_DIR, "");
assertEquals(project.getLocation().toString(), pomDirectory);
String mavenGoals = launchConfig.getAttribute(MavenLaunchConstants.ATTR_GOALS, "");
assertEquals("package", mavenGoals);
}
开发者ID:GoogleCloudPlatform,项目名称:google-cloud-eclipse,代码行数:26,代码来源:FlexMavenPackagedProjectStagingDelegateTest.java
示例9: computeUnresolvedClasspath
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
@Override
public IRuntimeClasspathEntry[] computeUnresolvedClasspath(final ILaunchConfiguration configuration)
throws CoreException {
boolean useDefault = configuration.getAttribute(IJavaLaunchConfigurationConstants.ATTR_DEFAULT_CLASSPATH, true);
if(useDefault) {
IJavaProject javaProject = JavaRuntime.getJavaProject(configuration);
IRuntimeClasspathEntry jreEntry = JavaRuntime.computeJREEntry(configuration);
IRuntimeClasspathEntry projectEntry = JavaRuntime.newProjectRuntimeClasspathEntry(javaProject);
IRuntimeClasspathEntry mavenEntry = JavaRuntime.newRuntimeContainerClasspathEntry(new Path(
IClasspathManager.CONTAINER_ID), IRuntimeClasspathEntry.USER_CLASSES);
if(jreEntry == null) {
return new IRuntimeClasspathEntry[] {projectEntry, mavenEntry};
}
return new IRuntimeClasspathEntry[] {jreEntry, projectEntry, mavenEntry};
}
return recoverRuntimePath(configuration, IJavaLaunchConfigurationConstants.ATTR_CLASSPATH);
}
开发者ID:fbricon,项目名称:wildfly-hive,代码行数:21,代码来源:MavenRuntimeClasspathProvider.java
示例10: getRemoteDebugConfig
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
private ILaunchConfigurationWorkingCopy getRemoteDebugConfig(IProject activeProj) throws CoreException {
ILaunchManager manager = DebugPlugin.getDefault().getLaunchManager();
ILaunchConfigurationType type = manager.getLaunchConfigurationType(IJavaLaunchConfigurationConstants.ID_REMOTE_JAVA_APPLICATION);
ILaunchConfigurationWorkingCopy config = type.newInstance(null, "Debug "+activeProj.getName());
config.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, activeProj.getName());
config.setAttribute(IJavaLaunchConfigurationConstants.ATTR_ALLOW_TERMINATE, true);
config.setAttribute(IJavaLaunchConfigurationConstants.ATTR_VM_CONNECTOR, IJavaLaunchConfigurationConstants.ID_SOCKET_ATTACH_VM_CONNECTOR);
IVMConnector connector = JavaRuntime.getVMConnector(IJavaLaunchConfigurationConstants.ID_SOCKET_ATTACH_VM_CONNECTOR);
Map<String, Argument> def = connector.getDefaultArguments();
Map<String, String> argMap = new HashMap<String, String>(def.size());
argMap.put("hostname", getHostname(activeProj));
argMap.put("port", "8348");
WPILibJavaPlugin.logInfo(argMap.toString());
config.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CONNECT_MAP, argMap);
return config;
}
开发者ID:wpilibsuite,项目名称:EclipsePlugins,代码行数:17,代码来源:JavaLaunchShortcut.java
示例11: createConfiguration
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
protected ILaunchConfiguration createConfiguration(IType type)
throws CoreException {
ILaunchManager manager = DebugPlugin.getDefault().getLaunchManager();
ILaunchConfigurationType configType = manager
.getLaunchConfigurationType(IJavaLaunchConfigurationConstants.ID_JAVA_APPLICATION);
ILaunchConfigurationWorkingCopy workingCopy = configType.newInstance(
null, manager.generateLaunchConfigurationName(type
.getTypeQualifiedName('.')));
workingCopy.setAttribute(
IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME,
type.getFullyQualifiedName());
workingCopy.setAttribute(
IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, type
.getJavaProject().getElementName());
workingCopy.setMappedResources(new IResource[] { type
.getUnderlyingResource() });
return workingCopy.doSave();
}
开发者ID:eclipse,项目名称:cft,代码行数:22,代码来源:JavaPackageFragmentRootHandler.java
示例12: computeSourceContainers
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
public ISourceContainer[] computeSourceContainers(ILaunchConfiguration configuration, IProgressMonitor monitor)
throws CoreException {
List<IRuntimeClasspathEntry> entries = new ArrayList<IRuntimeClasspathEntry>();
IRuntimeClasspathEntry jreEntry = JavaRuntime.computeJREEntry(configuration);
if (jreEntry != null) {
entries.add(jreEntry);
}
String projectName = configuration.getAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, ""); //$NON-NLS-1$
if (projectName == null) {
return null;
}
for (IProject project : ResourcesPlugin.getWorkspace().getRoot().getProjects()) {
IJavaProject javaProject = JavaCore.create(project);
if (javaProject != null && javaProject.isOpen() && ("".equals(projectName) || projectName.equals(javaProject.getElementName()))) { //$NON-NLS-1$
entries.add(JavaRuntime.newDefaultProjectClasspathEntry(javaProject));
}
}
IRuntimeClasspathEntry[] resolved = JavaRuntime.resolveSourceLookupPath( //
entries.toArray(new IRuntimeClasspathEntry[entries.size()]), configuration);
return JavaRuntime.getSourceContainers(resolved);
}
开发者ID:eclipse,项目名称:cft,代码行数:27,代码来源:CloudFoundryDebugSourceLocator.java
示例13: getMainClass
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
/**
* get mainclass set in launch configuration
*
* @return "" if not set, never null
*/
public String getMainClass() {
String result = null;
if (launchConfig != null) {
try {
result = launchConfig.getAttribute(
IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME,
(String) null);
} catch (CoreException ignore) {
}
}
if (result == null) {
result = "";
}
return result;
}
开发者ID:thahn0720,项目名称:agui_eclipse_plugin,代码行数:21,代码来源:JProjectConfiguration.java
示例14: getArguments
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
/**
* get program arguments set in launch configuration
*
* @return "" if not set, never null
*/
public String getArguments() {
String result = null;
if (launchConfig != null) {
try {
result = launchConfig
.getAttribute(
IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS,
(String) null);
} catch (CoreException ignore) {
}
}
if (result == null) {
result = "";
}
return result;
}
开发者ID:thahn0720,项目名称:agui_eclipse_plugin,代码行数:22,代码来源:JProjectConfiguration.java
示例15: getVMArguments
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
/**
* get vm arguments set in launch configuration
*
* @return "" if not set, never null
*/
public String getVMArguments() {
String result = null;
if (launchConfig != null) {
try {
result = launchConfig.getAttribute(
IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS,
(String) null);
} catch (CoreException ignore) {
}
}
if (result == null) {
result = "";
}
return result;
}
开发者ID:thahn0720,项目名称:agui_eclipse_plugin,代码行数:21,代码来源:JProjectConfiguration.java
示例16: findConfiguration
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
protected ILaunchConfiguration findConfiguration(String configname) {
String projectName = getProjectName();
ILaunchConfiguration result = null;
try {
ILaunchConfiguration[] configs = DebugPlugin.getDefault()
.getLaunchManager().getLaunchConfigurations();
for (int i = 0; i < configs.length; i++) {
ILaunchConfiguration configuration = configs[i];
if (configuration.getName().equals(configname)) {
String confProjectName = configuration
.getAttribute(
IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME,
"");
if (projectName.equals(confProjectName)) {
result = configuration;
}
}
}
} catch (CoreException ignore) {
}
return result;
}
开发者ID:thahn0720,项目名称:agui_eclipse_plugin,代码行数:23,代码来源:JProjectConfiguration.java
示例17: findConfig
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
/**
* Looks for and returns an existing {@link ILaunchConfiguration} object for a
* specified project.
* @param manager The {@link ILaunchManager}.
* @param type The {@link ILaunchConfigurationType}.
* @param projectName The name of the project
* @return an existing <code>ILaunchConfiguration</code> object matching the project, or
* <code>null</code>.
*/
public static ILaunchConfiguration findConfig(ILaunchManager manager,
ILaunchConfigurationType type, String projectName) {
try {
ILaunchConfiguration[] configs = manager.getLaunchConfigurations(type);
for (ILaunchConfiguration config : configs) {
if (config.getAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, "")
.equals(projectName)) { //$NON-NLS-1$
return config;
}
}
} catch (CoreException e) {
MessageDialog.openError(Display.getCurrent().getActiveShell(),
"Launch Error", e.getStatus().getMessage());
}
// didn't find anything that matches. Return null
return null;
}
开发者ID:thahn0720,项目名称:agui_eclipse_plugin,代码行数:29,代码来源:AguiLaunchController.java
示例18: performApply
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
@Override
public void performApply(ILaunchConfigurationWorkingCopy configuration) {
Log.d(TAG, "performApply");
configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, mProjText.getText());
// configuration.setAttribute(
// IJavaLaunchConfigurationConstants.ATTR_ALLOW_TERMINATE, true);
//
// // add the launch mode
// configuration.setAttribute(LaunchConfigDelegate.ATTR_LAUNCH_ACTION, mLaunchAction);
//
// // add the activity
// int selection = mActivityCombo.getSelectionIndex();
// if (mActivities != null && selection >=0 && selection < mActivities.size()) {
// configuration.setAttribute(LaunchConfigDelegate.ATTR_ACTIVITY,
// mActivities.get(selection).getName());
// }
//
// // link the project and the launch config.
// mapResources(configuration);
}
开发者ID:thahn0720,项目名称:agui_eclipse_plugin,代码行数:21,代码来源:MainLaunchConfigTab.java
示例19: initializeFrom
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
/**
* @see org.eclipse.debug.ui.ILaunchConfigurationTab#initializeFrom(ILaunchConfiguration)
*/
@Override
public void initializeFrom(ILaunchConfiguration configuration) {
try {
StringBuilder argBuilder = new StringBuilder();//"E:\\Workspace\\runtime-EclipseApplication\\s7").append(" ").append("s7.s7");
String projectName = configuration.getAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, "");
for(IProject project : ResourcesPlugin.getWorkspace().getRoot().getProjects()) {
if(BaseProjectHelper.isAguiProject(project) && projectName.equals(project.getName())) {
AguiProjectInfo info = BaseProjectHelper.getAguiProjectInfo(project);
argBuilder.append(info.projectPath).append(" ").append(info.mainActivityName);
}
}
fPrgmArgumentsText.setText(configuration.getAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, argBuilder.toString())); //$NON-NLS-1$
fVMArgumentsBlock.initializeFrom(configuration);
fWorkingDirectoryBlock.initializeFrom(configuration);
} catch (CoreException e) {
setErrorMessage(LauncherMessages.JavaArgumentsTab_Exception_occurred_reading_configuration___15 + e.getStatus().getMessage());
JDIDebugUIPlugin.log(e);
}
}
开发者ID:thahn0720,项目名称:agui_eclipse_plugin,代码行数:23,代码来源:AguiArgumentsTab.java
示例20: updateViaProcessor
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; //导入依赖的package包/类
/**
* Uses the processor to update the given configuration.
*/
public static void updateViaProcessor(
ILaunchConfigurationProcessor processor,
ILaunchConfigurationWorkingCopy configuration) {
IJavaProject javaProject = LaunchConfigurationUtilities.getJavaProject(configuration);
if (javaProject != null && javaProject.exists()) {
try {
List<String> programArgs = parseProgramArgs(configuration);
List<String> vmArgs = parseVmArgs(configuration);
processor.update(configuration, javaProject, programArgs, vmArgs);
configuration.setAttribute(
IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS,
LaunchConfigurationProcessorUtilities.createArgsString(programArgs));
configuration.setAttribute(
IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS,
LaunchConfigurationProcessorUtilities.createArgsString(vmArgs));
} catch (Throwable e) {
CorePluginLog.logError(e, "Could not update the launch configuration");
}
}
}
开发者ID:gwt-plugins,项目名称:gwt-eclipse-plugin,代码行数:24,代码来源:LaunchConfigurationProcessorUtilities.java
注:本文中的org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论