log("XQuery is:\n"+query, org.apache.tools.ant.Project.MSG_DEBUG);
	public void execute() throws BuildException {		if (uri == null)			throw new BuildException("you have to specify an XMLDB collection URI");		if (text != null) {			PropertyHelper helper = PropertyHelper.getPropertyHelper(getProject());			query = helper.replaceProperties(null, text, null);		}		if (query == null)			throw new BuildException("you have to specify a query");				registerDatabase();		try {			Collection collection = DatabaseManager.getCollection(uri, user, password);			XPathQueryService service = (XPathQueryService) 				collection.getService("XPathQueryService", "1.0");			ResourceSet results = service.query(query);			log("Found " + results.getSize());		} catch (XMLDBException e) {			throw new BuildException("XMLDB exception caught while executing query: " + e.getMessage(),				e);		}	}