use ant and tolua++ create Luacocos2d.cpp,but in samples compile failed?

hello,I am a newer to cocos2dx.I download the cocos2d-2.0.4,and try to use tool for creating the Luacocos2d.cpp.
I install ant1.8 and Jdk1.6,in folder cocos2d-2.0-x-2.0.4\tools\tolua++,use command ant.
It gens Luacocos2d.cpp in the cocos2dx-support.
But in the sample(HelloLua, it uses the Luacocos2d.cpp),getting errors:

1>f:2d-2.0-x-2.0.4\cocos2d-2.0-x-2.0.4\scripting\lua\cocos2dx_support\luacocos2d.cpp(4384) : error C2660: ‘toluafix_pushusertype_ccobject’ : function does not take 3 arguments

….

Is the Gen File not match?

I find the answer in the forum.
http://www.cocos2d-x.org/boards/11/topics/19839

Andre Arpin has fix this, Use another build.xml。
Maybe this can help others~

mark ——