Good place to start
The build.xml is fixed. I used your patch as a pointer for the parts of project.xml that needed fixing and then ran maven ant.
For the IDE bit, the only IDE I've used recently is Eclipse, but there you can right click on src/tests/ and select Run as JUnit Test and it will run all the tests in that directory. Presumably IDEA and Netbeans are the same?