fix build.xml and something. and add need api

it can build using ApacheAnt.
But it has a little bug.
Not fix yet.
and add bc and ue.