有没有办法在启动eclipse之前从控制台刷新eclipse工作区?

时间:2012-03-01 16:27:58

标签: eclipse

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

我知道有蚂蚁任务要做。但很想知道是否有命令行技巧。

1 个答案:

答案 0 :(得分:3)

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

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