Merge pull request #1362 from dingpinglv/Iss3499_ForNPM

Fixed #3499: modify build.xml for NPM
Fixed #3499: delete invalid ActionManager in build.xml