diff --git a/build.xml b/build.xml
index 6a56a4c07f661811e4f1e80c63d60dbbfd3d2708..ba90ffaf7110a573d3881510b0997474307e685f 100644
--- a/build.xml
+++ b/build.xml
@@ -191,7 +191,7 @@
             version="true"/>
     </target>
 
-    <target name="eclipse" depends="init">
+    <target name="eclipse" depends="init,packetstreamer-thrift">
         <pathconvert property="lib">
             <map from="${basedir}/" to=""/>
             <fileset dir="lib">