Merge pull request #52 from lihex/develop

bug fix, also check the path if user specified by -s option
use ANT_ROOT instead.