improve build.xml
fix bug inside InitMenuBar.java