Script for starting server was written in a way that it couldnt run my ant. My ant path in PATH system variable was wrapped with "". I have removed " from PATH and everything runs ok now. I couldnt see it before bacouse ant was running with no problems from my console. I use Windows 7.