【问题标题】:Is there a way to refresh eclipse workspace from console before launching eclipse?有没有办法在启动 Eclipse 之前从控制台刷新 Eclipse 工作区?
【发布时间】:2012-03-01 16:27:58
【问题描述】:

可能被多次询问; 有没有办法从控制台(linux或windows)刷新eclipse工作区文件夹。

我知道有蚂蚁任务可以做到这一点。但很想知道是否有命令行技巧。

【问题讨论】:

    标签: eclipse


    【解决方案1】:

    不,您能做的最好的事情就是通过 eclipse 运行其中一项 ant 任务。

    eclipse/eclipse -noSplash \
    -application org.eclipse.ant.core.antRunner \
    -buildfile refreshWorkspace.xml \
    -data /path/to/workspace
    

    【讨论】:

    • 我找不到 refreshWorkspace.xml ??它在哪里。
    • 你必须自己写,使用你提到的你找到的蚂蚁任务。供参考:help.eclipse.org/indigo/…
    猜你喜欢
    • 1970-01-01
    • 2013-10-15
    • 1970-01-01
    • 2011-04-09
    • 2017-12-04
    • 1970-01-01
    • 2012-10-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多