【发布时间】:2010-06-12 08:00:36
【问题描述】:
我们知道,我们可以在命令行中运行eclipse如下:
eclipse.exe -clean
我需要以同样的方式运行我的 eclipse rcp 程序
myrcp.exe 路径
那么如何在myrcp代码中获取参数“path”呢?
谢谢~
【问题讨论】:
我们知道,我们可以在命令行中运行eclipse如下:
eclipse.exe -clean
我需要以同样的方式运行我的 eclipse rcp 程序
myrcp.exe 路径
那么如何在myrcp代码中获取参数“path”呢?
谢谢~
【问题讨论】:
org.eclipse.core.runtime.Platform
Platform.getCommandLineArgs();
查看article
【讨论】: