Replace NetBeans-specific build with ant/ivy build