complex changes

change ant to maven, add scriptPath to PHPcontext