Ahti Kitsik
Building develper tools. Python, Java, JavaScript.

writings about @ahtik

Refreshing eclipse workspace with ant script

By Ahti Kitsik, 10 Sep 2008

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!