Ahti Kitsik
Building tools with Python, Java, Go, JS. For enquiries email inbox@ahtik.com

writings biography

Refreshing eclipse workspace with ant script

10 Sep 2008 by @ahtik

Did you knew that if you have ant build.xml in eclipse Ant view then you can refresh your eclipse workspace simply using:

<eclipse.convertPath filesystempath="${basedir}" property="resource.basedir"/>
<eclipse.refreshLocal resource="${resource.basedir}" depth="one"/>


Very handy for build scripts to make sure eclipse resources are in sync after the build.

Thanks to Roland for the tip!

@ahtik is on twitter!