Phi*_*ayo 8 eclipse command-line batch-file
如何通过命令行刷新eclipse项目?
(相当于在包视图中右键单击>刷新)
我需要在maven nightly build之后从批处理中刷新eclipse.
我知道有 ant 任务可以做到这一点:
<eclipse.convertPath fileSystemPath="/workspace/org.example.project"
property="resourcePath"/>
<eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
Run Code Online (Sandbox Code Playgroud)
至于从命令行运行它,最坏的情况是,您可以将其粘贴在 ant 脚本中,调用 eclipse antrunner 应用程序:
eclipse -nosplash -application org.eclipse.ant.core.antRunner -f刷新.xml
归档时间: |
|
查看次数: |
3234 次 |
最近记录: |