Ant openfire in NetBeans 7

Hi

tell me how to properly collect OpenFire in Netbeans 7. When the assembly is constantly an error

C:\Users\макс\Documents\NetBeansProjects\openfire_src\build\build.xml:241: Must use JDK 1.5.x or higher to build Openfire

how to fight it. Although it is worth JDK 1.7.

Can’t check it from here, but i think you have to modify build.xml (not sure in which dir, / or maybe in the build dir) find check for the JDK version and add 1.7.

thanks worked

Mark your questions as answered, if it is