How to refresh eclipse projects via command line?
(an equivalent of right-click > refresh in package view)
I need to refresh eclipse from a batch after a maven nightly build.
How to refresh eclipse projects via command line?
(an equivalent of right-click > refresh in package view)
I need to refresh eclipse from a batch after a maven nightly build.
I know there are ant tasks to do this:
<eclipse.convertPath fileSystemPath="/workspace/org.example.project"
property="resourcePath"/>
<eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
As for running this from the command line, as a worst case, you can stick this in an ant script invoke the eclipse antrunner application:
eclipse -nosplash -application org.eclipse.ant.core.antRunner -f refresh.xml