Build.xml extended for more reliable behavior

Files from directory data are copied now, even when there is an
executable file launched directly from the IDE.