Fixed #3499: modify build.xml for NPM
Fixed #3499: remove invalid ActionManager in build.xml
Merge pull request #266 from dingpinglv/Iss3499_ForNPM

Fixed #3499: modify build.xml for NPM