protected void preExecute() throws BuildException { super.preExecute(); if (this.loginSpec != null) { if (this.loginSpec.getUrl(this.getProject()).length() == 0) { throw new BuildException( this.stringRepository.getString("notDefined", "LoginSpec Datasource URL")); } } }