Create build script

I create a build script in ant. Maybe you can use it.
I change the main plugin xml, I think it is not up to date.