2

Possibly asked multiple times; Is there a way to refresh eclipse workspace folder from console (linux or windows).

I know there are ant-tasks to do it. but curious to know if there's a command line trick.

Satish
  • 6,457
  • 8
  • 43
  • 63

1 Answers1

3

No, the best you could do is run one of the ant tasks through eclipse.

eclipse/eclipse -noSplash \
-application org.eclipse.ant.core.antRunner \
-buildfile refreshWorkspace.xml \
-data /path/to/workspace
Paul Webster
  • 10,614
  • 1
  • 25
  • 32
  • i am not able to find refreshWorkspace.xml ?? where is it. – kadalamittai Mar 26 '12 at 16:31
  • You have to write it yourself, using the ant tasks you mentioned you had found. For reference: http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fant_eclipse_tasks.htm – Paul Webster Apr 02 '12 at 15:49